Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::commandcenter::gui::DeploymentTree Class Reference

Collaboration diagram for alma::acs::commandcenter::gui::DeploymentTree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DeploymentTree (DeploymentTreeController ctrl)
void addManager (GuiMaciSupervisor mrfotogen) throws NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException
boolean removeManager (String managerLoc, boolean dismissManager)
void refreshManagers ()
void setViewFrozen (boolean newValue)
boolean isViewFrozen ()
void shieldedRefreshManager (GuiMaciSupervisor supervisor)
void shieldedAddManager (String managerLoc)
void shieldedPingManager (GuiMaciSupervisor supervisor)
void shieldedShutdownManager (GuiMaciSupervisor supervisor)
void shieldedLogoutContainer (GuiMaciSupervisor supervisor, ContainerInfo info)
void shieldedLogoutClient (GuiMaciSupervisor supervisor, ClientInfo info)
org.omg.CORBA.Object shieldedGetComponent (GuiMaciSupervisor supervisor, String curl) throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, ComponentConfigurationNotFoundEx
void shieldedReleaseComponents (GuiMaciSupervisor supervisor, String[] curls)
void shieldedForceReleaseComponent (GuiMaciSupervisor supervisor, String curl)

Protected Member Functions

void showContextMenu (MouseEvent evt)
GuiMaciSupervisor maciSupervisor (DefaultMutableTreeNode managerNode)
DefaultMutableTreeNode getRoot ()
DefaultTreeModel getTreeModel ()
GuiMaciSupervisor getMaciSupervisor (String managerLoc) throws OrbInitException
void startAndAddMaciSupervisor (GuiMaciSupervisor mrf) throws NoPermissionEx, CannotRetrieveManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException
DefaultMutableTreeNode getManagerNode (String managerLoc)
boolean isMyself (DefaultMutableTreeNode node)
void removeNode (DefaultMutableTreeNode node)
void sortNode (DefaultMutableTreeNode node, String key)
void setBusy (boolean b)

Protected Attributes

ContextMenu containerContextMenu
ContextMenu managerContextMenu
ContextMenu clientContextMenu
ContextMenu componentContextMenu
ContextMenu folderContextMenu
ContextMenu folderComponentsContextMenu
TreeEventForwarder treeEventForwarder
List< ModelConvertermodelConverters
Renderer cellRenderer
DefaultMutableTreeNode target
GuiMaciSupervisor selectedSupervisor
DeploymentTreeController ctrl
boolean isViewFrozen
final ManagerConnectionExceptionHandler mce = new ManagerConnectionExceptionHandler()

Detailed Description

Author:
mschilli


Constructor & Destructor Documentation

alma::acs::commandcenter::gui::DeploymentTree::DeploymentTree DeploymentTreeController  ctrl  )  [inline]
 


Member Function Documentation

void alma::acs::commandcenter::gui::DeploymentTree::addManager GuiMaciSupervisor  mrfotogen  )  throws NoPermissionEx, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline]
 

GuiMaciSupervisor alma::acs::commandcenter::gui::DeploymentTree::getMaciSupervisor String  managerLoc  )  throws OrbInitException [inline, protected]
 

DefaultMutableTreeNode alma::acs::commandcenter::gui::DeploymentTree::getManagerNode String  managerLoc  )  [inline, protected]
 

Finds the manager node with the given managerLocation inside

DefaultMutableTreeNode alma::acs::commandcenter::gui::DeploymentTree::getRoot  )  [inline, protected]
 

DefaultTreeModel alma::acs::commandcenter::gui::DeploymentTree::getTreeModel  )  [inline, protected]
 

boolean alma::acs::commandcenter::gui::DeploymentTree::isMyself DefaultMutableTreeNode  node  )  [inline, protected]
 

Little helper for the renderer. Just because it seems nice for the user. The specified node must contain a ClientInfo user object.

boolean alma::acs::commandcenter::gui::DeploymentTree::isViewFrozen  )  [inline]
 

This is public so outside code like a toggle button could update its state.

GuiMaciSupervisor alma::acs::commandcenter::gui::DeploymentTree::maciSupervisor DefaultMutableTreeNode  managerNode  )  [inline, protected]
 

void alma::acs::commandcenter::gui::DeploymentTree::refreshManagers  )  [inline]
 

boolean alma::acs::commandcenter::gui::DeploymentTree::removeManager String  managerLoc,
boolean  dismissManager
[inline]
 

void alma::acs::commandcenter::gui::DeploymentTree::removeNode DefaultMutableTreeNode  node  )  [inline, protected]
 

Removes an arbitrary node from the gui

void alma::acs::commandcenter::gui::DeploymentTree::setBusy boolean  b  )  [inline, protected]
 

Signals to the user that an action takes longer.

void alma::acs::commandcenter::gui::DeploymentTree::setViewFrozen boolean  newValue  )  [inline]
 

Will make the model converters pause, so the deployment trees remain unchanged so the user can navigate the trees without disturbance.

void alma::acs::commandcenter::gui::DeploymentTree::shieldedAddManager String  managerLoc  )  [inline]
 

void alma::acs::commandcenter::gui::DeploymentTree::shieldedForceReleaseComponent GuiMaciSupervisor  supervisor,
String  curl
[inline]
 

Force-release component (shielded)

org.omg.CORBA.Object alma::acs::commandcenter::gui::DeploymentTree::shieldedGetComponent GuiMaciSupervisor  supervisor,
String  curl
throws ComponentNotAlreadyActivatedEx, CannotGetComponentEx, ComponentConfigurationNotFoundEx [inline]
 

Retrieve component (shielded)

Returns:
component or null
Exceptions:
ComponentNotAlreadyActivatedEx 
CannotGetComponentEx 
ComponentConfigurationNotFoundEx 

void alma::acs::commandcenter::gui::DeploymentTree::shieldedLogoutClient GuiMaciSupervisor  supervisor,
ClientInfo  info
[inline]
 

Logout Client (shielded)

void alma::acs::commandcenter::gui::DeploymentTree::shieldedLogoutContainer GuiMaciSupervisor  supervisor,
ContainerInfo  info
[inline]
 

Logout Container (shielded)

void alma::acs::commandcenter::gui::DeploymentTree::shieldedPingManager GuiMaciSupervisor  supervisor  )  [inline]
 

Ping Manager (shielded)

void alma::acs::commandcenter::gui::DeploymentTree::shieldedRefreshManager GuiMaciSupervisor  supervisor  )  [inline]
 

void alma::acs::commandcenter::gui::DeploymentTree::shieldedReleaseComponents GuiMaciSupervisor  supervisor,
String[]  curls
[inline]
 

Release components (shielded)

void alma::acs::commandcenter::gui::DeploymentTree::shieldedShutdownManager GuiMaciSupervisor  supervisor  )  [inline]
 

Shutdown Manager (shielded)

void alma::acs::commandcenter::gui::DeploymentTree::showContextMenu MouseEvent  evt  )  [inline, protected]
 

Parameters:
evt 

void alma::acs::commandcenter::gui::DeploymentTree::sortNode DefaultMutableTreeNode  node,
String  key
[inline, protected]
 

Rearranges the node's children using the InfoDetail key.

void alma::acs::commandcenter::gui::DeploymentTree::startAndAddMaciSupervisor GuiMaciSupervisor  mrf  )  throws NoPermissionEx, CannotRetrieveManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline, protected]
 


Member Data Documentation

Renderer alma::acs::commandcenter::gui::DeploymentTree::cellRenderer [protected]
 

ContextMenu alma::acs::commandcenter::gui::DeploymentTree::clientContextMenu [protected]
 

ContextMenu alma::acs::commandcenter::gui::DeploymentTree::componentContextMenu [protected]
 

ContextMenu alma::acs::commandcenter::gui::DeploymentTree::containerContextMenu [protected]
 

DeploymentTreeController alma::acs::commandcenter::gui::DeploymentTree::ctrl [protected]
 

ContextMenu alma::acs::commandcenter::gui::DeploymentTree::folderComponentsContextMenu [protected]
 

ContextMenu alma::acs::commandcenter::gui::DeploymentTree::folderContextMenu [protected]
 

boolean alma::acs::commandcenter::gui::DeploymentTree::isViewFrozen [protected]
 

ContextMenu alma::acs::commandcenter::gui::DeploymentTree::managerContextMenu [protected]
 

final ManagerConnectionExceptionHandler alma::acs::commandcenter::gui::DeploymentTree::mce = new ManagerConnectionExceptionHandler() [protected]
 

List<ModelConverter> alma::acs::commandcenter::gui::DeploymentTree::modelConverters [protected]
 

GuiMaciSupervisor alma::acs::commandcenter::gui::DeploymentTree::selectedSupervisor [protected]
 

DefaultMutableTreeNode alma::acs::commandcenter::gui::DeploymentTree::target [protected]
 

TreeEventForwarder alma::acs::commandcenter::gui::DeploymentTree::treeEventForwarder [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:51:43 2009 for ACS Java API by doxygen 1.3.8