public void createInitialLayout(IPageLayout layout) { String editorArea = layout.getEditorArea(); layout.setEditorAreaVisible(false); layout.setFixed(true); layout.addStandaloneView(View.ID, false, IPageLayout.LEFT, 1.0f, editorArea); }
@Override public void createInitialLayout(IPageLayout factory) { this.factory = factory; factory.setEditorAreaVisible(false); addViews(); factory.setFixed(false); }
public void createInitialLayout(IPageLayout layout) { String editorArea = layout.getEditorArea(); layout.setEditorAreaVisible(false); layout.setFixed(false); layout.addPlaceholder(LeistungenView.ID, SWT.LEFT, 0.3f, editorArea); layout.addView(CodeDetailView.ID, SWT.RIGHT, 0.8f, editorArea); layout.addShowViewShortcut(CodeDetailView.ID); }
@Override public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(false); layout.setFixed(false); IFolderLayout mainFolder = layout.createFolder("MAIN_FOLDER", IPageLayout.TOP, IPageLayout.RATIO_MAX, null); mainFolder.addView(TomoAlignmentViewFactory.ID); mainFolder.addView(TomoConfigurationViewFactory.ID); layout.addShowViewShortcut(TomoAlignmentViewFactory.ID); layout.addShowViewShortcut(TomoConfigurationViewFactory.ID); }
/** Initialisiert die Perspektive und fügt die Views hinzu */ public void createInitialLayout(IPageLayout layout) { layout.setFixed(true); layout.setEditorAreaVisible(false); // Einfügen der Suche layout.addView(FilterView.ID, IPageLayout.TOP | IPageLayout.LEFT, 0.2f, layout.getEditorArea()); layout.getViewLayout(FilterView.ID).setCloseable(false); layout.getViewLayout(FilterView.ID).setMoveable(false); // Einfügen des Views für die Rechnungen layout.addView(InvoiceTable.ID, IPageLayout.BOTTOM, 0.5f, layout.getEditorArea()); layout.getViewLayout(InvoiceTable.ID).setCloseable(false); layout.getViewLayout(InvoiceTable.ID).setMoveable(false); }
/** {@inheritDoc} */ public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(true); layout.setFixed(false); float ratio = 0.4f; String editorArea = layout.getEditorArea(); IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, ratio, editorArea); topLeft.addView(RepositoryManagerView.VIEW_ID); topLeft.addView(StorageManagerView.VIEW_ID); topLeft.addView(DataExplorerView.VIEW_ID); layout.getViewLayout(RepositoryManagerView.VIEW_ID).setCloseable(true); layout.getViewLayout(RepositoryManagerView.VIEW_ID).setMoveable(true); layout.getViewLayout(StorageManagerView.VIEW_ID).setCloseable(true); layout.getViewLayout(StorageManagerView.VIEW_ID).setMoveable(true); layout.getViewLayout(DataExplorerView.VIEW_ID).setCloseable(true); layout.getViewLayout(DataExplorerView.VIEW_ID).setMoveable(true); }
public void createInitialLayout(IPageLayout layout) { // TODO: This should define the "default" ALIVE perspective // E.g., allowing project management, dashboards, etc. // Other tools (plugins) will define their own perspectives for using them. String editorArea = layout.getEditorArea(); layout.setEditorAreaVisible(true); layout.setFixed(false); // Build the window/place views: // Top left: Project Explorer view and Outline view placeholder IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.15f, editorArea); IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.5f, editorArea); bottom.addView("net.sf.ictalive.operetta.dashboard.DashboardPart"); bottom.addView(IPageLayout.ID_PROP_SHEET); bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW); topLeft.addView("net.sf.ictalive.navigator"); }
/* * (non-Javadoc) * * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout) */ public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(true); layout.setFixed(false); layout.addStandaloneView( IStudioConstants.STUDIO_MENU_NAVIGATOR_ID, true, IPageLayout.LEFT, 0.15f, layout.getEditorArea()); layout.addPerspectiveShortcut(IStudioConstants.STUDIO_PERSPECTIVE_ID); IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f, layout.getEditorArea()); bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW); bottom.addView("org.eclipse.pde.runtime.LogView"); bottom.addView("org.eclipse.ui.views.ProblemView"); bottom.addView(XjcFieldViewPart.ID); layout.addStandaloneView( EngineConstants.CONTENT_OUT_LINE, true, IPageLayout.RIGHT, 0.70f, layout.getEditorArea()); }
/** * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout) * <!-- begin-user-doc --> * Create a fixed layout with Editor top left, Properties top right, folder at the bottom * containing the ResourceNavigator and a placeholder for the peoples view. This closes #7. * <!-- end-user-doc --> * @generated NOT */ @Override public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(true); layout.addPerspectiveShortcut(ID_PERSPECTIVE); layout.setFixed(true); IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.50, layout.getEditorArea()); bottom.addView("org.eclipse.ui.views.ResourceNavigator"); IViewLayout viewLayout = layout.getViewLayout("org.eclipse.ui.views.ResourceNavigator"); viewLayout.setCloseable(false); viewLayout.setMoveable(false); // Create a placeholder at the bottom for the Person view bottom.addPlaceholder("com.verticon.treatment.views.PeopleView"); layout.addView( IPageLayout.ID_PROP_SHEET, IPageLayout.RIGHT, (float) 0.55, layout.getEditorArea()); viewLayout = layout.getViewLayout(IPageLayout.ID_PROP_SHEET); viewLayout.setCloseable(false); viewLayout.setMoveable(false); }
@Override public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(false); layout.setFixed(true); }
@Override public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(false); layout.setFixed(true); layout.addStandaloneView(MapView.ID, false, IPageLayout.LEFT, 1.0f, layout.getEditorArea()); }
public void createInitialLayout(IPageLayout layout) { layout.setFixed(true); layout.addView("org.kevin.navigetor.view", IPageLayout.LEFT, 0.4f, layout.getEditorArea()); }