public class MacroPlugIn extends AbstractPlugIn
| Constructor and Description |
|---|
MacroPlugIn(PlugIn[] plugIns) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
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.
|
createName, execute, execute, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toStringprotected PlugIn[] plugIns
public MacroPlugIn(PlugIn[] plugIns)
public void initialize(PlugInContext context) throws Exception
PlugIninitialize in interface PlugIninitialize in class AbstractPlugInExceptionpublic boolean execute(PlugInContext context) throws Exception
PlugInfalse to prevent the run method
from being called.execute in interface PlugInexecute in class AbstractPlugInException - if a problem occurs during plug-in executionThreadedPlugInpublic String getName()
PlugIngetName in interface PlugIngetName in class AbstractPlugInCopyright © 2015. All rights reserved.