public class PluginResourceHelp extends Object implements IPluginResource
There are essentially two ways to declare a help resource, one for internal help resources and one for external help resources:
| Constructor and Description |
|---|
PluginResourceHelp() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Returns the action that will be invoked when the associated menu item is clicked.
|
String |
getModule()
Returns the id of the associated help module.
|
String |
getPath()
Returns the path that determines where the associated menu item will appear under the help
submenu.
|
String |
getTopic()
Returns the topic id associated with this help resource.
|
void |
process(PluginContainer container)
Registers the help resource with the container.
|
void |
setAction(String action)
Sets the action that will be invoked when the associated menu item is clicked.
|
void |
setModule(String module)
Sets the id of the associated help module.
|
void |
setPath(String path)
Sets the path that determines where the associated menu item will appear under the help
submenu.
|
void |
setTopic(String topic)
Sets the topic id associated with this help resource.
|
public String getPath()
public void setPath(String path)
path - The path that determines where the associated menu item will appear under the
help submenu. 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 to display the help content. This may be a url or a
zscript action.public String getTopic()
public void setTopic(String topic)
topic - The id of the topic to be displayed, or empty to display the default topic.public String getModule()
public void setModule(String module)
module - The id of the associated help module.public void process(PluginContainer container)
process in interface IPluginResourcecontainer - A plugin container.Copyright © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.