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, pushPlatformSettingsprotected 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()
IControlCenterPluginjadex.tools.common.plugin.IControlCenterPlugin#getName()public javax.swing.Icon getToolIcon(boolean selected)
IControlCenterPluginjadex.tools.common.plugin.IControlCenterPlugin#getToolIcon()public javax.swing.JComponent[] createToolBar()
createToolBar in class AbstractJCCPluginpublic javax.swing.JComponent createView()
createView in class AbstractJCCPluginprotected 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 IControlCenterPluginshutdown in class AbstractJCCPluginpublic jadex.commons.future.IFuture<jadex.commons.Properties> getProperties()
getProperties in interface jadex.commons.IPropertiesProvidergetProperties in class AbstractJCCPluginpublic jadex.commons.future.IFuture<java.lang.Void> setProperties(jadex.commons.Properties ps)
setProperties in interface jadex.commons.IPropertiesProvidersetProperties in class AbstractJCCPluginprotected jadex.commons.future.IFuture<jadex.commons.Properties> storeCurrentPanelSettings()