Examples of IFolderLayout


Examples of org.eclipse.ui.IFolderLayout

        // Allowing the Editor Area
        layout.setEditorAreaVisible( true );
        String editorAreaId = layout.getEditorArea();

        // Creating top left folder
        IFolderLayout topLeftFolder = layout.createFolder( topLeftFolderId, IPageLayout.LEFT, 0.3f, editorAreaId );

        // Creating bottom folder
        IFolderLayout bottomFolder = layout.createFolder( bottomFolderId, IPageLayout.BOTTOM, 0.7f, editorAreaId );

        // Adding Views
        topLeftFolder.addView( SchemaView.ID );
        topLeftFolder.addView( HierarchyView.ID );
        layout.addStandaloneView( ProjectsView.ID, true, IPageLayout.BOTTOM, 0.7f, topLeftFolderId );
        bottomFolder.addView( ProblemsView.ID );
        bottomFolder.addView( SearchView.ID );

        // Setting up non-closeable views
        layout.getViewLayout( SchemaView.ID ).setCloseable( false );
        layout.getViewLayout( ProjectsView.ID ).setCloseable( false );
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

    // Editors are placed for free.
    String editorArea = layout.getEditorArea();

    // Place navigator and outline to left of
    // editor area.
    IFolderLayout left =
      layout.createFolder("left", IPageLayout.LEFT, 0.26f, editorArea);
    left.addView(IPageLayout.ID_PROJECT_EXPLORER);
   
    IFolderLayout bottomLeft = layout.createFolder(
        "bottomLeft", IPageLayout.BOTTOM, 0.5f, "left");
    bottomLeft.addView(IPageLayout.ID_OUTLINE);
   
    //Put reg and gpm below editor
    IFolderLayout bottom = layout.createFolder(
        "bottom", IPageLayout.BOTTOM, 0.7f, editorArea);
    bottom.addView(ID_GPM_VIEW);
    bottom.addView(ID_REGISTRY_VIEW);
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

     * {@inheritDoc}
     */
    public void createInitialLayout(IPageLayout layout) {
        String editorArea = layout.getEditorArea();

        IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT, (float) 0.20f, editorArea);
        left.addView("org.eclipse.jdt.ui.PackageExplorer");
        left.addView(BirdsEyeView.VIEW_ID);

        IFolderLayout right = layout.createFolder("right", IPageLayout.RIGHT, (float) 0.75f, editorArea);
        right.addView(PolymetricViewControllerView.VIEW_ID);
        right.addView(EntityVisibilityView.VIEW_ID);
        right.addView(AssociationVisibilityView.VIEW_ID);
        right.addView(IPageLayout.ID_OUTLINE);

    }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

        // Allowing the Editor Area
        layout.setEditorAreaVisible( true );
        String editorAreaId = layout.getEditorArea();

        // Creating top left folder
        IFolderLayout topLeftFolder = layout.createFolder( topLeftFolderId, IPageLayout.LEFT, 0.3f, editorAreaId );

        // Creating bottom folder
        IFolderLayout bottomFolder = layout.createFolder( bottomFolderId, IPageLayout.BOTTOM, 0.7f, editorAreaId );

        // Adding Views
        topLeftFolder.addView( SchemaView.ID );
        topLeftFolder.addView( HierarchyView.ID );
        layout.addStandaloneView( ProjectsView.ID, true, IPageLayout.BOTTOM, 0.7f, topLeftFolderId );
        bottomFolder.addView( ProblemsView.ID );
        bottomFolder.addView( SearchView.ID );

        // Setting up non-closeable views
        layout.getViewLayout( SchemaView.ID ).setCloseable( false );
        layout.getViewLayout( ProjectsView.ID ).setCloseable( false );
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

        // Editor area
        String editorArea = layout.getEditorArea();

        // Browser folder
        IFolderLayout browserFolder = layout.createFolder( "browserFolder", IPageLayout.LEFT, ( float ) 0.25, //$NON-NLS-1$
            editorArea );
        browserFolder.addView( BrowserView.getId() );

        // Connection folder
        IFolderLayout connectionFolder = layout.createFolder( "connectionFolder", IPageLayout.BOTTOM, ( float ) 0.75, //$NON-NLS-1$
            "browserFolder" ); //$NON-NLS-1$
        connectionFolder.addView( ConnectionView.getId() );

        // Outline folder
        IFolderLayout outlineFolder = layout.createFolder( "outlineFolder", IPageLayout.RIGHT, ( float ) 0.75, //$NON-NLS-1$
            editorArea );
        outlineFolder.addView( IPageLayout.ID_OUTLINE );

        // Progress folder
        IFolderLayout progessFolder = layout.createFolder( "progressFolder", IPageLayout.BOTTOM, ( float ) 0.75, //$NON-NLS-1$
            "outlineFolder" ); //$NON-NLS-1$
        progessFolder.addView( "org.eclipse.ui.views.ProgressView" ); //$NON-NLS-1$

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

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

Examples of org.eclipse.ui.IFolderLayout

   * @param layout
   */
  private void addViews(IPageLayout layout) {
    String editorArea = layout.getEditorArea();

    IFolderLayout topRight = layout.createFolder(
        "topRight", IPageLayout.RIGHT, (float) 0.7, editorArea);//$NON-NLS-1$
    topRight.addView(IPageLayout.ID_OUTLINE);

    IFolderLayout bottomRight = layout.createFolder(
        "bottomRight", IPageLayout.BOTTOM, (float) 0.5, "topRight");//$NON-NLS-1$
    IViewRegistry viewRegistry = WorkbenchPlugin.getDefault()
        .getViewRegistry();
    IViewDescriptor containedInTextGrid = viewRegistry
        .find("info.textgrid.lab.navigator.view");
    if (containedInTextGrid != null) {
      // contained in textgrid
      bottomRight.addView("info.textgrid.lab.navigator.view");
                                   
    } else {
      // standalone
      bottomRight.addView("org.eclipse.ui.views.ResourceNavigator");                                      
    }
    bottomRight.addView(IPageLayout.ID_PROP_SHEET);

    layout.setEditorAreaVisible(true);
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

        String editorArea = layout.getEditorArea();
       
      
        // Place navigator and outline to left of
        // editor area.
        IFolderLayout left =
                layout.createFolder("left", IPageLayout.LEFT, (float) 0.16, editorArea);
        left.addView(IPageLayout.ID_RES_NAV);
        //left.addView("org.eclipse.jdt.ui.PackageExplorer");
       
        IFolderLayout right =
            layout.createFolder("right", IPageLayout.RIGHT, (float) 0.78, editorArea);
        right.addView("es.uma.ama.maudeWorkstationGUI.ui.views.MaudeTraza");
        right.addView("es.uma.ama.maudeWorkstationGUI.ui.views.MaudeDepuracion");
       
        IFolderLayout bottom =
            layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.70, editorArea);
        bottom.addView("es.upv.dsic.issi.moment.maudesimpleGUI.ui.toconsole.MaudeConsoleView");
       
        IFolderLayout top =
            layout.createFolder("top", IPageLayout.TOP, (float) 0.38, editorArea);
        top.addView("es.uma.ama.maudeWorkstationGUI.ui.views.MaudeRewriting");
  
       
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

    /** perspective id, see plugin.xml */
    public static final String ID = "de.tobject.findbugs.FindBugsPerspective";

    public void createInitialLayout(IPageLayout layout) {
        String editorArea = layout.getEditorArea();
        IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, (float) 0.25, editorArea);
        topLeft.addView(FindbugsPlugin.TREE_VIEW_ID);
        topLeft.addPlaceholder(JavaUI.ID_PACKAGES);

        // Bottom right.
        IFolderLayout bottomRightA = layout.createFolder("bottomRightA", IPageLayout.BOTTOM, (float) 0.55, editorArea);

        bottomRightA.addView(FindbugsPlugin.USER_ANNOTATIONS_VIEW_ID);


        IFolderLayout bottomRightB = layout.createFolder("bottomRightB", IPageLayout.RIGHT, (float) 0.45, "bottomRightA");

        bottomRightB.addView(FindbugsPlugin.DETAILS_VIEW_ID);
    }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  }
 
  protected void addFolderViewStructure(IPageLayout layout) {
    String editorArea = layout.getEditorArea();
   
    IFolderLayout leftFolder = layout.createFolder("leftPane", IPageLayout.LEFT, 0.25f, editorArea);
    leftFolder.addView(IPageLayout.ID_PROJECT_EXPLORER);
   
   
    IFolderLayout bottomFolder = layout.createFolder("bottomPane", IPageLayout.BOTTOM, 0.75f, editorArea);
   
    bottomFolder.addView(IPageLayout.ID_TASK_LIST);
    bottomFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
    bottomFolder.addView("org.eclipse.dltk.ui.TypeHierarchy");
    bottomFolder.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
    bottomFolder.addView(IPageLayout.ID_PROGRESS_VIEW);
    bottomFolder.addView(IConsoleConstants.ID_CONSOLE_VIEW);
   
    layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, 0.75f, editorArea);
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

    layout.addShowViewShortcut(NavigationView.ID);
   
    layout.addNewWizardShortcut(DeckNewWizard.ID);
   
        // Top left.
        IFolderLayout topLeft = layout.createFolder( "topLeft", IPageLayout.LEFT, 0.33f, editorArea);//$NON-NLS-1$
        topLeft.addView(NavigationView.ID);
    layout.getViewLayout(NavigationView.ID).setCloseable(false);

        // Bottom left.
        IPlaceholderFolderLayout bottomLeft = layout.createPlaceholderFolder( "bottomLeft", IPageLayout.BOTTOM, 0.60f, "topLeft"); //$NON-NLS-1$
        bottomLeft.addPlaceholder(CardView.ID);
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.