public class OpenProjectPlugIn extends ThreadedBasePlugIn
Modifier and Type | Class and Description |
---|---|
class |
OpenProjectPlugIn.FindFile
Deprecated.
|
class |
OpenProjectPlugIn.PathPrefixes
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static int |
RECENT_MENU_LIST_MAX
Deprecated.
|
shortcutKeys, shortcutModifiers
Constructor and Description |
---|
OpenProjectPlugIn()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PlugInContext context)
Deprecated.
Performs the action for this plugin.
|
java.lang.String |
getName()
Deprecated.
Returns a very brief description of this PlugIn e.g. for display as a menu item
|
static java.util.ArrayList |
getRecentList(WorkbenchContext context)
Deprecated.
|
void |
initialize(PlugInContext context)
Deprecated.
Called when Workbench starts up to allow plugins to initialize themselves.
|
static void |
load(Layer layer,
CoordinateSystemRegistry registry,
TaskMonitor monitor)
Deprecated.
|
void |
open(java.io.File file,
WorkbenchFrame workbenchFrame)
Deprecated.
|
static void |
putRecentList(WorkbenchContext context,
java.lang.String path)
Deprecated.
|
void |
run(TaskMonitor monitor,
PlugInContext context)
Deprecated.
Runs the task.
|
main
addParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isRollingBackInvalidEdits, isShortcutEnabled, registerShortcuts, reportNothingToUndoYet, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toString
public static final int RECENT_MENU_LIST_MAX
public java.lang.String getName()
PlugIn
getName
in interface PlugIn
getName
in class AbstractPlugIn
public void initialize(PlugInContext context) throws java.lang.Exception
PlugIn
initialize
in interface PlugIn
initialize
in class AbstractPlugIn
java.lang.Exception
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 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
public void open(java.io.File file, WorkbenchFrame workbenchFrame) throws java.lang.Exception
java.lang.Exception
public static java.util.ArrayList getRecentList(WorkbenchContext context)
public static void putRecentList(WorkbenchContext context, java.lang.String path)
public static void load(Layer layer, CoordinateSystemRegistry registry, TaskMonitor monitor) throws java.lang.Exception
java.lang.Exception