public class PasteLayersPlugIn extends LayerableClipboardPlugIn
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MUST_BE_LAYERS |
static java.lang.String |
MUST_NOT_BE_EMPTY |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
PasteLayersPlugIn() |
Modifier and Type | Method and Description |
---|---|
MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
static javax.swing.Icon |
getIcon() |
java.lang.String |
getNameWithMnemonic() |
cloneLayer, cloneLayerable
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 java.lang.String MUST_NOT_BE_EMPTY
public static final java.lang.String MUST_BE_LAYERS
public java.lang.String getNameWithMnemonic()
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 MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public static javax.swing.Icon getIcon()