org.rhq.enterprise.gui.navigation.resource
Class AutoGroupTreeContextMenuUIBean
java.lang.Object
org.rhq.enterprise.gui.navigation.contextmenu.TreeContextMenuBase
org.rhq.enterprise.gui.navigation.resource.AutoGroupTreeContextMenuUIBean
public class AutoGroupTreeContextMenuUIBean
- extends TreeContextMenuBase
Backing bean for the tree context menu of auto groups.
- Author:
- Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoGroupTreeContextMenuUIBean
public AutoGroupTreeContextMenuUIBean()
init
protected void init()
throws Exception
- Description copied from class:
TreeContextMenuBase
- Subclasses can initialize themselves in this method before the other methods are called.
- Specified by:
init in class TreeContextMenuBase
- Throws:
Exception - the initialization might fail
getMenuHeaders
protected List<String> getMenuHeaders()
- Specified by:
getMenuHeaders in class TreeContextMenuBase
- Returns:
- List of strings to be used as the menu headers. For each such string a disabled menu item is created.
getMenuQuickLinks
protected QuickLinksDescriptor getMenuQuickLinks()
- Description copied from class:
TreeContextMenuBase
- The descriptor describes the URLs to use for the individual links.
If any of the properties in the descriptor is left null, no quick link
is created for the corresponding item even if there are enough privileges
for the user to access such tab.
- Specified by:
getMenuQuickLinks in class TreeContextMenuBase
- Returns:
- the descriptor for the quick links to be created
getViewChartsMenuItems
protected List<MenuItemDescriptor> getViewChartsMenuItems()
- Specified by:
getViewChartsMenuItems in class TreeContextMenuBase
getGraphToViewMenuItems
protected List<MetricMenuItemDescriptor> getGraphToViewMenuItems()
- Description copied from class:
TreeContextMenuBase
- The menu items of this menu must provide the metric token.
- Specified by:
getGraphToViewMenuItems in class TreeContextMenuBase
- Returns:
- the list of menu items for the "Graph To View" sub menu
getOperationsMenuItems
protected List<MenuItemDescriptor> getOperationsMenuItems()
- Specified by:
getOperationsMenuItems in class TreeContextMenuBase
getResourceTypeId
protected int getResourceTypeId()
- Specified by:
getResourceTypeId in class TreeContextMenuBase
- Returns:
- the resource type id of the current item in the nav tree.
shouldCreateMenu
protected boolean shouldCreateMenu()
- Specified by:
shouldCreateMenu in class TreeContextMenuBase
- Returns:
- true if the menu should be rendered, false otherwise
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.