Class RandomTrianglesPlugIn
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.plugin.AbstractPlugIn
-
- org.locationtech.jts.jump.workbench.ui.plugin.test.RandomTrianglesPlugIn
-
- All Implemented Interfaces:
PlugIn
public class RandomTrianglesPlugIn extends AbstractPlugIn
-
-
Constructor Summary
Constructors Constructor Description RandomTrianglesPlugIn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(PlugInContext context)Performs the action for this plugin.booleanexecute(PlugInContext context, int layerSize)voidinitialize(PlugInContext context)Called when Workbench starts up to allow plugins to initialize themselves.voidsetCities(List cities)-
Methods inherited from class org.locationtech.jts.jump.workbench.plugin.AbstractPlugIn
createName, execute, execute, getName, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toString
-
-
-
-
Method Detail
-
initialize
public void initialize(PlugInContext context) throws Exception
Description copied from interface:PlugInCalled when Workbench starts up to allow plugins to initialize themselves.- Specified by:
initializein interfacePlugIn- Overrides:
initializein classAbstractPlugIn- Throws:
Exception
-
execute
public boolean execute(PlugInContext context) throws org.locationtech.jts.io.ParseException, IOException
Description copied from interface:PlugInPerforms the action for this plugin. For threaded plugins with dialogs, this method contains the code to invoke the dialog. If the user cancels the dialog, this method should returnfalseto prevent the run method from being called.- Specified by:
executein interfacePlugIn- Overrides:
executein classAbstractPlugIn- Returns:
- true if the action completed, false if it was aborted. Used by ThreadedPlugIns to indicate that their #run method needn't be called next.
- Throws:
org.locationtech.jts.io.ParseExceptionIOException- See Also:
ThreadedPlugIn
-
execute
public boolean execute(PlugInContext context, int layerSize) throws org.locationtech.jts.io.ParseException, IOException
- Throws:
org.locationtech.jts.io.ParseExceptionIOException
-
setCities
public void setCities(List cities)
-
-