public interface ToolComponentModel
Modifier and Type | Field and Description |
---|---|
static int |
DISPLAY_ICON |
static int |
HIDE_ICON |
static int |
UNKNOWN_ACTION |
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)
Called to determine if an icon for the specified action should be displayed, e.g.
|
static final int UNKNOWN_ACTION
static final int DISPLAY_ICON
static final int HIDE_ICON
javax.swing.Icon getTreeIcon(Tool tool)
java.lang.String getTreeToolTip(Tool tool, boolean extended)
javax.swing.JPopupMenu getTreePopup(Tool tool)
java.lang.String getWorkspaceToolTip(Task task, boolean extended)
javax.swing.JPopupMenu getWorkspacePopup(Task task)
javax.swing.Action getTaskAction(Task task)
TaskComponent getTaskComponent(Task task)
int isUpdateIcon(Task task, java.lang.String action)
action
- the update action (e.g. ADD_INPUT_NODE_ACTION as defined in UpdateActionConstants)javax.swing.Action getUpdateAction(Task task, java.lang.String action)
action
- the update action (e.g. ADD_INPUT_NODE_ACTION)