Examples of IFolderLayout


Examples of org.eclipse.ui.IFolderLayout

        pageLayout.addNewWizardShortcut("com.volantis.mcs.eclipse.builder.wizards.policies.NewRolloverImagePolicyWizard");
        pageLayout.addNewWizardShortcut("com.volantis.mcs.eclipse.ab.wizards.NewScriptComponentWizard");
        pageLayout.addNewWizardShortcut("com.volantis.mcs.eclipse.ab.wizards.NewTextComponentWizard");
        pageLayout.addNewWizardShortcut("com.volantis.mcs.eclipse.ab.wizards.NewThemeWizard");

        IFolderLayout folderLayout = pageLayout.createFolder(TOP_LEFT_FOLDER,
                IPageLayout.LEFT, 0.23f,
                IPageLayout.ID_EDITOR_AREA);

        folderLayout.addView(MCS_NAVIGATOR);

        pageLayout.addView(IPageLayout.ID_OUTLINE, IPageLayout.BOTTOM,
                0.42f, TOP_LEFT_FOLDER);

        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

Examples of org.eclipse.ui.IFolderLayout

        true,
        IPageLayout.LEFT,
        0.25f,
        editorArea);
   
    IFolderLayout serverChatFolder = layout.createFolder(
        "ServerChatFolder",
        IPageLayout.LEFT,
        0.75f,
        editorArea);
   
    serverChatFolder.addView(ChatView.VIEW_ID);
   
    layout.getViewLayout(ConsoleView.VIEW_ID).setCloseable(false);
    layout.getViewLayout(PlayerListView.VIEW_ID).setCloseable(false);
    layout.getViewLayout(ChatView.VIEW_ID).setCloseable(false);
   
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  public void createInitialLayout(IPageLayout layout) {
    String editorArea = layout.getEditorArea();
    layout.setEditorAreaVisible(false);
   
    IFolderLayout playerListFolder = layout.createFolder("PlayerListFolder", IPageLayout.LEFT, 0.25f, editorArea);
    playerListFolder.addView(PlayerListView.VIEW_ID);
    layout.getViewLayout(PlayerListView.VIEW_ID).setCloseable(false);

    IFolderLayout chatFolder = layout.createFolder("ChatFolder", IPageLayout.TOP, 0.5f, editorArea);
    chatFolder.addView(ChatView.VIEW_ID);
    layout.getViewLayout(ChatView.VIEW_ID).setCloseable(false);
   
    IFolderLayout gameListFolder = layout.createFolder("GameListFolder", IPageLayout.TOP, 0.5f, editorArea);
    gameListFolder.addView(ClientConsoleView.VIEW_ID);
    gameListFolder.addView(GameListView.VIEW_ID);
    layout.getViewLayout(ClientConsoleView.VIEW_ID).setCloseable(false);
    layout.getViewLayout(GameListView.VIEW_ID).setCloseable(false);   
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  public void createInitialLayout(IPageLayout layout) {
    String editorArea = layout.getEditorArea();
    layout.setEditorAreaVisible(false);
   
    IFolderLayout bottomFolder = layout.createFolder(
        "BottomFolder",
        IPageLayout.BOTTOM,
        0.75f,
        editorArea);
   
    bottomFolder.addView(ConsoleView.VIEW_ID);

    layout.addStandaloneView(
        PlayerListView.VIEW_ID,
        true,
        IPageLayout.LEFT,
        0.25f,
        editorArea);
   
    IFolderLayout serverChatFolder = layout.createFolder(
        "ServerChatFolder",
        IPageLayout.LEFT,
        0.75f,
        editorArea);
   
    serverChatFolder.addView(ChatView.VIEW_ID);
   
    layout.getViewLayout(ConsoleView.VIEW_ID).setCloseable(false);
    layout.getViewLayout(PlayerListView.VIEW_ID).setCloseable(false);
    layout.getViewLayout(ChatView.VIEW_ID).setCloseable(false);
   
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  }

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

    IFolderLayout rightFolder = layout.createFolder("right", IPageLayout.RIGHT, (float) 0.8,
            editorArea);
    rightFolder.addView(DOCUMENTSELECT);
    rightFolder.addView(IPageLayout.ID_OUTLINE);
    rightFolder.addView(TYPE_BROWSER);

    // 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$

    outputFolder.addView(CONSTRAINTSELECT);
    outputFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
    outputFolder.addView(IPageLayout.ID_TASK_LIST);
    outputFolder.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    outputFolder.addView(SELECTION_VIEW);
    outputFolder.addView(TEXTRULER);
    outputFolder.addView(ANNOTATION_TESTING);
    outputFolder.addView(QUERY);

    IFolderLayout resultFolder = layout.createFolder("bottom-right", IPageLayout.BOTTOM,
            (float) 0.6, "right");
    resultFolder.addView(RESULTVIEW);

    outputFolder.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
    outputFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
    outputFolder.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  }

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

    IFolderLayout rightFolder = layout.createFolder("rightFolder", IPageLayout.RIGHT, (float) 0.75,
            editorArea);
    rightFolder.addView(APPLIED_RULES);
    rightFolder.addView(SELECTION_RULES);
    rightFolder.addView(RULE_LIST);
    rightFolder.addView(TYPE_BROWSER);
    rightFolder.addView(SELECTION_VIEW);

    IFolderLayout ruleFolder = layout.createFolder("ruleFolder", IPageLayout.BOTTOM, (float) 0.6,
            "rightFolder");
    ruleFolder.addView(RULE_ELEMENTS);
    ruleFolder.addView(CREATED_BY);

    IFolderLayout navigationFolder = layout.createFolder("left", IPageLayout.LEFT, (float) 0.2,
            editorArea);
    navigationFolder.addView(SCRIPT_EXPLORER);

    IFolderLayout matchedFolder = layout.createFolder("matchedFolder", IPageLayout.BOTTOM,
            (float) 0.75, editorArea);
    matchedFolder.addView(MATCHED_RULES);

    IFolderLayout failedFolder = layout.createFolder("failedFolder", IPageLayout.BOTTOM,
            (float) 0.75, editorArea);
    failedFolder.addView(FAILED_RULES);

  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  }

  protected void createFolders(IPageLayout layout) {
    final String editorArea = layout.getEditorArea();

    IFolderLayout rightFolder = layout.createFolder("right", IPageLayout.RIGHT, (float) 0.75,
            editorArea);
    rightFolder.addView(IPageLayout.ID_OUTLINE);
    rightFolder.addView(TYPE_BROWSER);
    rightFolder.addView(CHECK_ANNOTATIONS);

    // 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$

    outputFolder.addView(IPageLayout.ID_PROBLEM_VIEW);
    outputFolder.addView(IPageLayout.ID_TASK_LIST);
    outputFolder.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    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);
  }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

public class DesignerPerspectiveFactory implements IPerspectiveFactory {

    public void createInitialLayout(IPageLayout layout) {
        String editorArea = layout.getEditorArea();
        IFolderLayout propsFolder = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.70, editorArea);
        propsFolder.addView(PropertiesView.ID/*IPageLayout.ID_PROP_SHEET*/);
        propsFolder.addView(ErrorLogView.ID);
    }
View Full Code Here

Examples of org.eclipse.ui.IFolderLayout

  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);

    // 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

Examples of org.eclipse.ui.IFolderLayout

      public void createInitialLayout(IPageLayout layout) {
        // Get the editor area.
            String editorArea = layout.getEditorArea();

            // 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);
            bottomLeft.addView(IPageLayout.ID_PROP_SHEET);

            // Bottom right: Task List view
            IFolderLayout bottomRight = layout.createFolder("bottomRight", IPageLayout.BOTTOM, 0.66f,
                    editorArea);
            bottomRight.addView(IPageLayout.ID_PROBLEM_VIEW);
            bottomRight.addView(IConsoleConstants.ID_CONSOLE_VIEW);
            bottomRight.addView(IPageLayout.ID_BOOKMARKS);
           
      }
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.