public class HiddenComponentModel extends java.lang.Object implements ToolComponentModel
DISPLAY_ICON, HIDE_ICON, UNKNOWN_ACTION
Constructor and Description |
---|
HiddenComponentModel() |
Modifier and Type | Method and Description |
---|---|
javax.swing.Action |
getTaskAction(Task task) |
TaskComponent |
getTaskComponent(Task task) |
javax.swing.Icon |
getTreeIcon(Tool tool) |
javax.swing.JPopupMenu |
getTreePopup(Tool tool) |
java.lang.String |
getTreeToolTip(Tool tool,
boolean extended) |
javax.swing.Action |
getUpdateAction(Task task,
java.lang.String action)
Called to determine the action that is invoked when an update action is choosen.
|
javax.swing.JPopupMenu |
getWorkspacePopup(Task task) |
java.lang.String |
getWorkspaceToolTip(Task task,
boolean extended) |
int |
isUpdateIcon(Task task,
java.lang.String action)
Return whether the icon is shown for the specified update action (e.g.
|
public javax.swing.Icon getTreeIcon(Tool tool)
getTreeIcon
in interface ToolComponentModel
public java.lang.String getTreeToolTip(Tool tool, boolean extended)
getTreeToolTip
in interface ToolComponentModel
public javax.swing.JPopupMenu getTreePopup(Tool tool)
getTreePopup
in interface ToolComponentModel
public java.lang.String getWorkspaceToolTip(Task task, boolean extended)
getWorkspaceToolTip
in interface ToolComponentModel
public javax.swing.JPopupMenu getWorkspacePopup(Task task)
getWorkspacePopup
in interface ToolComponentModel
public TaskComponent getTaskComponent(Task task)
getTaskComponent
in interface ToolComponentModel
public javax.swing.Action getTaskAction(Task task)
getTaskAction
in interface ToolComponentModel
public int isUpdateIcon(Task task, java.lang.String action)
isUpdateIcon
in interface ToolComponentModel
action
- the update action (e.g. ADD_INPUT_NODE_ACTION as defined in UpdateActionConstants)public javax.swing.Action getUpdateAction(Task task, java.lang.String action)
getUpdateAction
in interface ToolComponentModel
action
- the update action (e.g. ADD_INPUT_NODE_ACTION)