public abstract class TreeContextMenuBase extends Object
| Constructor and Description |
|---|
TreeContextMenuBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdditionalMenuItems(org.richfaces.component.html.ContextMenu menu)
Override this method if any additional menu items need to be created in the menu.
|
protected void |
addMenuItem(String id,
String value,
boolean disabled) |
protected abstract List<MetricMenuItemDescriptor> |
getGraphToViewMenuItems()
The menu items of this menu must provide the metric token.
|
org.richfaces.component.html.ContextMenu |
getMenu() |
protected abstract List<String> |
getMenuHeaders() |
protected abstract QuickLinksDescriptor |
getMenuQuickLinks()
The descriptor describes the URLs to use for the individual links.
|
protected abstract List<MenuItemDescriptor> |
getOperationsMenuItems() |
protected abstract int |
getResourceTypeId() |
protected abstract List<MenuItemDescriptor> |
getViewChartsMenuItems() |
protected abstract void |
init()
Subclasses can initialize themselves in this method before the other methods are called.
|
void |
setMenu(org.richfaces.component.html.ContextMenu menu) |
protected abstract boolean |
shouldCreateMenu() |
public org.richfaces.component.html.ContextMenu getMenu()
public void setMenu(org.richfaces.component.html.ContextMenu menu)
throws Exception
Exceptionprotected abstract void init()
throws Exception
Exception - the initialization might failprotected abstract boolean shouldCreateMenu()
protected abstract List<String> getMenuHeaders()
protected abstract int getResourceTypeId()
protected abstract QuickLinksDescriptor getMenuQuickLinks()
protected void addAdditionalMenuItems(org.richfaces.component.html.ContextMenu menu)
menu - the context menu being created.protected abstract List<MenuItemDescriptor> getViewChartsMenuItems()
protected abstract List<MetricMenuItemDescriptor> getGraphToViewMenuItems()
protected abstract List<MenuItemDescriptor> getOperationsMenuItems()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.