public class PluginResourceAction extends Object implements IPluginResource
| Constructor and Description |
|---|
PluginResourceAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the unique id associated with the action.
|
String |
getLabel()
Returns the label of the action.
|
String |
getScript()
Returns the script of the action.
|
void |
register(CareWebShell shell,
ElementBase owner,
boolean register)
Registers/unregisters an action resource.
|
void |
setId(String id)
Sets the unique id associated with the action.
|
void |
setLabel(String label)
Sets the label of the action.
|
void |
setScript(String script)
Sets the script of the action.
|
public String getId()
public void setId(String id)
id - The action's unique id.public String getLabel()
public void setLabel(String label)
label - The new label.public String getScript()
public void setScript(String script)
script - The new script.public void register(CareWebShell shell, ElementBase owner, boolean register)
register in interface IPluginResourceshell - The running shell.owner - Owner of the resource.register - If true, register the resource. If false, unregister it.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.