| java.lang.Object org.cougaar.mlm.debug.ui.UITreeDisplay
UITreeDisplay | public class UITreeDisplay implements Runnable,ActionListener(Code) | | Displays information in a tree.
This supports dynamically expanded nodes (expanded when the
user clicks on a tree node to display more information) and dynamically
updated nodes (updated when listeners on the underlying information
are notified of changes).
|
Method Summary | |
public void | actionPerformed(ActionEvent e) Called when:
the user invokes the save function; saves the tree to a file. | public void | run() Create the root node of the tree and the window to display it in. |
UITreeDisplay | public UITreeDisplay(UIPlugin uiPlugin, String planName, MessageAddress clusterId, String command)(Code) | | Display the specified data in a tree.
All the work is done in the run method so
that the main user interface thread which creates this,
isn't waiting to fetch the information needed for the tree.
Parameters: uiPlugin - this user interface plugin Parameters: planName - the name of the plan for which to display information Parameters: clusterId - the cluster for which to display information Parameters: command - UIDisplay.PLAN_COMMAND, PLAN_DETAILS_COMMAND, TASKS_COMMAND, WORKFLOWS_COMMAND, CLUSTER_ASSETS_COMMAND, ALL_ASSETS_COMMAND |
actionPerformed | public void actionPerformed(ActionEvent e)(Code) | | Called when:
the user invokes the save function; saves the tree to a file.
the user invokes the update function; fetches new data and reloads the tree.
the user invokes the expand action; expands the tree
Parameters: e - the action event for the save menu |
run | public void run()(Code) | | Create the root node of the tree and the window to display it in.
Fill in the tree here so that delays in accessing information
from clusters don't affect the main user interface thread.
|
|
|