Examples of IFolderLayout


Examples of org.eclipse.ui.IFolderLayout

    addNewWizardShortcuts();
    addPerspectiveShortcuts();
  }

  private void addViews() {
    IFolderLayout bottom =factory.createFolder("bottomRight", IPageLayout.BOTTOM , 0.75f, factory.getEditorArea());
    bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addView(IDebugUIConstants.ID_DEBUG_VIEW);
   
    IFolderLayout topRight = factory.createFolder("topRight", IPageLayout.RIGHT , 0.75f, factory.getEditorArea());
    topRight.addView(IDebugUIConstants.ID_VARIABLE_VIEW);
    topRight.addView(IDebugUIConstants.ID_EXPRESSION_VIEW);
   
    IFolderLayout topLeft =factory.createFolder("topLeft", IPageLayout.LEFT,0.25f, factory.getEditorArea());
    topLeft.addView("org.xvr.xvrengine.view.navigator");
   
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

    addNewWizardShortcuts();
    addPerspectiveShortcuts();
  }

  private void addViews() {
    IFolderLayout bottom =factory.createFolder("bottomRight", IPageLayout.BOTTOM,0.75f,factory.getEditorArea());
    //bottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    //bottom.addView(CamView.ID);
    IFolderLayout topLeft =factory.createFolder("topLeft", IPageLayout.LEFT,0.25f,factory.getEditorArea());
    topLeft.addView("org.xvr.xvrengine.view.navigator");
    //IFolderLayout topRight = factory.createFolder("topLeft", IPageLayout.RIGHT,0.25f,factory.getEditorArea());
    topLeft.addView(IPageLayout.ID_OUTLINE);
   
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

    layout.setEditorAreaVisible(true);
    layout.setFixed(false);

    layout.addShowViewShortcut(EXPLORER_VIEW_ID);

    IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.23f, layout.getEditorArea());//$NON-NLS-1$
    topLeft.addView(EXPLORER_VIEW_ID);

    // Create the areas of the layout with their initial views
//    IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT, (float) 0.23, editorArea); //$NON-NLS-1$
//    left.addView(IPageLayout.ID_PROJECT_EXPLORER);
//
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  public void createInitialLayout(IPageLayout layout) {
   
    String editorArea = layout.getEditorArea();
   
    IFolderLayout bottomArea = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f,editorArea);
   
    //bottomArea.addView(InfoTableView.SIMULATION_ENGINE_VIEW_ID);
    bottomArea.addView(IPageLayout.ID_PROBLEM_VIEW);
   
   
    layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float)0.75, editorArea);//CoSimStarterView.VIEW_ID);
   
   
    IFolderLayout bottomLeftArea = layout.createFolder("bottomLeft", IPageLayout.LEFT, 0.50f,"bottom");
    bottomLeftArea.addView(InfoTableView.SIMULATION_ENGINE_VIEW_ID);
   
//   
//    IFolderLayout bottomRightArea = layout.createFolder("bottomRight", IPageLayout.RIGHT, 0.50f,"bottom");
//    bottomRightArea.addView(InfoTableView.SIMULATION_VIEW_ID);
   
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

    layout.addShowViewShortcut(Tools.VIEW_ID);
    layout.addNewWizardShortcut(NewDepanProjectWizard.WIZARD_ID);
    addSourceAnalysisWizards(layout);

    // Define screen regions for DepAn perspective
    IFolderLayout folder = layout.createFolder("views",
        IPageLayout.RIGHT, 0.7F, layout.getEditorArea());
    folder.addView(IPageLayout.ID_RES_NAV);
    folder.addView(Tools.VIEW_ID);
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

        layout.setEditorAreaVisible( true );
        String editorAreaId = layout.getEditorArea();

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

        // Adding views
        topLeftFolder.addView( SchemaElementsView.ID );
        topLeftFolder.addView( HierarchyView.ID );
        layout.addStandaloneView( SchemasView.ID, true, IPageLayout.BOTTOM, 0.5f, placeHolderId );
        layout.addStandaloneView( SearchView.ID, true, IPageLayout.BOTTOM, 0.7f, editorAreaId );

        // Setting up non-closeable views
        layout.getViewLayout( SchemaElementsView.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,
            editorArea );
        browserFolder.addView( BrowserView.getId() );

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

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

        // Progress folder
        IFolderLayout progessFolder = layout.createFolder( "progressFolder", IPageLayout.BOTTOM, ( float ) 0.75,
            "outlineFolder" );
        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

Examples of org.eclipse.ui.IFolderLayout

   */
  public void createInitialLayout(IPageLayout layout) {
     // Get the editor area.
      String editorArea = layout.getEditorArea();
     
      IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.75f, editorArea);
      bottom.addView(PROVENANCE_TRACKER_VIEW_ID);
      bottom.addView(SOURCE_VIEW_ID);
      bottom.addView(SINK_VIEW_ID);
      //bottom.addView(MARKER_VIEW_ID);
      bottom.addView(IPageLayout.ID_TASK_LIST);
      bottom.addPlaceholder(IPageLayout.ID_PROBLEM_VIEW);
      
      // Add the favorites action set
      //layout.addActionSet(FAVORITES_ACTION_ID); 
     
      layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, 0.85f, editorArea);
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,
            editorArea );
        browserFolder.addView( BrowserView.getId() );

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

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

        // Progress folder
        IFolderLayout progessFolder = layout.createFolder( "progressFolder", IPageLayout.BOTTOM, ( float ) 0.75,
            "outlineFolder" );
        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.addView( SearchLogsView.getId() );
        logFolder.addPlaceholder( "*" );

        // non-closable?
        boolean isIDE = BrowserCommonActivator.isIDEEnvironment();
        if ( !isIDE )
        {
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,
            editorArea );
        browserFolder.addView( BrowserView.getId() );

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

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

        // Progress folder
        IFolderLayout progessFolder = layout.createFolder( "progressFolder", IPageLayout.BOTTOM, ( float ) 0.75,
            "outlineFolder" );
        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.