public class DuplicateItemPlugIn extends AbstractPlugIn
| Modifier and Type | Field and Description |
|---|---|
static javax.swing.ImageIcon |
ICON |
shortcutKeys, shortcutModifiers| Constructor and Description |
|---|
DuplicateItemPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
static MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
javax.swing.ImageIcon |
getIcon() |
java.lang.String |
getName()
Returns a very brief description of this PlugIn e.g. for display as a menu item
|
java.lang.String |
getNameWithMnemonic() |
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, toStringpublic java.lang.String getName()
PlugIngetName in interface PlugIngetName in class AbstractPlugInpublic 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 javax.swing.ImageIcon getIcon()
public java.lang.String getNameWithMnemonic()
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)