com.metamatrix.console.ui.views.users
Class GroupTabSelectionHandler
java.lang.Object
com.metamatrix.console.ui.views.users.GroupTabSelectionHandler
- All Implemented Interfaces:
- NotifyOnSelectionChange
public class GroupTabSelectionHandler
- extends java.lang.Object
- implements NotifyOnSelectionChange
Auxilliary class to UserTabMainPanel. The UserTabMainPanel will instaniate
one UserTabSelectionHandler, which will handle:
communicating with the UserManager re API calls
repopulating panels as a result of user actions
implementing and populating pop-up menus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOW_USERS_ON_GROUPS_TREE
public static final boolean SHOW_USERS_ON_GROUPS_TREE
- See Also:
- Constant Field Values
TOP_OF_METAMATRIX_BRANCH_INDICATOR
public static final java.lang.String TOP_OF_METAMATRIX_BRANCH_INDICATOR
- See Also:
- Constant Field Values
SIGNED_ON_USERNAME
public static java.lang.String SIGNED_ON_USERNAME
GroupTabSelectionHandler
public GroupTabSelectionHandler(GroupsManager mgr,
GroupsTabMainPanel mainPnl,
RolesList rl,
javax.swing.JPanel rPanel,
boolean viewsPrincipals,
boolean modifiesPrincipals,
boolean viewsRoles,
boolean modifiesRoles,
RepaintController rc)
setRolesList
public void setRolesList(RolesList rl)
getRightPanel
public javax.swing.JPanel getRightPanel()
principalCreated
public void principalCreated(MetaMatrixPrincipal principal)
selectionChanged
public void selectionChanged(java.awt.Component component,
java.lang.Object selectionObject)
- Description copied from interface:
NotifyOnSelectionChange
- Receive notification that selection in groups tree, users tree, or
roles list has changed.
- Specified by:
selectionChanged
in interface NotifyOnSelectionChange
- Parameters:
component
- Will be the groups tree, the users tree, or the roles listselectionObject
- The new selected item (single selection is assumed). For either tree, this is the selected node itself. For the roles list, this is the name of the selected role.
setProperty
public void setProperty(MetaMatrixPrincipal principal,
java.lang.String propertyName,
java.lang.String value)
getConnection
public ConnectionInfo getConnection()
getCurrentActions
public javax.swing.Action[] getCurrentActions()
getCurrentActionsAsList
public java.util.List getCurrentActionsAsList()
Copyright © 2009. All Rights Reserved.