public class ComponentViewerPlugin extends AbstractJCCPlugin
AbstractJCCPlugin.ShowRemoteControlCenterHandler
Modifier and Type | Field and Description |
---|---|
protected jadex.commons.gui.ObjectCardLayout |
cards
The detail layout.
|
protected ComponentTreePanel |
comptree
The agent tree table.
|
protected javax.swing.JPanel |
detail
The detail panel.
|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected java.util.Map<java.lang.Object,IAbstractViewerPanel> |
panels
The service viewer panels.
|
protected jadex.commons.Properties |
props
Loaded properties.
|
protected javax.swing.JSplitPane |
split
The split panel.
|
protected java.util.Map<java.lang.Object,jadex.commons.future.IFuture<java.lang.Boolean>> |
viewables
The active component node viewable state.
|
jcc
Constructor and Description |
---|
ComponentViewerPlugin()
Create a new plugin.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createPanel(java.lang.Class<?> clazz,
jadex.bridge.IExternalAccess exta,
IActiveComponentTreeNode node) |
javax.swing.JComponent[] |
createToolBar()
Create tool bar.
|
javax.swing.JComponent |
createView()
Create main panel.
|
java.lang.String |
getName()
Return the unique name of this plugin.
|
jadex.commons.future.IFuture<jadex.commons.Properties> |
getProperties()
Return properties to be saved in project.
|
javax.swing.Icon |
getToolIcon(boolean selected)
Return the icon representing this plugin.
|
protected boolean |
isNodeViewable(ISwingTreeNode node)
Test if a node is viewable.
|
jadex.commons.future.IFuture<java.lang.Void> |
setProperties(jadex.commons.Properties ps)
Set properties loaded from project.
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Shutdown the plugin.
|
protected jadex.commons.future.IFuture<jadex.commons.Properties> |
storeCurrentPanelSettings()
Store settings of current panel.
|
createMenuBar, getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, isLazy, pushPlatformSettings
protected static final javax.swing.UIDefaults icons
protected javax.swing.JSplitPane split
protected ComponentTreePanel comptree
protected javax.swing.JPanel detail
protected jadex.commons.gui.ObjectCardLayout cards
protected java.util.Map<java.lang.Object,IAbstractViewerPanel> panels
protected jadex.commons.Properties props
protected java.util.Map<java.lang.Object,jadex.commons.future.IFuture<java.lang.Boolean>> viewables
public java.lang.String getName()
IControlCenterPlugin
jadex.tools.common.plugin.IControlCenterPlugin#getName()
public javax.swing.Icon getToolIcon(boolean selected)
IControlCenterPlugin
jadex.tools.common.plugin.IControlCenterPlugin#getToolIcon()
public javax.swing.JComponent[] createToolBar()
createToolBar
in class AbstractJCCPlugin
public javax.swing.JComponent createView()
createView
in class AbstractJCCPlugin
protected void createPanel(java.lang.Class<?> clazz, jadex.bridge.IExternalAccess exta, IActiveComponentTreeNode node)
protected boolean isNodeViewable(ISwingTreeNode node)
node
- The node.public jadex.commons.future.IFuture<java.lang.Void> shutdown()
shutdown
in interface IControlCenterPlugin
shutdown
in class AbstractJCCPlugin
public jadex.commons.future.IFuture<jadex.commons.Properties> getProperties()
getProperties
in interface jadex.commons.IPropertiesProvider
getProperties
in class AbstractJCCPlugin
public jadex.commons.future.IFuture<java.lang.Void> setProperties(jadex.commons.Properties ps)
setProperties
in interface jadex.commons.IPropertiesProvider
setProperties
in class AbstractJCCPlugin
protected jadex.commons.future.IFuture<jadex.commons.Properties> storeCurrentPanelSettings()