org.rhq.enterprise.gui.navigation.group
Class ResourceGroupTreeContextMenuUIBean
java.lang.Object
org.rhq.enterprise.gui.navigation.contextmenu.TreeContextMenuBase
org.rhq.enterprise.gui.navigation.group.ResourceGroupTreeContextMenuUIBean
public class ResourceGroupTreeContextMenuUIBean
- extends TreeContextMenuBase
- Author:
- Greg Hinkle, Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceGroupTreeContextMenuUIBean
public ResourceGroupTreeContextMenuUIBean()
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
addAdditionalMenuItems
protected void addAdditionalMenuItems(org.richfaces.component.html.ContextMenu menu)
- Description copied from class:
TreeContextMenuBase
- Override this method if any additional menu items need to be created in the menu.
This method is called after the quick links are added to the provided menu.
- Overrides:
addAdditionalMenuItems in class TreeContextMenuBase
- Parameters:
menu - the context menu being created.
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.