Examples of addView()


Examples of org.eclipse.ui.IFolderLayout.addView()

    /* (non-Javadoc)
     * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
     */
    public void createInitialLayout(IPageLayout layout) {
        IFolderLayout prose = layout.createFolder("prose", IPageLayout.BOTTOM, (float) 0.66, layout.getEditorArea());
        prose.addView("ch.ethz.prose.eclipse.ProseRunView");

        IFolderLayout console = layout.createFolder("console", IPageLayout.RIGHT, (float) 0.45, "prose");
        console.addView(IConsoleConstants.ID_CONSOLE_VIEW);

        IFolderLayout navigator = layout.createFolder("navigator", IPageLayout.LEFT, (float) 0.25, layout.getEditorArea());
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

    public void createInitialLayout(IPageLayout layout) {
        String editorArea = layout.getEditorArea();

        IFolderLayout leftFolder = layout.createFolder("left", IPageLayout.LEFT, 0.25f, editorArea);
        leftFolder.addView(JavaUI.ID_PACKAGES);
        leftFolder.addView(JavaUI.ID_TYPE_HIERARCHY);

        layout.addView(PartConstants.VIEW_ID_REPOSITORIES, IPageLayout.BOTTOM, 0.66f, "left");

        IFolderLayout outputFolder = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f, editorArea);
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

    public void createInitialLayout(IPageLayout layout) {
        String editorArea = layout.getEditorArea();

        IFolderLayout leftFolder = layout.createFolder("left", IPageLayout.LEFT, 0.25f, editorArea);
        leftFolder.addView(JavaUI.ID_PACKAGES);
        leftFolder.addView(JavaUI.ID_TYPE_HIERARCHY);

        layout.addView(PartConstants.VIEW_ID_REPOSITORIES, IPageLayout.BOTTOM, 0.66f, "left");

        IFolderLayout outputFolder = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f, editorArea);
        outputFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

        leftFolder.addView(JavaUI.ID_TYPE_HIERARCHY);

        layout.addView(PartConstants.VIEW_ID_REPOSITORIES, IPageLayout.BOTTOM, 0.66f, "left");

        IFolderLayout outputFolder = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f, editorArea);
        outputFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputFolder.addView(JavaUI.ID_JAVADOC_VIEW);
        outputFolder.addView(PartConstants.VIEW_ID_IMPORTSEXPORTS);
        outputFolder.addPlaceholder(VIEW_ID_SEARCH);
        outputFolder.addPlaceholder(VIEW_ID_CONSOLE);
        outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

        layout.addView(PartConstants.VIEW_ID_REPOSITORIES, IPageLayout.BOTTOM, 0.66f, "left");

        IFolderLayout outputFolder = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f, editorArea);
        outputFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputFolder.addView(JavaUI.ID_JAVADOC_VIEW);
        outputFolder.addView(PartConstants.VIEW_ID_IMPORTSEXPORTS);
        outputFolder.addPlaceholder(VIEW_ID_SEARCH);
        outputFolder.addPlaceholder(VIEW_ID_CONSOLE);
        outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

        layout.addView(PartConstants.VIEW_ID_REPOSITORIES, IPageLayout.BOTTOM, 0.66f, "left");

        IFolderLayout outputFolder = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f, editorArea);
        outputFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputFolder.addView(JavaUI.ID_JAVADOC_VIEW);
        outputFolder.addView(PartConstants.VIEW_ID_IMPORTSEXPORTS);
        outputFolder.addPlaceholder(VIEW_ID_SEARCH);
        outputFolder.addPlaceholder(VIEW_ID_CONSOLE);
        outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
        outputFolder.addPlaceholder(VIEW_ID_JUNIT_RESULTS);
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

        outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
        outputFolder.addPlaceholder(VIEW_ID_JUNIT_RESULTS);

        IFolderLayout outlineFolder = layout.createFolder("right", IPageLayout.RIGHT, (float) 0.75, editorArea); //$NON-NLS-1$
        outlineFolder.addView(IPageLayout.ID_OUTLINE);
        outlineFolder.addPlaceholder(TemplatesView.ID);

        layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
        layout.addActionSet(JavaUI.ID_ACTION_SET);
        layout.addActionSet(JavaUI.ID_ELEMENT_CREATION_ACTION_SET);
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

        String editorArea = layout.getEditorArea();

        // Top left.
        IFolderLayout topLeft = layout.createFolder(
                "topLeft", IPageLayout.LEFT, (float) 0.26, editorArea);//$NON-NLS-1$
    topLeft.addView(IPageLayout.ID_PROJECT_EXPLORER);
        topLeft.addPlaceholder(IPageLayout.ID_BOOKMARKS);

        // Add a placeholder for the old navigator to maintain compatibility
        topLeft.addPlaceholder("org.eclipse.ui.views.ResourceNavigator"); //$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

        // Bottom left.
        IFolderLayout bottomLeft = layout.createFolder(
                "bottomLeft", IPageLayout.BOTTOM, (float) 0.50,//$NON-NLS-1$
                "topLeft");//$NON-NLS-1$
        bottomLeft.addView(IPageLayout.ID_OUTLINE);

        // Bottom right.
    IFolderLayout bottomRight = layout.createFolder(
                "bottomRight", IPageLayout.BOTTOM, (float) 0.66,//$NON-NLS-1$
                editorArea);
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout.addView()

        // Bottom right.
    IFolderLayout bottomRight = layout.createFolder(
                "bottomRight", IPageLayout.BOTTOM, (float) 0.66,//$NON-NLS-1$
                editorArea);
   
    bottomRight.addView(IPageLayout.ID_TASK_LIST);
   
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.