Package org.eclipse.ui

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


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

        IFolderLayout folder = layout.createFolder("left", IPageLayout.LEFT, (float) 0.25, editorArea);
        folder.addView(JavaUI.ID_PACKAGES);
        folder.addPlaceholder(IPageLayout.ID_RES_NAV);

        IFolderLayout outputfolder = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.7, editorArea);
        outputfolder.addView(IPageLayout.ID_PROBLEM_VIEW);
        outputfolder.addView(UIConstants.RUN_TEST_VIEW_ID);
        outputfolder.addView(UIConstants.DEBUG_LOG_VIEW_ID);
View Full Code Here


    IFolderLayout bottom = factory.createFolder("bottomRight", IPageLayout.BOTTOM, 0.75f, editorArea);
   
    bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
    bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    bottom.addPlaceholder(IPageLayout.ID_TASK_LIST);
    bottom.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
   
    IFolderLayout outlineFolder = factory.createFolder("right", IPageLayout.RIGHT, (float) 0.75, editorArea);
View Full Code Here

    IFolderLayout bottom = factory.createFolder("bottomRight", IPageLayout.BOTTOM, 0.75f, editorArea);
   
    bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
    bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    bottom.addPlaceholder(IPageLayout.ID_TASK_LIST);
    bottom.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
   
    IFolderLayout outlineFolder = factory.createFolder("right", IPageLayout.RIGHT, (float) 0.75, editorArea);
    outlineFolder.addView(IPageLayout.ID_OUTLINE);
View Full Code Here

   
    bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
    bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    bottom.addPlaceholder(IPageLayout.ID_TASK_LIST);
    bottom.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
   
    IFolderLayout outlineFolder = factory.createFolder("right", IPageLayout.RIGHT, (float) 0.75, editorArea);
    outlineFolder.addView(IPageLayout.ID_OUTLINE);
  }
View Full Code Here

    bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
    bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
    bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    bottom.addPlaceholder(IPageLayout.ID_TASK_LIST);
    bottom.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
   
    IFolderLayout outlineFolder = factory.createFolder("right", IPageLayout.RIGHT, (float) 0.75, editorArea);
    outlineFolder.addView(IPageLayout.ID_OUTLINE);
  }
View Full Code Here

    String editorArea = layout.getEditorArea();
    layout.setEditorAreaVisible(false);
   
    layout.addStandaloneView(NavigationView.ID,  false, IPageLayout.LEFT, 0.25f, editorArea);
    IFolderLayout folder = layout.createFolder("messages", IPageLayout.TOP, 0.5f, editorArea);
    folder.addPlaceholder(View.ID + ":*");
    folder.addView(View.ID);
   
    layout.getViewLayout(NavigationView.ID).setCloseable(false);
  }
}
 
View Full Code Here

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

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

        progessFolder.addView( "org.eclipse.ui.views.ProgressView" );

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

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

        progessFolder.addView( "org.eclipse.ui.views.ProgressView" );

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

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

    layout.setEditorAreaVisible(true);
    layout.addStandaloneView(MainView.ID,  false, IPageLayout.LEFT, 0.25f, editorArea);
   
//    layout.addStandaloneView(NavigationView.ID,  false, IPageLayout.LEFT, 0.25f, editorArea);
    IFolderLayout folder = layout.createFolder("messages", IPageLayout.TOP, 0.5f, editorArea);
    folder.addPlaceholder(View.ID + ":*");
    layout.addFastView(ContactsEditor.ID);
//    folder.addView(MainView.ID);
   
    layout.getViewLayout(NavigationView.ID).setCloseable(false);
  }
 
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.