public class MoveLayerablePlugIn extends AbstractPlugIn
Modifier and Type | Class and Description |
---|---|
static class |
MoveLayerablePlugIn.MoveLayerableDownPlugIn |
static class |
MoveLayerablePlugIn.MoveLayerableUpPlugIn |
Modifier and Type | Field and Description |
---|---|
static javax.swing.ImageIcon |
DOWNICON |
static javax.swing.ImageIcon |
UPICON |
shortcutKeys, shortcutModifiers
Modifier and Type | Method and Description |
---|---|
MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
protected int |
index(Layerable layerable) |
protected Layerable |
selectedLayerable(LayerNamePanel layerNamePanel) |
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getName, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, initialize, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public static final javax.swing.ImageIcon UPICON
public static final javax.swing.ImageIcon DOWNICON
protected Layerable selectedLayerable(LayerNamePanel layerNamePanel)
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
protected int index(Layerable layerable)
public MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)