public class ZoomToSelectedItemsPlugIn extends AbstractPlugIn
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
ZoomToSelectedItemsPlugIn() |
Modifier and Type | Method and Description |
---|---|
static MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
void |
flash(java.util.Collection geometries,
LayerViewPanel panel) |
javax.swing.ImageIcon |
getIcon() |
void |
zoom(java.util.Collection geometries,
LayerViewPanel panel) |
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 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 zoom(java.util.Collection geometries, LayerViewPanel panel) throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
public static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
public void flash(java.util.Collection geometries, LayerViewPanel panel) throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
public javax.swing.ImageIcon getIcon()