public class ParameterPanelManager extends java.lang.Object implements TaskGraphListener, TaskListener
Constructor and Description |
---|
ParameterPanelManager() |
Modifier and Type | Method and Description |
---|---|
void |
cableConnected(TaskGraphCableEvent event)
Called when a new connection is made between two tasks.
|
void |
cableDisconnected(TaskGraphCableEvent event)
Called before a connection between two tasks is removed.
|
void |
cableReconnected(TaskGraphCableEvent event)
Called when a connection is reconnected to a different task.
|
void |
controlTaskStateChanged(ControlTaskStateEvent event)
Called when the control task is connected/disconnected or unstable
|
static ParameterPanel |
createPanel(Task task)
Attempt to find and load the ParameterPanel specified by this classname and task.
|
static ParameterPanel |
getParameterPanel(Task task) |
static void |
hideParameterWindowFor(Task task) |
protected static ParameterPanel |
initGUIBuilderV2Panel(java.lang.String fullline,
Task task)
Initializes a GUI Builder V2 parameter panel for the task.
|
protected static ParameterPanel |
initParameterPanel(Task task)
Initializes a parameter panel interface for the task.
|
static boolean |
isInstantiatePanel(Task task) |
static boolean |
isParameterPanel(Task task) |
void |
monitorTaskGraph(TaskGraph taskgraph)
Notifies the parameter panel manager to monitor the specified taskgraph
|
void |
nodeAdded(TaskNodeEvent event)
Called when a data input node is added.
|
void |
nodeRemoved(TaskNodeEvent event)
Called before a data input node is removed.
|
void |
parameterUpdated(ParameterUpdateEvent event)
Called when the value of a parameter is changed, including when a parameter is removed.
|
static void |
registerComponent(java.awt.Component panel,
Task task) |
static ParameterWindow |
showParameterWindowFor(Task task,
java.lang.Object source) |
void |
taskCreated(TaskGraphTaskEvent event)
Called when a new task is created in a taskgraph.
|
void |
taskDisposed(TaskDisposedEvent event)
Called before the task is disposed
|
void |
taskPropertyUpdate(TaskPropertyEvent event)
Called when the core properties of a task change i.e.
|
void |
taskRemoved(TaskGraphTaskEvent event)
Called when a task is removed from a taskgraph.
|
void |
unmonitorTaskGraph(TaskGraph taskgraph)
Notifies the parameter panel manager to stop monitoring the specified taskgraph
|
public void monitorTaskGraph(TaskGraph taskgraph)
public void unmonitorTaskGraph(TaskGraph taskgraph)
public static ParameterPanel getParameterPanel(Task task)
public static boolean isParameterPanel(Task task)
public static boolean isInstantiatePanel(Task task)
public static void registerComponent(java.awt.Component panel, Task task) throws java.lang.Exception
java.lang.Exception
protected static ParameterPanel initGUIBuilderV2Panel(java.lang.String fullline, Task task)
protected static ParameterPanel initParameterPanel(Task task)
public static ParameterPanel createPanel(Task task) throws java.lang.Exception
java.lang.Exception
public void taskCreated(TaskGraphTaskEvent event)
taskCreated
in interface TaskGraphListener
public void taskRemoved(TaskGraphTaskEvent event)
taskRemoved
in interface TaskGraphListener
public void taskDisposed(TaskDisposedEvent event)
taskDisposed
in interface TaskListener
public void cableConnected(TaskGraphCableEvent event)
cableConnected
in interface TaskGraphListener
public void cableDisconnected(TaskGraphCableEvent event)
cableDisconnected
in interface TaskGraphListener
public void cableReconnected(TaskGraphCableEvent event)
cableReconnected
in interface TaskGraphListener
public void controlTaskStateChanged(ControlTaskStateEvent event)
controlTaskStateChanged
in interface TaskGraphListener
public void nodeAdded(TaskNodeEvent event)
nodeAdded
in interface TaskListener
public void nodeRemoved(TaskNodeEvent event)
nodeRemoved
in interface TaskListener
public void parameterUpdated(ParameterUpdateEvent event)
parameterUpdated
in interface TaskListener
public void taskPropertyUpdate(TaskPropertyEvent event)
taskPropertyUpdate
in interface TaskListener
public static ParameterWindow showParameterWindowFor(Task task, java.lang.Object source)
public static void hideParameterWindowFor(Task task)