public class ComponentSelectionHandler extends java.lang.Object implements ToolSelectionHandler
| Constructor and Description |
|---|
ComponentSelectionHandler(Task task) |
ComponentSelectionHandler(TaskGraph taskgraph) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToolSelectionListener(ToolSelectionListener listener)
Adds a listener to be notified when the tool selection changes
|
TaskGraph |
getSelectedTaskgraph() |
Tool |
getSelectedTool() |
Tool[] |
getSelectedTools() |
TrianaClient |
getSelectedTrianaClient() |
boolean |
isSingleSelectedTool() |
void |
removeToolSelectionListener(ToolSelectionListener listener)
Removes a listener from being notified when the tool selection changes
|
public ComponentSelectionHandler(Task task)
public ComponentSelectionHandler(TaskGraph taskgraph)
public void addToolSelectionListener(ToolSelectionListener listener)
addToolSelectionListener in interface ToolSelectionHandlerpublic void removeToolSelectionListener(ToolSelectionListener listener)
removeToolSelectionListener in interface ToolSelectionHandlerpublic boolean isSingleSelectedTool()
isSingleSelectedTool in interface ToolSelectionHandlerpublic Tool getSelectedTool()
getSelectedTool in interface ToolSelectionHandlerpublic Tool[] getSelectedTools()
getSelectedTools in interface ToolSelectionHandlerpublic TaskGraph getSelectedTaskgraph()
getSelectedTaskgraph in interface ToolSelectionHandlerpublic TrianaClient getSelectedTrianaClient()
getSelectedTrianaClient in interface ToolSelectionHandler