Public Member Functions | |
LogLvlTreeModel (ORB theOrb, Logger theLogger) | |
void | start () throws Exception |
void | stop () |
void | refreshTree () |
DefaultMutableTreeNode | findNode (DefaultMutableTreeNode node, String name, int handle) |
void | clientLoggedIn (ClientInfo clientInfo) |
void | clientLoggedOut (int clientHandle) |
void | componentLoggedIn (ComponentInfo compInfo) |
void | componentReleased (ComponentInfo compInfo) |
void | componentLoggedOut (int compHandle) |
void | containerLoggedIn (ContainerInfo contInfo) |
void | containerLoggedOut (int conthandle) |
void | showComponents (boolean show) |
void | showClients (boolean show) |
Manager | getManagerRef () |
Private Member Functions | |
void | buildClientsNode () |
void | buildContainersNode () |
void | buildComponentsNode () |
String | formatManagerLoc (String manLoc) |
boolean | checkNodeContent (DefaultMutableTreeNode node, String name, int handle) |
void | updateComponent (ComponentInfo info) |
void | removeComponent (int handle) |
void | removeFromComponentSubtree (int compHandle) |
void | addNode (TreeContentInfo newItem, DefaultMutableTreeNode node) |
Private Attributes | |
AdministratorClient | admin = null |
ORB | orb = null |
Logger | log = null |
DefaultMutableTreeNode | managerNode = null |
DefaultMutableTreeNode | clientsNode = new NoLeafNode("Clients") |
DefaultMutableTreeNode | containersNode = new NoLeafNode("Containers") |
DefaultMutableTreeNode | componentsNode = new NoLeafNode("Components") |
|
Constructor |
|
Add an entry to a node. The new node is inserted ordered by its name.
|
|
Build the node of clients by reading the active clients
|
|
Build the list of components by reading the running components
|
|
Build the node of containers by reading the active containers |
|
Check the content of the passed node. The check is done taking the content of the Node and checking if its name (or handle) is equal to the passed parameter. The comparison is done on the name if the name param is not null, otherwise on the handle. If the node is the root, name is checked against the string or rootNode
|
|
Implements alma::acs::gui::loglevel::tree::LogLevelListener.
|
|
Implements alma::acs::gui::loglevel::tree::LogLevelListener.
|
|
Implements alma::acs::gui::loglevel::tree::LogLevelListener.
|
|
Implements alma::acs::gui::loglevel::tree::LogLevelListener.
|
|
Implements alma::acs::gui::loglevel::tree::LogLevelListener.
|
|
Implements alma::acs::gui::loglevel::tree::LogLevelListener.
|
|
Implements alma::acs::gui::loglevel::tree::LogLevelListener.
|
|
Navigate the tree to find a container with the given name or handle. The search begins from the passed node and scans all the childs until it finds the node. The search is done comparing the name with the name of the item hold by the tree node and its childreen. If the name param is null, the handle is used. The method is recursive.
|
|
Fromat the manager loc in a more readable string
|
|
Return the manager reference
|
|
Build the tree. It read the clients, components and containers and add them to the tree. |
|
Remove all the occurrencies of the component with the given handle from the tree
|
|
Remove a node from the subtree of components
|
|
show/hide the clients subtree
|
|
show/hide the components subtree
|
|
Start the computation
|
|
Terminate the computation |
|
Add a component to its container if it is not already there
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|