Package org.openbp.jaspira.gui.plugin

Examples of org.openbp.jaspira.gui.plugin.TabbedPluginContainer$ChangeAction


    else
      plugin = (FinderResultPlugin) arpList.next();

    // If the result plugin isn't registered in an plugin container, then register
    // it in the same as the Item Browser
    TabbedPluginContainer tpc = plugin.getPluginPanel().getTabbedContainer();
    if (tpc == null)
    {
      JaspiraEvent je = new JaspiraEvent(this, "global.plugin.addtocontainer", plugin);
      je.setTargetClassName("org.openbp.cockpit.plugins.itembrowser.ItemBrowserPlugin");
      fireEvent(je);
View Full Code Here


  private JComponent createLeftArea()
  {
    PluginMgr pm = PluginMgr.getInstance();

    // Create the toolbox container
    TabbedPluginContainer toolContainer = new TabbedPluginContainer();
    toolContainer.addPlugin(pm.createVisibleInstance(StandardToolBoxPlugin.class, this), true);

    // toolContainer.addPlugin (pm.createVisibleInstance (UserToolBoxPlugin.class, this), false);

    toolContainer.addPlugin(pm.createVisibleInstance(MiniViewPlugin.class, this), false);

    // Create the item browser container
    TabbedPluginContainer itemContainer = new TabbedPluginContainer();
    itemContainer.addPlugin(pm.createVisibleInstance(ItemBrowserPlugin.class, this));

    TabbedPluginContainer infoContainer = new TabbedPluginContainer();
    infoContainer.addPlugin(pm.createVisibleInstance(InfoPanelPlugin.class, this));

    // Hor. divider for toolbox and item browser
    PluginDivider divider = new PluginDivider(JSplitPane.VERTICAL_SPLIT);
    divider.addContainer(toolContainer);
    divider.addContainer(itemContainer);
View Full Code Here

  }

  private JComponent createRightArea()
  {
    // Container for modeler views; Does always show tabs and doesn't remove itself if empty
    modelerContainer = new TabbedPluginContainer();
    modelerContainer.setAlwaysTabs(true);
    modelerContainer.setSolid(true);

    // Add the browser plugin to the modeler container
    // Currently, we do not support browser actions, so this has been commented out
View Full Code Here

    PluginMgr pm = PluginMgr.getInstance();

    // The content container consists of...

    // ...the property browser and the browser (left)
    TabbedPluginContainer leftContainer = new TabbedPluginContainer();
    leftContainer.addPlugin(pm.createVisibleInstance(PropertyBrowserPlugin.class, this), true);

    // ...and the process variables, color chooser, context inspector and the console (right)
    ColorChooserPlugin colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
    colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));

    TabbedPluginContainer rightContainer = new TabbedPluginContainer();
    rightContainer.addPlugin(pm.createVisibleInstance(VariablesPlugin.class, this), true);
    rightContainer.addPlugin(colorChooser, false);
    rightContainer.addPlugin(pm.createVisibleInstance(InspectorPlugin.class, this), false);
    rightContainer.addPlugin(pm.createVisibleInstance(StackTracePlugin.class, this), false);

    // Divider for content area (modeler, toolbox, item browser)
    PluginDivider divider = new PluginDivider();
    divider.addContainer(leftContainer);
    divider.addContainer(rightContainer);
View Full Code Here

    left.addPlugin(socketToolBox);
    left.addPlugin(itemBrowser);

    right.addPlugin(nodeEditor);

    TabbedPluginContainer bottomContainer = new TabbedPluginContainer();
    bottomContainer.addPlugin(propertyBrowser);
    bottomContainer.addPlugin(colorChooser);
    right.addClient(bottomContainer);

    main.addClient(left);
    main.addClient(right);
View Full Code Here

TOP

Related Classes of org.openbp.jaspira.gui.plugin.TabbedPluginContainer$ChangeAction

Copyright © 2018 www.massapicom. 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.