public class DaxFileComponentModel extends java.lang.Object implements RegisterableToolComponentModel
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DAX_FILE_RENDERING_HINT
The Constant DAX_FILE_RENDERING_HINT.
|
DISPLAY_ICON, HIDE_ICON, UNKNOWN_ACTION
Constructor and Description |
---|
DaxFileComponentModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRegistrationString() |
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.
|
public static final java.lang.String DAX_FILE_RENDERING_HINT
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 javax.swing.Action getTaskAction(Task task)
getTaskAction
in interface ToolComponentModel
public TaskComponent getTaskComponent(Task task)
getTaskComponent
in interface ToolComponentModel
public int isUpdateIcon(Task task, java.lang.String action)
ToolComponentModel
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)
ToolComponentModel
getUpdateAction
in interface ToolComponentModel
action
- the update action (e.g. ADD_INPUT_NODE_ACTION)public java.lang.String getRegistrationString()
getRegistrationString
in interface RegisterableToolComponentModel