Package org.eclipse.ui

Examples of org.eclipse.ui.IFolderLayout


   */
  public void createInitialLayout(IPageLayout layout) {
    layout.setEditorAreaVisible(true);
    layout
        .addPerspectiveShortcut(OntoUML.diagram.application.DiagramEditorWorkbenchAdvisor.PERSPECTIVE_ID);
    IFolderLayout right = layout.createFolder(
        "right", IPageLayout.RIGHT, 0.6f, layout.getEditorArea()); //$NON-NLS-1$
    right.addView(IPageLayout.ID_OUTLINE);
    IFolderLayout bottomRight = layout.createFolder(
        "bottomRight", IPageLayout.BOTTOM, 0.6f, "right"); //$NON-NLS-1$  //$NON-NLS-2$
    bottomRight.addView(IPageLayout.ID_PROP_SHEET);
  }
View Full Code Here


    private void defineLayout(IPageLayout layout)
    {
        String editorArea = layout.getEditorArea();

        // left views
        IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
                0.19f, editorArea);
        left.addView(CorpusExplorerView.ID);

        // right views
        IFolderLayout right = layout.createFolder("right", IPageLayout.RIGHT,
                0.70f, editorArea);

        right.addView(IPageLayout.ID_OUTLINE);
        right.addView(FeatureStructureBrowserView.ID);
        right.addView("org.eclipse.pde.runtime.LogView");

        // bottom views
        IFolderLayout rightBottom = layout.createFolder("rightBottom",
                IPageLayout.BOTTOM, 0.75f, editorArea);

        rightBottom.addView(EditView.ID);

        IFolderLayout leftBottom = layout.createFolder("leftBottom",
                IPageLayout.RIGHT, 0.5f, EditView.ID);

        leftBottom.addView(EditView.ID_2);
    }
View Full Code Here

  private void defineLayout(IPageLayout layout) {
    String editorArea = layout.getEditorArea();

    // left views
    IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
            0.19f, editorArea);
    left.addView("org.eclipse.ui.navigator.ProjectExplorer");

    // right views
    IFolderLayout right = layout.createFolder("right", IPageLayout.RIGHT,
            0.70f, editorArea);

    right.addView(IPageLayout.ID_OUTLINE);
    right.addView(FeatureStructureBrowserView.ID);
   
    IFolderLayout rightBottomCorner  = layout.createFolder("rightBottomCorner", IPageLayout.BOTTOM,
            0.75f, "right");
    rightBottomCorner.addView(AnnotationStyleView.ID);

    // bottom views
    IFolderLayout rightBottom = layout.createFolder("rightBottom",
            IPageLayout.BOTTOM, 0.75f, editorArea);

    rightBottom.addView(EditView.ID);

    IFolderLayout leftBottom = layout.createFolder("leftBottom",
            IPageLayout.RIGHT, 0.5f, EditView.ID);

    leftBottom.addView(EditView.ID_2);
  }
View Full Code Here

  public void createInitialLayout(IPageLayout layout) {
    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

       
        layout.addView( "org.locationtech.udig.project.ui.projectExplorer", IPageLayout.LEFT, 0.25f, editorArea ); //$NON-NLS-1$
        //layout.addView( "org.locationtech.udig.project.ui.layerManager", IPageLayout.BOTTOM, 0.25f, //$NON-NLS-1$
        //        "org.locationtech.udig.project.ui.projectExplorer" ); //$NON-NLS-1$
       
        IFolderLayout folder = layout.createFolder("org.locationtech.udig.mapPerspective.selection", IPageLayout.BOTTOM, 0.25f, //$NON-NLS-1$
                "org.locationtech.udig.project.ui.projectExplorer");
        folder.addView("org.locationtech.udig.project.ui.layerManager");
        folder.addView("org.locationtech.udig.ui.aoiView");
       
        layout.addView("org.locationtech.udig.catalog.ui.CatalogView", IPageLayout.BOTTOM, 0.65f, editorArea);         //$NON-NLS-1$
        layout.addActionSet("org.locationtech.udig.helpMenuItems");
        layout.addActionSet("org.locationtech.udig.ui.default");
        layout.addPerspectiveShortcut(StylePerspective.ID_PERSPECTIVE);
View Full Code Here

        addViews();
        addViewShortcuts();
    }

    private void addViews() {
        IFolderLayout left = factory.createFolder("left", //$NON-NLS-1$
                IPageLayout.LEFT, 0.2f, factory.getEditorArea());
        left.addView(Navigator.VIEW_ID);
    }
View Full Code Here

        false,
        IPageLayout.LEFT,
        0.25f,
        editorArea);
   
    IFolderLayout serverConsoleFolder = layout.createFolder(
        "ServerConsoleFolder",
        IPageLayout.LEFT,
        0.75f,
        editorArea);
   
    serverConsoleFolder.addView(ConsoleView.VIEW_ID);
    serverConsoleFolder.addView(ChatView.VIEW_ID);
   
    layout.getViewLayout(ConsoleView.VIEW_ID).setCloseable(false);
    layout.getViewLayout(ChatView.VIEW_ID).setCloseable(false);
  }
View Full Code Here

  }

  private void defineLayout(IPageLayout layout) {
    String editorArea = layout.getEditorArea();
    layout.setEditorAreaVisible(false);
    IFolderLayout left =
            layout.createFolder("left", IPageLayout.LEFT, (float) 0.26, editorArea);
//    left.addView(IIntiMapPageLayout.ID_RES_NAV);
    left.addView("org.eclipse.ui.navigator.ProjectExplorer");
//    layout.addView(IIntiMapPageLayout.ID_RES_NAV,   IPageLayout.LEFT, 0.26f, editorArea);
//    left.addView(IPageLayout.ID_OUTLINE);
//    layout.addView(IPageLayout.ID_OUTLINE,IPageLayout.BOTTOM, 0.6f, IPageLayout.ID_RES_NAV);
//    layout.addView(IPageLayout.ID_TASK_LIST,IPageLayout.BOTTOM, 0.6f, editorArea); 
    layout.addView(IPageLayout.ID_PROBLEM_VIEW ,IPageLayout.BOTTOM, 0.6f, editorArea);
View Full Code Here

    this.layout.createPlaceholderFolder(FOLDER_BOTTOM, IPageLayout.BOTTOM, 0.10f, editorAreaId);
               
        //layout.addStandaloneView(GraphicEditorView.ID, false, IPageLayout.LEFT, 1.0f,
    //layout.getEditorArea());
       
    IFolderLayout parts = layout.createFolder(
                "bigParts", IPageLayout.LEFT, 0.3f, FOLDER_LEFT);
    parts.addView(ShapeView.ID);      
    parts.addView(RuleView.ID);
   
    IFolderLayout tabs = layout.createFolder(
                "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

  public void createInitialLayout(IPageLayout layout) {
    String editorArea = layout.getEditorArea();
    layout.setEditorAreaVisible(false);
    layout.setFixed(true);

    IFolderLayout bottom = layout.createFolder(BOTTOM, IPageLayout.BOTTOM, (float) 0.70, editorArea);
    bottom.addView(ObjectTreeView.ID);

    IFolderLayout bottomRight = layout.createFolder("bottomRight", IPageLayout.RIGHT, (float) 0.50, BOTTOM);
    bottomRight.addView(StringValueView.ID);

    IFolderLayout topRight = layout.createFolder("topRight", IPageLayout.TOP, (float) 0.75, editorArea);
    topRight.addView(LogMessageView.ID);

    layout.addActionSet(JavaUI.ID_ACTION_SET);
    layout.addActionSet(JavaUI.ID_ELEMENT_CREATION_ACTION_SET);
    layout.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.IFolderLayout

Copyright © 2018 www.massapicom. 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.