Class ComponentViewerPlugin

    • Field Detail

      • icons

        protected static final javax.swing.UIDefaults icons
        The image icons.
      • split

        protected javax.swing.JSplitPane split
        The split panel.
      • detail

        protected javax.swing.JPanel detail
        The detail panel.
      • panels

        protected java.util.Map<java.lang.Object,​IAbstractViewerPanel> panels
        The service viewer panels.
      • props

        protected Properties props
        Loaded properties.
      • viewables

        protected java.util.Map<java.lang.Object,​IFuture<java.lang.Boolean>> viewables
        The active component node viewable state.
    • Constructor Detail

      • ComponentViewerPlugin

        public ComponentViewerPlugin()
        Create a new plugin.
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: IControlCenterPlugin
        Return 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()
      • getToolIcon

        public javax.swing.Icon getToolIcon​(boolean selected)
        Description copied from interface: IControlCenterPlugin
        Return 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()
      • createToolBar

        public javax.swing.JComponent[] createToolBar()
        Create tool bar.
        Overrides:
        createToolBar in class AbstractJCCPlugin
        Returns:
        The tool bar.
      • createView

        public javax.swing.JComponent createView()
        Create main panel.
        Overrides:
        createView in class AbstractJCCPlugin
        Returns:
        The main panel.
      • isNodeViewable

        protected boolean isNodeViewable​(ISwingTreeNode node)
        Test if a node is viewable.
        Parameters:
        node - The node.
        Returns:
        True, if the node is viewable.
      • storeCurrentPanelSettings

        protected IFuture<Properties> storeCurrentPanelSettings()
        Store settings of current panel.