|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.gui.navigation.contextmenu.TreeContextMenuBase
public abstract class TreeContextMenuBase
| Constructor Summary | |
|---|---|
TreeContextMenuBase()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeContextMenuBase()
| Method Detail |
|---|
public org.richfaces.component.html.ContextMenu getMenu()
public void setMenu(org.richfaces.component.html.ContextMenu menu)
throws Exception
Exception
protected void addMenuItem(String id,
String value,
boolean disabled)
protected 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||