Class SaveToH2PlugIn

java.lang.Object
org.openjump.core.ui.plugin.datastore.h2.SaveToH2PlugIn
All Implemented Interfaces:
PlugIn

public class SaveToH2PlugIn extends Object implements PlugIn
This plugin is a write-only driver for a data source backed by a H2 database. Note : it uses the same WritableDataStoreDataSource as the AddWritableDataStoreLayerWizard This plugin is not initialized until it is added in the default-plugin.xml file along with H2GIS jar files or in an extension.
  • Constructor Details

    • SaveToH2PlugIn

      public SaveToH2PlugIn()
  • Method Details

    • initialize

      public void initialize(PlugInContext context)
      Initializes the plugin by creating the data source and data source query choosers.
      Specified by:
      initialize in interface PlugIn
      Parameters:
      context - context of the PlugIn
      See Also:
    • execute

      public boolean execute(PlugInContext context)
      This function always returns false.
      Specified by:
      execute in interface PlugIn
      Parameters:
      context - context of this PlugIn
      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.
      See Also:
    • getName

      public String getName()
      Description copied from interface: PlugIn
      Returns a very brief description of this PlugIn e.g. for display as a menu item
      Specified by:
      getName in interface PlugIn
      Returns:
      the name of this PlugIn
      See Also: