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

Inheritance diagram for alma::acs::commandcenter::gui::DeploymentTree:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::commandcenter::gui::DeploymentTree:
Collaboration graph
[legend]

List of all members.

Classes

class  BackgroundAction
class  ClientContextMenu
class  ClientDisconnectAction
class  ClientLogoutAction
class  ClientMessageAction
class  ClientPingAction
class  ComponentContextMenu
class  ComponentForceReleaseAction
class  ComponentReleaseAction
class  ComponentRequestAction
class  ContainerContextMenu
class  ContainerDisconnectAction
class  ContainerLogoutAction
class  ContainerMessageAction
class  ContainerPingAction
class  ContainerShutdownAction
class  ContextMenu
class  FolderComponentsContextMenu
class  FolderContextMenu
class  FolderSortByContainerNameAction
class  FolderSortByNameAction
class  ManagerConnectionExceptionHandler
class  ManagerContextMenu
class  ManagerPingAction
class  ManagerRefreshAction
class  ManagerShutdownAction
class  ModelConverter
class  RemoveFromViewAction
class  Renderer
class  SelectionListener
class  SwingAction
class  TreeEventForwarder

Public Member Functions

 DeploymentTree (DeploymentTreeController ctrl)
 DeploymentTree (DeploymentTreeController ctrl, boolean allowControl)
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()

Private Member Functions

void runSwingNow (Runnable r)

Detailed Description

Author:
mschilli

Constructor & Destructor Documentation

alma::acs::commandcenter::gui::DeploymentTree::DeploymentTree ( DeploymentTreeController  ctrl  )  [inline]
alma::acs::commandcenter::gui::DeploymentTree::DeploymentTree ( DeploymentTreeController  ctrl,
boolean  allowControl 
) [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

References alma::acs::commandcenter::meta::MaciSupervisor::getManagerLocation(), getRoot(), and maciSupervisor().

Referenced by removeManager().

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.

References si::ijs::maci::ClientInfo::h, and maciSupervisor().

Referenced by alma::acs::commandcenter::gui::DeploymentTree::Renderer::getTreeCellRendererComponent().

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

Referenced by setViewFrozen(), and alma::acs::commandcenter::gui::DeploymentTree::ModelConverter::treeStructureChanged().

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]
void alma::acs::commandcenter::gui::DeploymentTree::runSwingNow ( Runnable  r  )  [inline, private]
void alma::acs::commandcenter::gui::DeploymentTree::setBusy ( boolean  b  )  [inline, protected]
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.

References isViewFrozen(), and modelConverters.

Referenced by alma::acs::commandcenter::gui::AddToDeployTree::ActionFreeze::myActionPerformed().

void alma::acs::commandcenter::gui::DeploymentTree::shieldedAddManager ( String  managerLoc  )  [inline]
void alma::acs::commandcenter::gui::DeploymentTree::shieldedForceReleaseComponent ( GuiMaciSupervisor  supervisor,
String  curl 
) [inline]
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 

References alma::acs::commandcenter::gui::DeploymentTree::ManagerConnectionExceptionHandler::handleException(), and mce.

Referenced by alma::acs::commandcenter::gui::DeploymentTree::ComponentRequestAction::actionPerformed().

void alma::acs::commandcenter::gui::DeploymentTree::shieldedLogoutClient ( GuiMaciSupervisor  supervisor,
ClientInfo  info 
) [inline]
void alma::acs::commandcenter::gui::DeploymentTree::shieldedLogoutContainer ( GuiMaciSupervisor  supervisor,
ContainerInfo  info 
) [inline]
void alma::acs::commandcenter::gui::DeploymentTree::shieldedPingManager ( GuiMaciSupervisor  supervisor  )  [inline]
void alma::acs::commandcenter::gui::DeploymentTree::shieldedRefreshManager ( GuiMaciSupervisor  supervisor  )  [inline]
void alma::acs::commandcenter::gui::DeploymentTree::shieldedReleaseComponents ( GuiMaciSupervisor  supervisor,
String[]  curls 
) [inline]
void alma::acs::commandcenter::gui::DeploymentTree::shieldedShutdownManager ( GuiMaciSupervisor  supervisor  )  [inline]
void alma::acs::commandcenter::gui::DeploymentTree::showContextMenu ( MouseEvent  evt  )  [inline, protected]
void alma::acs::commandcenter::gui::DeploymentTree::sortNode ( DefaultMutableTreeNode  node,
String  key 
) [inline, protected]
void alma::acs::commandcenter::gui::DeploymentTree::startAndAddMaciSupervisor ( GuiMaciSupervisor  mrf  )  throws NoPermissionEx, CannotRetrieveManagerException, CorbaTransientException, CorbaNotExistException, UnknownErrorException [inline, protected]

References addManager().

Referenced by shieldedAddManager().


Member Data Documentation

Referenced by DeploymentTree(), and showContextMenu().

Referenced by DeploymentTree(), and showContextMenu().

Referenced by DeploymentTree(), and showContextMenu().

Referenced by DeploymentTree(), and showContextMenu().

Referenced by DeploymentTree(), and showContextMenu().

Referenced by DeploymentTree(), and showContextMenu().

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

Referenced by addManager(), and DeploymentTree().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2