Package org.openbp.jaspira.plugin

Examples of org.openbp.jaspira.plugin.PluginMgr.createInstance()


    PluginMgr pm = PluginMgr.getInstance();

    // Create the non-visible plugins
    pm.createInstance(DebuggerPlugin.class, this);
    pm.createInstance(ModelerUndoPlugin.class, this);

    JComponent leftArea = createLeftArea();
    JComponent rightArea = createRightArea();
    JComponent bottomArea = createBottomArea();
View Full Code Here


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

  {
    // We don't register the page as plugin, so use the application as parent plugin (the key manager requires a parent)
    this.setParentPlugin(ApplicationBase.getInstance());

    PluginMgr pm = PluginMgr.getInstance();
    propertyBrowser = (PropertyBrowserPlugin) pm.createInstance(PropertyBrowserPlugin.class, this);
    itemBrowser = (NodeEditorItemBrowserPlugin) pm.createInstance(NodeEditorItemBrowserPlugin.class, this);
    nodeEditor = (NodeItemEditorPlugin) pm.createInstance(NodeItemEditorPlugin.class, this);
    socketToolBox = (SocketToolBoxPlugin) pm.createInstance(SocketToolBoxPlugin.class, this);
    colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
    colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));
View Full Code Here

    // We don't register the page as plugin, so use the application as parent plugin (the key manager requires a parent)
    this.setParentPlugin(ApplicationBase.getInstance());

    PluginMgr pm = PluginMgr.getInstance();
    propertyBrowser = (PropertyBrowserPlugin) pm.createInstance(PropertyBrowserPlugin.class, this);
    itemBrowser = (NodeEditorItemBrowserPlugin) pm.createInstance(NodeEditorItemBrowserPlugin.class, this);
    nodeEditor = (NodeItemEditorPlugin) pm.createInstance(NodeItemEditorPlugin.class, this);
    socketToolBox = (SocketToolBoxPlugin) pm.createInstance(SocketToolBoxPlugin.class, this);
    colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
    colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));
View Full Code Here

    this.setParentPlugin(ApplicationBase.getInstance());

    PluginMgr pm = PluginMgr.getInstance();
    propertyBrowser = (PropertyBrowserPlugin) pm.createInstance(PropertyBrowserPlugin.class, this);
    itemBrowser = (NodeEditorItemBrowserPlugin) pm.createInstance(NodeEditorItemBrowserPlugin.class, this);
    nodeEditor = (NodeItemEditorPlugin) pm.createInstance(NodeItemEditorPlugin.class, this);
    socketToolBox = (SocketToolBoxPlugin) pm.createInstance(SocketToolBoxPlugin.class, this);
    colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
    colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));

    PluginDivider main = new PluginDivider(PluginDivider.HORIZONTAL_SPLIT);
View Full Code Here

    PluginMgr pm = PluginMgr.getInstance();
    propertyBrowser = (PropertyBrowserPlugin) pm.createInstance(PropertyBrowserPlugin.class, this);
    itemBrowser = (NodeEditorItemBrowserPlugin) pm.createInstance(NodeEditorItemBrowserPlugin.class, this);
    nodeEditor = (NodeItemEditorPlugin) pm.createInstance(NodeItemEditorPlugin.class, this);
    socketToolBox = (SocketToolBoxPlugin) pm.createInstance(SocketToolBoxPlugin.class, this);
    colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
    colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));

    PluginDivider main = new PluginDivider(PluginDivider.HORIZONTAL_SPLIT);
    PluginDivider left = new PluginDivider(PluginDivider.VERTICAL_SPLIT);
View Full Code Here

    PluginMgr pm = PluginMgr.getInstance();
    propertyBrowser = (PropertyBrowserPlugin) pm.createInstance(PropertyBrowserPlugin.class, this);
    itemBrowser = (NodeEditorItemBrowserPlugin) pm.createInstance(NodeEditorItemBrowserPlugin.class, this);
    nodeEditor = (NodeItemEditorPlugin) pm.createInstance(NodeItemEditorPlugin.class, this);
    socketToolBox = (SocketToolBoxPlugin) pm.createInstance(SocketToolBoxPlugin.class, this);
    colorChooser = (ColorChooserPlugin) pm.createInstance(ColorChooserPlugin.class, this);
    colorChooser.setHelpText(getPluginResourceCollection().getOptionalString("chooserhelptext"));

    PluginDivider main = new PluginDivider(PluginDivider.HORIZONTAL_SPLIT);
    PluginDivider left = new PluginDivider(PluginDivider.VERTICAL_SPLIT);
    PluginDivider right = new PluginDivider(PluginDivider.VERTICAL_SPLIT);
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.