Class RandomTrianglesPlugIn

java.lang.Object
com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
com.vividsolutions.jump.workbench.ui.plugin.test.RandomTrianglesPlugIn
All Implemented Interfaces:
EnableChecked, Iconified, PlugIn, Recordable, ShortcutEnabled

public class RandomTrianglesPlugIn extends AbstractPlugIn
  • Constructor Details

    • RandomTrianglesPlugIn

      public RandomTrianglesPlugIn()
  • Method Details

    • initialize

      public void initialize(PlugInContext context) throws Exception
      Description copied from interface: PlugIn
      Called when Workbench starts up to allow plugins to initialize themselves.
      Specified by:
      initialize in interface PlugIn
      Overrides:
      initialize in class AbstractPlugIn
      Parameters:
      context - context of the PlugIn
      Throws:
      Exception - if an exception occur during initialization
    • execute

      public boolean execute(PlugInContext context) throws org.locationtech.jts.io.ParseException, IOException
      Description copied from class: AbstractPlugIn
      Execute the PlugIn.
      Specified by:
      execute in interface PlugIn
      Overrides:
      execute in class AbstractPlugIn
      Parameters:
      context - context of this PlugIn
      Returns:
      true if the PlugIn has been executed
      Throws:
      org.locationtech.jts.io.ParseException
      IOException
      See Also:
    • execute

      public boolean execute(PlugInContext context, int layerSize) throws org.locationtech.jts.io.ParseException, IOException
      Throws:
      org.locationtech.jts.io.ParseException
      IOException
    • setCities

      public void setCities(List cities)