public class LoadDatasetPlugIn extends ThreadedBasePlugIn
DataSourceQueryChooserDialog| Constructor and Description |
|---|
LoadDatasetPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
static MultiEnableCheck |
createEnableCheck(WorkbenchContext workbenchContext) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
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.
|
void |
run(TaskMonitor monitor,
PlugInContext context)
Runs the task.
|
maincreateName, execute, execute, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toStringpublic String getName()
PlugIngetName in interface PlugIngetName in class AbstractPlugInpublic void initialize(PlugInContext context) throws Exception
PlugIninitialize in interface PlugIninitialize in class AbstractPlugInExceptionpublic boolean execute(PlugInContext context) throws Exception
PlugInfalse to prevent the run method
from being called.execute in interface PlugInexecute in class AbstractPlugInException - if a problem occurs during plug-in executionThreadedPlugInpublic void run(TaskMonitor monitor, PlugInContext context) throws Exception
ThreadedPlugInmonitor - context to which this task can report its progress and
check whether a party has requested its cancellationExceptionpublic static MultiEnableCheck createEnableCheck(WorkbenchContext workbenchContext)
Copyright © 2015. All rights reserved.