public class PluginResourceMenu extends Object implements IPluginResource
| Constructor and Description |
|---|
PluginResourceMenu() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Returns the action that will be invoked when the menu item is clicked.
|
String |
getId()
Returns the id to be assigned to the newly created component.
|
String |
getPath()
Returns the path that determines where the associated menu item will appear under the common
menu.
|
void |
process(PluginContainer container)
Registers the menu resource with the container.
|
void |
setAction(String action)
Sets the action that will be invoked when the menu item is clicked.
|
void |
setId(String id)
Sets the id to be assigned to the newly created component.
|
void |
setPath(String path)
Sets the path that determines where the associated menu item will appear under the common
menu.
|
public String getPath()
public void setPath(String path)
path - The path that determines where the associated menu item will appear under the
common menu. A menu hierarchy can be specified by separating levels with backslash
characters.public String getAction()
public void setAction(String action)
action - The action to be invoked. This may be a url or a zscript action.public String getId()
public void setId(String id)
id - Component id (may be null).public void process(PluginContainer container)
process in interface IPluginResourcecontainer - A plugin container.Copyright © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.