public class ShowTriangulationPlugIn extends AbstractPlugIn
| Modifier and Type | Field and Description |
|---|---|
static String |
DESTINATION_LAYER_NAME |
static String |
SOURCE_LAYER_NAME |
| Constructor and Description |
|---|
ShowTriangulationPlugIn(WarpingPanel warpingPanel) |
| Modifier and Type | Method and Description |
|---|---|
UndoableCommand |
addLayerGeneration(UndoableCommand wrappeeCommand,
WorkbenchContext context,
boolean createLayersIfNonExistent) |
static UndoableCommand |
addUndo(UndoableCommand wrappeeCommand,
LayerManagerProxy proxy) |
EnableCheck |
createEnableCheck(WorkbenchContext context) |
boolean |
execute(PlugInContext context)
Performs the action for this plugin.
|
Icon |
getIcon() |
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves.
|
createName, execute, execute, getName, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toStringpublic static final String SOURCE_LAYER_NAME
public static final String DESTINATION_LAYER_NAME
public ShowTriangulationPlugIn(WarpingPanel warpingPanel)
public void initialize(PlugInContext context) throws Exception
PlugIninitialize in interface PlugIninitialize in class AbstractPlugInExceptionpublic EnableCheck createEnableCheck(WorkbenchContext context)
public 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 UndoableCommand addLayerGeneration(UndoableCommand wrappeeCommand, WorkbenchContext context, boolean createLayersIfNonExistent)
public static UndoableCommand addUndo(UndoableCommand wrappeeCommand, LayerManagerProxy proxy)
public Icon getIcon()
Copyright © 2015. All rights reserved.