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 ToolSelectionHandler
public void removeToolSelectionListener(ToolSelectionListener listener)
removeToolSelectionListener
in interface ToolSelectionHandler
public boolean isSingleSelectedTool()
isSingleSelectedTool
in interface ToolSelectionHandler
public Tool getSelectedTool()
getSelectedTool
in interface ToolSelectionHandler
public Tool[] getSelectedTools()
getSelectedTools
in interface ToolSelectionHandler
public TaskGraph getSelectedTaskgraph()
getSelectedTaskgraph
in interface ToolSelectionHandler
public TrianaClient getSelectedTrianaClient()
getSelectedTrianaClient
in interface ToolSelectionHandler