public class LoadDatasetPlugIn extends ThreadedBasePlugIn
| Modifier and Type | Field and Description |
|---|---|
protected DriverDialog |
addLayerDialog |
| Constructor and Description |
|---|
LoadDatasetPlugIn() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLayer(String categoryName) |
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, toStringprotected DriverDialog addLayerDialog
public 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 String getName()
PlugIngetName in interface PlugIngetName in class AbstractPlugInpublic 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 cancellationExceptionCopyright © 2015. All rights reserved.