public class MenuItemDescriptor extends Object
| Constructor and Description |
|---|
MenuItemDescriptor(String feature)
Creates a new menu item that exposes the specified feature.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFeature() |
List<MenuItemDescriptor> |
getSubMenu() |
void |
setFeature(String feature)
Sets the feature exposed by this menu item.
|
public MenuItemDescriptor(String feature)
feature - the feature namepublic String getFeature()
public void setFeature(String feature)
feature - the feature namepublic List<MenuItemDescriptor> getSubMenu()
Copyright © 2004–2015 XWiki. All rights reserved.