public abstract class AbstractAddDatastoreLayerPlugIn extends AbstractThreadedUiPlugIn
enableCheck, workbenchContext
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
AbstractAddDatastoreLayerPlugIn() |
Modifier and Type | Method and Description |
---|---|
protected abstract Layerable |
createLayerable(ConnectionPanel panel,
TaskMonitor monitor,
PlugInContext context) |
protected abstract ConnectionPanel |
createPanel(PlugInContext context) |
boolean |
execute(PlugInContext context)
Method to be overridden by implementations to execute the plug-in.
|
protected OKCancelDialog |
getDialog(PlugInContext context) |
protected ConnectionPanel |
panel(PlugInContext context) |
void |
run(TaskMonitor monitor,
PlugInContext context)
Runs the task.
|
actionPerformed, getEnableCheck, getIcon, getName, getToolTip, initialize, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, initialize
public boolean execute(PlugInContext context) throws java.lang.Exception
AbstractUiPlugIn
execute
in interface PlugIn
execute
in class AbstractUiPlugIn
context
- The plug-in context.java.lang.Exception
- if a problem occurs during plug-in executionThreadedPlugIn
public void run(TaskMonitor monitor, PlugInContext context) throws java.lang.Exception
ThreadedPlugIn
monitor
- context to which this task can report its progress and
check whether a party has requested its cancellationjava.lang.Exception
protected abstract Layerable createLayerable(ConnectionPanel panel, TaskMonitor monitor, PlugInContext context) throws java.lang.Exception
java.lang.Exception
protected OKCancelDialog getDialog(PlugInContext context)
protected ConnectionPanel panel(PlugInContext context)
protected abstract ConnectionPanel createPanel(PlugInContext context)