public class DiffSegmentsPlugIn extends ThreadedBasePlugIn
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
DiffSegmentsPlugIn() |
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 |
run(TaskMonitor monitor,
PlugInContext context)
Runs the task.
|
main
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, initialize, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize
public java.lang.String getName()
PlugIn
getName
in interface PlugIn
getName
in class AbstractPlugIn
public boolean execute(PlugInContext context) throws java.lang.Exception
PlugIn
false
to prevent the run method
from being called.execute
in interface PlugIn
execute
in class AbstractPlugIn
java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public void run(TaskMonitor monitor, PlugInContext context) throws java.lang.Exception
ThreadedPlugIn
monitor
- context to which this task can report its progress and
check whether a party has requested its cancellationjava.lang.Exception