public class ViewAttributesPlugIn extends AbstractPlugIn
Modifier and Type | Class and Description |
---|---|
static class |
ViewAttributesPlugIn.ViewAttributesFrame |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BB_ATTRIBUTES_WINDOW_POSITION_X |
static java.lang.String |
BB_ATTRIBUTES_WINDOW_POSITION_Y |
static java.lang.String |
BB_ATTRIBUTES_WINDOW_SIZE_HEIGHT |
static java.lang.String |
BB_ATTRIBUTES_WINDOW_SIZE_WIDTH |
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
ViewAttributesPlugIn() |
Modifier and Type | Method and Description |
---|---|
MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
static javax.swing.ImageIcon |
getIcon() |
java.lang.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.
|
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public static final java.lang.String BB_ATTRIBUTES_WINDOW_SIZE_WIDTH
public static final java.lang.String BB_ATTRIBUTES_WINDOW_SIZE_HEIGHT
public static final java.lang.String BB_ATTRIBUTES_WINDOW_POSITION_X
public static final java.lang.String BB_ATTRIBUTES_WINDOW_POSITION_Y
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractPlugIn
java.lang.Exception
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 MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public static javax.swing.ImageIcon getIcon()