Package org.eclipse.ui

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


        IFolderLayout outputfolder = layout.createFolder(
            "bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
        outputfolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputfolder.addView(JavaUI.ID_JAVADOC_VIEW);
        outputfolder.addView(JavaUI.ID_SOURCE_VIEW);
        outputfolder.addPlaceholder(ID_SEARCH_VIEW);
        outputfolder.addPlaceholder(ID_CONSOLE_VIEW);
        outputfolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputfolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
        outputfolder.addPlaceholder(SigilUI.ID_DEPENDENCY_VIEW);
View Full Code Here


    private void defineLayout(final IPageLayout pageLayout) {
        // top left
        final IFolderLayout topLeft = pageLayout.createFolder(TOP_LEFT, IPageLayout.LEFT,
                0.30f, pageLayout.getEditorArea());
        topLeft.addView(ErlideUIConstants.NAVIGATOR_VIEW_ID);

        // center left
        final IFolderLayout centerLeft = pageLayout.createFolder(CENTER_LEFT,
                IPageLayout.BOTTOM, 0.20f, TOP_LEFT);
        centerLeft.addView(BROWSER_VIEW_ID);
View Full Code Here

        topLeft.addView(ErlideUIConstants.NAVIGATOR_VIEW_ID);

        // center left
        final IFolderLayout centerLeft = pageLayout.createFolder(CENTER_LEFT,
                IPageLayout.BOTTOM, 0.20f, TOP_LEFT);
        centerLeft.addView(BROWSER_VIEW_ID);

        // bottom left
        final IFolderLayout bottomLeft = pageLayout.createFolder(BOTTOM_LEFT,
                IPageLayout.BOTTOM, 0.30f, CENTER_LEFT);
        bottomLeft.addView(TREE_VIEWER_VIEW_ID);
View Full Code Here

        centerLeft.addView(BROWSER_VIEW_ID);

        // bottom left
        final IFolderLayout bottomLeft = pageLayout.createFolder(BOTTOM_LEFT,
                IPageLayout.BOTTOM, 0.30f, CENTER_LEFT);
        bottomLeft.addView(TREE_VIEWER_VIEW_ID);

        // bottom center
        final IFolderLayout bottomCenter = pageLayout.createFolder(BOTTOM_CENTER,
                IPageLayout.BOTTOM, 0.60f, pageLayout.getEditorArea());
        bottomCenter.addView(IPageLayout.ID_PROBLEM_VIEW);
View Full Code Here

        bottomLeft.addView(TREE_VIEWER_VIEW_ID);

        // bottom center
        final IFolderLayout bottomCenter = pageLayout.createFolder(BOTTOM_CENTER,
                IPageLayout.BOTTOM, 0.60f, pageLayout.getEditorArea());
        bottomCenter.addView(IPageLayout.ID_PROBLEM_VIEW);
        bottomCenter.addView(CONTROL_PANEL_VIEW_ID);

        // right center
        final IFolderLayout rightCenter = pageLayout.createFolder(RIGHT_CENTER,
                IPageLayout.RIGHT, 0.75f, pageLayout.getEditorArea());
View Full Code Here

        // bottom center
        final IFolderLayout bottomCenter = pageLayout.createFolder(BOTTOM_CENTER,
                IPageLayout.BOTTOM, 0.60f, pageLayout.getEditorArea());
        bottomCenter.addView(IPageLayout.ID_PROBLEM_VIEW);
        bottomCenter.addView(CONTROL_PANEL_VIEW_ID);

        // right center
        final IFolderLayout rightCenter = pageLayout.createFolder(RIGHT_CENTER,
                IPageLayout.RIGHT, 0.75f, pageLayout.getEditorArea());
        rightCenter.addView(IPageLayout.ID_OUTLINE);
View Full Code Here

        bottomCenter.addView(CONTROL_PANEL_VIEW_ID);

        // right center
        final IFolderLayout rightCenter = pageLayout.createFolder(RIGHT_CENTER,
                IPageLayout.RIGHT, 0.75f, pageLayout.getEditorArea());
        rightCenter.addView(IPageLayout.ID_OUTLINE);

        // right bottom
        final IFolderLayout rightBottom = pageLayout.createFolder(RIGHT_BOTTOM,
                IPageLayout.RIGHT, 0.70f, BOTTOM_CENTER);
        rightBottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
View Full Code Here

        rightCenter.addView(IPageLayout.ID_OUTLINE);

        // right bottom
        final IFolderLayout rightBottom = pageLayout.createFolder(RIGHT_BOTTOM,
                IPageLayout.RIGHT, 0.70f, BOTTOM_CENTER);
        rightBottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    }
}
View Full Code Here

        final String editorArea = layout.getEditorArea();

        final IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
                (float) 0.2, editorArea);
        // left.addView(IPageLayout.ID_RES_NAV);
        left.addView(ErlideUIConstants.NAVIGATOR_VIEW_ID);

        final IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM,
                (float) 0.65, editorArea);
        bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
        bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
View Full Code Here

        // left.addView(IPageLayout.ID_RES_NAV);
        left.addView(ErlideUIConstants.NAVIGATOR_VIEW_ID);

        final IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM,
                (float) 0.65, editorArea);
        bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
        bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
        bottom.addView(ProcessListView.ID);
        bottom.addView(LiveExpressionsView.ID);
        bottom.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
        bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
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.