Examples of addView()


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

        centerLeft.addView(BROWSER_VIEW_ID);

        // bottom left
        final IFolderLayout bottomLeft = pageLayout.createFolder(BOTTOM_LEFT,
                IPageLayout.BOTTOM, 0.30f, CENTER_LEFT);
        bottomLeft.addView(TREE_VIEWER_VIEW_ID);

        // bottom center
        final IFolderLayout bottomCenter = pageLayout.createFolder(BOTTOM_CENTER,
                IPageLayout.BOTTOM, 0.60f, pageLayout.getEditorArea());
        bottomCenter.addView(IPageLayout.ID_PROBLEM_VIEW);
View Full Code Here

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

        bottomLeft.addView(TREE_VIEWER_VIEW_ID);

        // bottom center
        final IFolderLayout bottomCenter = pageLayout.createFolder(BOTTOM_CENTER,
                IPageLayout.BOTTOM, 0.60f, pageLayout.getEditorArea());
        bottomCenter.addView(IPageLayout.ID_PROBLEM_VIEW);
        bottomCenter.addView(CONTROL_PANEL_VIEW_ID);

        // right center
        final IFolderLayout rightCenter = pageLayout.createFolder(RIGHT_CENTER,
                IPageLayout.RIGHT, 0.75f, pageLayout.getEditorArea());
View Full Code Here

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

        // bottom center
        final IFolderLayout bottomCenter = pageLayout.createFolder(BOTTOM_CENTER,
                IPageLayout.BOTTOM, 0.60f, pageLayout.getEditorArea());
        bottomCenter.addView(IPageLayout.ID_PROBLEM_VIEW);
        bottomCenter.addView(CONTROL_PANEL_VIEW_ID);

        // right center
        final IFolderLayout rightCenter = pageLayout.createFolder(RIGHT_CENTER,
                IPageLayout.RIGHT, 0.75f, pageLayout.getEditorArea());
        rightCenter.addView(IPageLayout.ID_OUTLINE);
View Full Code Here

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

        bottomCenter.addView(CONTROL_PANEL_VIEW_ID);

        // right center
        final IFolderLayout rightCenter = pageLayout.createFolder(RIGHT_CENTER,
                IPageLayout.RIGHT, 0.75f, pageLayout.getEditorArea());
        rightCenter.addView(IPageLayout.ID_OUTLINE);

        // right bottom
        final IFolderLayout rightBottom = pageLayout.createFolder(RIGHT_BOTTOM,
                IPageLayout.RIGHT, 0.70f, BOTTOM_CENTER);
        rightBottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
View Full Code Here

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

        rightCenter.addView(IPageLayout.ID_OUTLINE);

        // right bottom
        final IFolderLayout rightBottom = pageLayout.createFolder(RIGHT_BOTTOM,
                IPageLayout.RIGHT, 0.70f, BOTTOM_CENTER);
        rightBottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
    }
}
View Full Code Here

Examples of org.graphstream.ui.view.Viewer.addView()

  public Viewer display(boolean autoLayout) {
    Viewer viewer = new Viewer(this,
        Viewer.ThreadingModel.GRAPH_IN_ANOTHER_THREAD);
    GraphRenderer renderer = Viewer.newGraphRenderer();
    viewer.addView(Viewer.DEFAULT_VIEW_ID, renderer);
    if (autoLayout) {
      Layout layout = Layouts.newLayoutAlgorithm();
      viewer.enableAutoLayout(layout);
    }
    return viewer;
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.plugins.UISWTInstance.addView()

           
            UISWTInstance swt_ui = (UISWTInstance)instance;
           
            NetStatusPluginView view = new NetStatusPluginView( NetStatusPlugin.this );

            swt_ui.addViewUISWTInstance.VIEW_MAIN, VIEW_ID, view );
           
            //swt_ui.openMainView( VIEW_ID, view, null );
          }
        }
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.plugins.UISWTInstance.addView()

           
            UISWTInstance swt_ui = (UISWTInstance)instance;
           
            BuddyPluginView view = new BuddyPluginView( BuddyPlugin.this, swt_ui );

            swt_ui.addViewUISWTInstance.VIEW_MAIN, VIEW_ID, view );
           
            //swt_ui.openMainView( VIEW_ID, view, null );
          }
         
          setupDisablePrompt(instance);
View Full Code Here

Examples of org.jdesktop.wonderland.modules.appbase.client.swing.WindowSwing.addView()

            frame.setWindow(frameWindow);
            frame.setTitle(getTitle());

            // create a view
            frameView = hudDisplayer.createView(frameWindow);
            frameWindow.addView(frameView);

            // set view properties
            frameView.setPixelScaleOrtho(WonderlandHUD.HUD_SCALE, false);
            frameView.setSizeApp(new Dimension((int) (frameWindow.getWidth()), frameWindow.getHeight()), false);
            frameView.setLocationOrtho(new Vector2f(0.0f, (float) (WonderlandHUD.HUD_SCALE.y * getWindow().getHeight() / 2 + WonderlandHUD.HUD_SCALE.y * frameImpl.getPreferredSize().height / 2)), false);
View Full Code Here

Examples of org.onemind.swingweb.component.shareapp.ViewComponent.addView()

    {
        JPanel main = new JPanel();
        main.setLayout(new BorderLayout());
        SwingWebUtils.registerURLLocal(viewValue);
        ViewComponent com = new ViewComponent(viewValue);
        com.addView(KEY_SECTION1, new JLabel("This is section 1"));
        com.addView(KEY_SECTION2, new JLabel("This is section 2"));
        com.addView(KEY_SECTION3, new JLabel("This is section 3"));
        JPanel buttons = new JPanel();
        buttons.add(createButton("Section 1", KEY_SECTION1));
        buttons.add(createButton("Section 2", KEY_SECTION2));
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.