1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
public class AcquisitionPerspectiveFactory implements IPerspectiveFactory {
private static final String BOOKMARKS =
"org.tcat.citd.sim.udig.bookmarks.internal.ui.BookmarksView";
........................
@Override
public void createInitialLayout(IPageLayout layout) {
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.2f, layout.getEditorArea());
topLeft.addView(TABLE);
layout.setEditorAreaVisible(true);
IFolderLayout bottomLeft = layout.createFolder("bottomLeft", IPageLayout.BOTTOM, 0.7f, "topLeft");
bottomLeft.addView(LAYERS);
bottomLeft.addView(BOOKMARKS);
IFolderLayout bottomCenter = layout.createFolder("bottomCenter",IPageLayout.BOTTOM, 0.7f, layout.getEditorArea());
bottomCenter.addView(MetaDataView.ID);
bottomCenter.addView(RapportsBrowser.ID);
IFolderLayout right = layout.createFolder("right",IPageLayout.RIGHT, 0.7f, layout.getEditorArea());
right.addView(ProductView.ID);
}
} |
Partager