Package jadex.base.gui.componentviewer
Class ComponentViewerPlugin
- java.lang.Object
- 
- jadex.base.gui.plugin.AbstractJCCPlugin
- 
- jadex.base.gui.componentviewer.ComponentViewerPlugin
 
 
- 
- All Implemented Interfaces:
- IControlCenterPlugin,- IPropertiesProvider
 
 public class ComponentViewerPlugin extends AbstractJCCPlugin The service viewer allows to introspect details of services.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.base.gui.plugin.AbstractJCCPluginAbstractJCCPlugin.ShowRemoteControlCenterHandler
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected ObjectCardLayoutcardsThe detail layout.protected ComponentTreePanelcomptreeThe agent tree table.protected javax.swing.JPaneldetailThe detail panel.protected static javax.swing.UIDefaultsiconsThe image icons.protected java.util.Map<java.lang.Object,IAbstractViewerPanel>panelsThe service viewer panels.protected PropertiespropsLoaded properties.protected javax.swing.JSplitPanesplitThe split panel.protected java.util.Map<java.lang.Object,IFuture<java.lang.Boolean>>viewablesThe active component node viewable state.- 
Fields inherited from class jadex.base.gui.plugin.AbstractJCCPluginjcc
 
- 
 - 
Constructor SummaryConstructors Constructor Description ComponentViewerPlugin()Create a new plugin.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreatePanel(java.lang.Class<?> clazz, IExternalAccess exta, IActiveComponentTreeNode node)javax.swing.JComponent[]createToolBar()Create tool bar.javax.swing.JComponentcreateView()Create main panel.java.lang.StringgetName()Return the unique name of this plugin.IFuture<Properties>getProperties()Return properties to be saved in project.javax.swing.IcongetToolIcon(boolean selected)Return the icon representing this plugin.protected booleanisNodeViewable(ISwingTreeNode node)Test if a node is viewable.IFuture<java.lang.Void>setProperties(Properties ps)Set properties loaded from project.IFuture<java.lang.Void>shutdown()Shutdown the plugin.protected IFuture<Properties>storeCurrentPanelSettings()Store settings of current panel.- 
Methods inherited from class jadex.base.gui.plugin.AbstractJCCPlugincreateMenuBar, getClassLoader, getJCC, getMenuBar, getToolBar, getView, init, isLazy, pushPlatformSettings
 
- 
 
- 
- 
- 
Field Detail- 
iconsprotected static final javax.swing.UIDefaults icons The image icons.
 - 
splitprotected javax.swing.JSplitPane split The split panel.
 - 
comptreeprotected ComponentTreePanel comptree The agent tree table.
 - 
detailprotected javax.swing.JPanel detail The detail panel.
 - 
cardsprotected ObjectCardLayout cards The detail layout.
 - 
panelsprotected java.util.Map<java.lang.Object,IAbstractViewerPanel> panels The service viewer panels.
 - 
propsprotected Properties props Loaded properties.
 - 
viewablesprotected java.util.Map<java.lang.Object,IFuture<java.lang.Boolean>> viewables The active component node viewable state.
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Description copied from interface:IControlCenterPluginReturn the unique name of this plugin. This method may be called before init(). Used e.g. to store properties of each plugin.- Returns:
- The plugin name
- See Also:
- jadex.tools.common.plugin.IControlCenterPlugin#getName()
 
 - 
getToolIconpublic javax.swing.Icon getToolIcon(boolean selected) Description copied from interface:IControlCenterPluginReturn the icon representing this plugin. This method may be called before init().- Returns:
- The icon of plugin
- See Also:
- jadex.tools.common.plugin.IControlCenterPlugin#getToolIcon()
 
 - 
createToolBarpublic javax.swing.JComponent[] createToolBar() Create tool bar.- Overrides:
- createToolBarin class- AbstractJCCPlugin
- Returns:
- The tool bar.
 
 - 
createViewpublic javax.swing.JComponent createView() Create main panel.- Overrides:
- createViewin class- AbstractJCCPlugin
- Returns:
- The main panel.
 
 - 
createPanelprotected void createPanel(java.lang.Class<?> clazz, IExternalAccess exta, IActiveComponentTreeNode node)
 - 
isNodeViewableprotected boolean isNodeViewable(ISwingTreeNode node) Test if a node is viewable.- Parameters:
- node- The node.
- Returns:
- True, if the node is viewable.
 
 - 
shutdownpublic IFuture<java.lang.Void> shutdown() Shutdown the plugin.- Specified by:
- shutdownin interface- IControlCenterPlugin
- Overrides:
- shutdownin class- AbstractJCCPlugin
 
 - 
getPropertiespublic IFuture<Properties> getProperties() Return properties to be saved in project.- Specified by:
- getPropertiesin interface- IPropertiesProvider
- Overrides:
- getPropertiesin class- AbstractJCCPlugin
 
 - 
setPropertiespublic IFuture<java.lang.Void> setProperties(Properties ps) Set properties loaded from project.- Specified by:
- setPropertiesin interface- IPropertiesProvider
- Overrides:
- setPropertiesin class- AbstractJCCPlugin
 
 - 
storeCurrentPanelSettingsprotected IFuture<Properties> storeCurrentPanelSettings() Store settings of current panel.
 
- 
 
-