public class MacroPlugIn extends AbstractPlugIn
| Modifier and Type | Field and Description | 
|---|---|
protected PlugIn[] | 
plugIns  | 
shortcutKeys, shortcutModifiers| Constructor and Description | 
|---|
MacroPlugIn(PlugIn[] plugIns)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
execute(PlugInContext context)
Performs the action for this plugin. 
 | 
java.lang.String | 
getName()
Returns a very brief description of this PlugIn e.g. for display as a menu item 
 | 
void | 
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves. 
 | 
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toStringprotected PlugIn[] plugIns
public MacroPlugIn(PlugIn[] plugIns)
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIninitialize in interface PlugIninitialize in class AbstractPlugInjava.lang.Exceptionpublic boolean execute(PlugInContext context) throws java.lang.Exception
PlugInfalse to prevent the run method
 from being called.execute in interface PlugInexecute in class AbstractPlugInjava.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInpublic java.lang.String getName()
PlugIngetName in interface PlugIngetName in class AbstractPlugIn