public class SynchronizationPlugIn extends AbstractUiPlugIn
enableCheck, workbenchContext
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
SynchronizationPlugIn() |
SynchronizationPlugIn(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
desynchronize() |
boolean |
execute(PlugInContext context)
For this plugin, this method is unused
All the work is defined in action listeners
|
EnableCheck |
getEnableCheck() |
java.lang.String |
getName()
Get the name of the plug-in.
|
void |
initialize(PlugInContext context)
Method to be overridden by implementations to initialize the plug-in.
|
void |
synchronize(boolean panAndZoom) |
actionPerformed, getIcon, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContext
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isShortcutEnabled, registerShortcuts, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public SynchronizationPlugIn()
public SynchronizationPlugIn(java.lang.String name)
public void initialize(PlugInContext context) throws java.lang.Exception
AbstractUiPlugIn
initialize
in interface PlugIn
initialize
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
public java.lang.String getName()
AbstractUiPlugIn
getName
in interface PlugIn
getName
in class AbstractUiPlugIn
public EnableCheck getEnableCheck()
getEnableCheck
in interface EnableChecked
getEnableCheck
in class AbstractUiPlugIn
public void synchronize(boolean panAndZoom)
public void desynchronize()
public boolean execute(PlugInContext context) throws java.lang.Exception
execute
in interface PlugIn
execute
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn