Package org.eclipse.ui

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


  @Override
  public void createInitialLayout(IPageLayout layout) {
    final IFolderLayout scanFolder = layout.createFolder(SCAN_INFO_FOLDER, IPageLayout.TOP, 0, layout.getEditorArea());
    scanFolder.addView(ScanInfoView.ID);
    layout.getViewLayout(ScanInfoView.ID).setCloseable(false);
    scanFolder.addPlaceholder("*:*");

    layout.addStandaloneView(WEBSITE_VIEW, true, IPageLayout.LEFT, 0.25f, ScanInfoView.ID);
    layout.getViewLayout(WEBSITE_VIEW).setCloseable(false);
    layout.addStandaloneView(ScanAlertView.ID, true, IPageLayout.BOTTOM, 0.40f, WEBSITE_VIEW);
    layout.getViewLayout(ScanAlertView.ID).setCloseable(false);
View Full Code Here


        // Log folder
        IFolderLayout logFolder = layout.createFolder( "logFolder", IPageLayout.BOTTOM, ( float ) 0.75, editorArea );
        logFolder.addView( ModificationLogsView.getId() );
        logFolder.addView( SearchLogsView.getId() );
        logFolder.addPlaceholder( "*" );

        // non-closable?
        boolean isIDE = BrowserCommonActivator.isIDEEnvironment();
        if ( !isIDE )
        {
View Full Code Here

            IPageLayout.BOTTOM, 0.7f, layout.getEditorArea());
    bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
    bottom.addView(IPageLayout.ID_TASK_LIST);
    bottom.addView(JavaUI.ID_JAVADOC_VIEW);
    bottom.addView("org.apache.hadoop.eclipse.view.servers");
    bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_PROGRESS_VIEW);
    bottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);

    IFolderLayout right =
View Full Code Here

    bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
    bottom.addView(IPageLayout.ID_TASK_LIST);
    bottom.addView(JavaUI.ID_JAVADOC_VIEW);
    bottom.addView("org.apache.hadoop.eclipse.view.servers");
    bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_PROGRESS_VIEW);
    bottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);

    IFolderLayout right =
        layout.createFolder("org.apache.hadoop.eclipse.perspective.right",
View Full Code Here

    bottom.addView(IPageLayout.ID_TASK_LIST);
    bottom.addView(JavaUI.ID_JAVADOC_VIEW);
    bottom.addView("org.apache.hadoop.eclipse.view.servers");
    bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_PROGRESS_VIEW);
    bottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);

    IFolderLayout right =
        layout.createFolder("org.apache.hadoop.eclipse.perspective.right",
            IPageLayout.RIGHT, 0.8f, layout.getEditorArea());
View Full Code Here

    bottom.addView(JavaUI.ID_JAVADOC_VIEW);
    bottom.addView("org.apache.hadoop.eclipse.view.servers");
    bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_PROGRESS_VIEW);
    bottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);

    IFolderLayout right =
        layout.createFolder("org.apache.hadoop.eclipse.perspective.right",
            IPageLayout.RIGHT, 0.8f, layout.getEditorArea());
    right.addView(IPageLayout.ID_OUTLINE);
View Full Code Here

        IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, (float) 0.26, editorArea); //$NON-NLS-1$
        topLeft.addView("org.python.pydev.navigator.view");

        IFolderLayout outputfolder = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
        outputfolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputfolder.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
        outputfolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
        outputfolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputfolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);

        layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float) 0.75, editorArea);
View Full Code Here

        topLeft.addView("org.python.pydev.navigator.view");

        IFolderLayout outputfolder = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
        outputfolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputfolder.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
        outputfolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
        outputfolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputfolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);

        layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float) 0.75, editorArea);
    }
View Full Code Here

        IFolderLayout outputfolder = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
        outputfolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputfolder.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
        outputfolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
        outputfolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputfolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);

        layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float) 0.75, editorArea);
    }
View Full Code Here

        IFolderLayout outputfolder = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
        outputfolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputfolder.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
        outputfolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
        outputfolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
        outputfolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);

        layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float) 0.75, editorArea);
    }

    /**
 
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.