Class ViewSchemaPlugIn

    • Field Detail

    • Constructor Detail

      • ViewSchemaPlugIn

        public ViewSchemaPlugIn​(EditingPlugIn editingPlugIn)
      • ViewSchemaPlugIn

        public ViewSchemaPlugIn()
    • Method Detail

      • 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
        Overrides:
        getName in class AbstractPlugIn
        Returns:
        the class name, minus "PlugIn", with spaces inserted at the appropriate point before each uppercase+lowercase and lowercase+uppercase combination.
      • convert

        public Object convert​(Object from,
                              AttributeType fromType,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(String from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(org.locationtech.jts.geom.Geometry from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(Boolean from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(Integer from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(Long from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(Double from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(Date from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • convert

        public Object convert​(Object from,
                              AttributeType toType,
                              String attributeName,
                              boolean forcingInvalidConversionsToNull)
                       throws com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
        Throws:
        com.vividsolutions.jump.workbench.ui.plugin.ViewSchemaPlugIn.ConversionException
      • 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