package com.impart.kurs.rcp;

//import org.eclipse.ui.IPageLayout;
//import org.eclipse.ui.IPerspectiveFactory;
//
//public class Perspective implements IPerspectiveFactory {
//
//	public void createInitialLayout(IPageLayout layout) {
//		int i = 1;
////    	System.out.println(i);
//	}
//}

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {
	public void createInitialLayout(IPageLayout layout) {
        layout.setEditorAreaVisible(false);
        IFolderLayout topLeft=layout.createFolder("topLeft", IPageLayout.LEFT, (float) 0.20, IPageLayout.ID_EDITOR_AREA);
        topLeft.addView("com.impart.kurs.rcp.views.TreeView");
        IFolderLayout topRigth=layout.createFolder("topRight", IPageLayout.LEFT, (float) 0.20, IPageLayout.ID_EDITOR_AREA);
        topRigth.addView("com.impart.kurs.rcp.views.ListView");

	}
}
