Package org.eclipse.ui

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


    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


                "bottomParts", IPageLayout.LEFT, 0.3f, FOLDER_BOTTOM);
    //tabs.addView(DebugView.ID);
    tabs.addView(DebugTree.ID);
    tabs.addView(SubshapeView.ID);
    tabs.addView(RenderLineView.ID);
        tabs.addPlaceholder(IPageLayout.ID_PROP_SHEET);
       
    String editorArea = layout.getEditorArea();
        layout.addStandaloneView(IPageLayout.ID_OUTLINE, true, IPageLayout.LEFT, 0.3f,
            editorArea);     
       
View Full Code Here

        folderLayout = pageLayout.createFolder(BOTTOM_FOLDER,
                IPageLayout.BOTTOM, 0.70f,
                IPageLayout.ID_EDITOR_AREA);

        folderLayout.addView(IPageLayout.ID_PROBLEM_VIEW);
        folderLayout.addPlaceholder(ID_DEVICE_BROWSER);

        pageLayout.addPlaceholder(ID_FORMAT_ATTRIBUTES, IPageLayout.BOTTOM,
                0.52f, IPageLayout.ID_OUTLINE);

        pageLayout.addShowViewShortcut(ID_DEVICE_BROWSER);
View Full Code Here

    // Folder
    IFolderLayout folder = layout.createFolder("left", IPageLayout.LEFT, (float) 0.2, editorArea); //$NON-NLS-1$   

    folder.addView(SCRIPT_EXPLORER);
    folder.addPlaceholder(IPageLayout.ID_BOOKMARKS);

    // Output folder
    IFolderLayout outputFolder = layout.createFolder(
            "bottom", IPageLayout.BOTTOM, (float) 0.68, editorArea); //$NON-NLS-1$
View Full Code Here

    // Folder
    IFolderLayout folder = layout.createFolder("left", IPageLayout.LEFT, (float) 0.2, editorArea); //$NON-NLS-1$   

    folder.addView(SCRIPT_EXPLORER);
    folder.addPlaceholder(IPageLayout.ID_BOOKMARKS);

    // Output folder
    IFolderLayout outputFolder = layout.createFolder(
            "bottom", IPageLayout.BOTTOM, (float) 0.75, editorArea); //$NON-NLS-1$
View Full Code Here

    outputFolder.addView(SELECTION_VIEW);
    outputFolder.addView(TEXTRULER);
    outputFolder.addView(ANNOTATION_TESTING);
    outputFolder.addView(QUERY);

    outputFolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
  }

  protected void addPerspectiveShotcuts(IPageLayout layout) {
View Full Code Here

    outputFolder.addView(TEXTRULER);
    outputFolder.addView(ANNOTATION_TESTING);
    outputFolder.addView(QUERY);

    outputFolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
  }

  protected void addPerspectiveShotcuts(IPageLayout layout) {
    layout.addPerspectiveShortcut("org.apache.uima.ruta.ide.ui.explainPerspective");
View Full Code Here

    outputFolder.addView(ANNOTATION_TESTING);
    outputFolder.addView(QUERY);

    outputFolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
  }

  protected void addPerspectiveShotcuts(IPageLayout layout) {
    layout.addPerspectiveShortcut("org.apache.uima.ruta.ide.ui.explainPerspective");
  }
View Full Code Here

            // Top left: Resource Navigator view and Bookmarks view placeholder
            IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.25f,
                    editorArea);
            topLeft.addView("tool.navigator");
            topLeft.addPlaceholder(IPageLayout.ID_BOOKMARKS);

            // Bottom left: Outline view and Property Sheet view
            IFolderLayout bottomLeft = layout.createFolder("bottomLeft", IPageLayout.BOTTOM, 0.50f,
                    "topLeft");
            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 = BrowserCommonActivator.isIDEEnvironment();
        if ( !isIDE )
        {
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.