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.
|
mainaddParameter, 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, toStringpublic static final int RECENT_MENU_LIST_MAX
public java.lang.String getName()
PlugIngetName in interface PlugIngetName in class AbstractPlugInpublic void initialize(PlugInContext context) throws java.lang.Exception
PlugIninitialize in interface PlugIninitialize in class AbstractPlugInjava.lang.Exceptionpublic boolean execute(PlugInContext context) throws java.lang.Exception
PlugInfalse to prevent the run method
from being called.execute in interface PlugInexecute in class AbstractPlugInjava.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInpublic void run(TaskMonitor monitor, PlugInContext context) throws java.lang.Exception
ThreadedPlugInmonitor - context to which this task can report its progress and
check whether a party has requested its cancellationjava.lang.Exceptionpublic void open(java.io.File file,
WorkbenchFrame workbenchFrame)
throws java.lang.Exception
java.lang.Exceptionpublic 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