Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.extension.transformation
Class AbstractTransformationFactory<T extends TransformationFunction<?>>

java.lang.Object
  extended by de.cs3d.util.eclipse.extension.AbstractObjectDefinition
      extended by de.cs3d.util.eclipse.extension.AbstractObjectFactory<T>
          extended by de.cs3d.util.eclipse.extension.AbstractConfigurationFactory<T>
              extended by eu.esdihumboldt.hale.common.align.extension.transformation.AbstractTransformationFactory<T>
Type Parameters:
T - the transformation function type
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.ExtensionObjectDefinition, de.cs3d.util.eclipse.extension.ExtensionObjectFactory<T>, de.cs3d.util.eclipse.extension.Prioritizable, TransformationFactory<T>, Comparable<de.cs3d.util.eclipse.extension.ExtensionObjectDefinition>
Direct Known Subclasses:
PropertyTransformationExtension.PropertyTransformationConfiguration, TypeTransformationExtension.TypeTransformationConfiguration

@Immutable
public abstract class AbstractTransformationFactory<T extends TransformationFunction<?>>
extends de.cs3d.util.eclipse.extension.AbstractConfigurationFactory<T>
implements TransformationFactory<T>

Base class for transformation function factories

Author:
Simon Templer

Field Summary
 
Fields inherited from class de.cs3d.util.eclipse.extension.AbstractConfigurationFactory
conf
 
Constructor Summary
protected AbstractTransformationFactory(org.eclipse.core.runtime.IConfigurationElement conf)
          Create a transformation function factory based on the given configuration element.
 
Method Summary
 void dispose(T instance)
           
 String getDisplayName()
           
 String getEngineId()
          Get the identifier of the engine the transformation must be executed with.
 Map<String,String> getExecutionParameters()
          Get the execution parameters for the transformation
 String getFunctionId()
          Get the identifier of the function the transformation implements.
 String getIdentifier()
           
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractConfigurationFactory
createExtensionObject, getIconURL, getTypeName
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractObjectFactory
allowConfigure, configure, getIconURL
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractObjectDefinition
compareTo, equals, getPriority, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.cs3d.util.eclipse.extension.ExtensionObjectFactory
allowConfigure, configure, createExtensionObject
 
Methods inherited from interface de.cs3d.util.eclipse.extension.ExtensionObjectDefinition
getIconURL, getTypeName
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

AbstractTransformationFactory

protected AbstractTransformationFactory(org.eclipse.core.runtime.IConfigurationElement conf)
Create a transformation function factory based on the given configuration element.

Parameters:
conf - the configuration element
Method Detail

dispose

public void dispose(T instance)
Specified by:
dispose in interface de.cs3d.util.eclipse.extension.ExtensionObjectFactory<T extends TransformationFunction<?>>
See Also:
ExtensionObjectFactory.dispose(Object)

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in interface de.cs3d.util.eclipse.extension.ExtensionObjectDefinition
See Also:
ExtensionObjectDefinition.getIdentifier()

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface de.cs3d.util.eclipse.extension.ExtensionObjectDefinition
See Also:
ExtensionObjectDefinition.getDisplayName()

getEngineId

public String getEngineId()
Description copied from interface: TransformationFactory
Get the identifier of the engine the transformation must be executed with.

Specified by:
getEngineId in interface TransformationFactory<T extends TransformationFunction<?>>
Returns:
the engine ID or null
See Also:
TransformationFactory.getEngineId()

getFunctionId

public String getFunctionId()
Description copied from interface: TransformationFactory
Get the identifier of the function the transformation implements.

Specified by:
getFunctionId in interface TransformationFactory<T extends TransformationFunction<?>>
Returns:
the ID of the associated function
See Also:
TransformationFactory.getFunctionId()

getExecutionParameters

public Map<String,String> getExecutionParameters()
Description copied from interface: TransformationFactory
Get the execution parameters for the transformation

Specified by:
getExecutionParameters in interface TransformationFactory<T extends TransformationFunction<?>>
Returns:
the defined execution parameters
See Also:
TransformationFactory.getExecutionParameters()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d