Project

General

Profile

Download (666 Bytes) Statistics
| Branch: | Tag: | Revision:
1
package eu.etaxonomy.taxeditor.editor;
2

    
3
import org.eclipse.ui.IFolderLayout;
4
import org.eclipse.ui.IPageLayout;
5
import org.eclipse.ui.IPerspectiveFactory;
6

    
7
public class Perspective implements IPerspectiveFactory {
8

    
9
	public void createInitialLayout(IPageLayout layout) {
10
		String editorArea = layout.getEditorArea();
11
		
12
		IFolderLayout folderLayoutRight = layout.createFolder("rightfolder", IPageLayout.RIGHT, 0.5f, editorArea);		
13
		folderLayoutRight.addView(IPageLayout.ID_PROP_SHEET);
14
		
15
		layout.getViewLayout(IPageLayout.ID_PROP_SHEET).setCloseable(false);
16
		layout.getViewLayout(IPageLayout.ID_PROP_SHEET);
17
		layout.getViewLayout("").setCloseable(false);	
18
	}
19

    
20
}
(5-5/5)