Package org.eclipse.ui

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


        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,
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);
View Full Code Here

        "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

  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);
View Full Code Here

    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);
View Full Code Here

    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

    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

        "BottomFolder",
        IPageLayout.BOTTOM,
        0.75f,
        editorArea);
   
    bottomFolder.addView(ConsoleView.VIEW_ID);

    layout.addStandaloneView(
        PlayerListView.VIEW_ID,
        true,
        IPageLayout.LEFT,
View Full Code Here

        "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

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