Package jadex.base.gui.plugin
Class AbstractJCCPlugin.ShowRemoteControlCenterHandler
- java.lang.Object
-
- jadex.base.gui.plugin.AbstractJCCPlugin.ShowRemoteControlCenterHandler
-
- All Implemented Interfaces:
INodeHandler
,ISwingNodeHandler
- Enclosing class:
- AbstractJCCPlugin
public static class AbstractJCCPlugin.ShowRemoteControlCenterHandler extends java.lang.Object implements ISwingNodeHandler
A node handler allowing to spawn new control center views for remote platforms displayed in component tree using proxy nodes.
-
-
Field Summary
Fields Modifier and Type Field Description protected IControlCenter
jcc
The control center.protected java.awt.Component
panel
The outer panel.
-
Constructor Summary
Constructors Constructor Description ShowRemoteControlCenterHandler(IControlCenter jcc, java.awt.Component panel)
Create a new handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.Action
getDefaultAction(ISwingTreeNode node)
Get the default action to be performed after a double click.byte[]
getOverlay(ITreeNode node)
Get the overlay for a node if any.javax.swing.Action[]
getPopupActions(ISwingTreeNode[] nodes)
Get the popup actions available for all of the given nodes, if any.javax.swing.Icon
getSwingOverlay(ISwingTreeNode node)
Get the overlay for a node if any.
-
-
-
Field Detail
-
jcc
protected IControlCenter jcc
The control center.
-
panel
protected java.awt.Component panel
The outer panel.
-
-
Constructor Detail
-
ShowRemoteControlCenterHandler
public ShowRemoteControlCenterHandler(IControlCenter jcc, java.awt.Component panel)
Create a new handler.
-
-
Method Detail
-
getDefaultAction
public javax.swing.Action getDefaultAction(ISwingTreeNode node)
Get the default action to be performed after a double click.- Specified by:
getDefaultAction
in interfaceISwingNodeHandler
-
getSwingOverlay
public javax.swing.Icon getSwingOverlay(ISwingTreeNode node)
Get the overlay for a node if any.- Specified by:
getSwingOverlay
in interfaceISwingNodeHandler
-
getOverlay
public byte[] getOverlay(ITreeNode node)
Description copied from interface:INodeHandler
Get the overlay for a node if any.- Specified by:
getOverlay
in interfaceINodeHandler
-
getPopupActions
public javax.swing.Action[] getPopupActions(ISwingTreeNode[] nodes)
Get the popup actions available for all of the given nodes, if any.- Specified by:
getPopupActions
in interfaceISwingNodeHandler
-
-