Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.function.extension.impl
Class ParameterEditorFactoryImpl

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<EditorFactory>
              extended by eu.esdihumboldt.hale.ui.function.extension.impl.ParameterEditorFactoryImpl
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.ExtensionObjectDefinition, de.cs3d.util.eclipse.extension.ExtensionObjectFactory<EditorFactory>, de.cs3d.util.eclipse.extension.Prioritizable, ParameterEditorFactory, Comparable<de.cs3d.util.eclipse.extension.ExtensionObjectDefinition>

public class ParameterEditorFactoryImpl
extends de.cs3d.util.eclipse.extension.AbstractConfigurationFactory<EditorFactory>
implements ParameterEditorFactory

Editor factory based on a configuration element.

Author:
Simon Templer

Field Summary
 
Fields inherited from class de.cs3d.util.eclipse.extension.AbstractConfigurationFactory
conf
 
Constructor Summary
ParameterEditorFactoryImpl(org.eclipse.core.runtime.IConfigurationElement conf)
          Create a parameter page factory based on the given configuration element.
 
Method Summary
 void dispose(EditorFactory instance)
           
 FunctionParameter getAssociatedParameter()
          Get the associated parameter.
 String getDisplayName()
           
 String getFunctionId()
          Get the ID of the associated function.
 String getIdentifier()
           
 String getParameterName()
          Get the name of the associated parameter.
 int getPriority()
           
 
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, 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

ParameterEditorFactoryImpl

public ParameterEditorFactoryImpl(org.eclipse.core.runtime.IConfigurationElement conf)
Create a parameter page factory based on the given configuration element.

Parameters:
conf - the configuration element
Method Detail

getPriority

public int getPriority()
Specified by:
getPriority in interface de.cs3d.util.eclipse.extension.Prioritizable
Overrides:
getPriority in class de.cs3d.util.eclipse.extension.AbstractObjectDefinition
See Also:
AbstractObjectDefinition.getPriority()

dispose

public void dispose(EditorFactory instance)
Specified by:
dispose in interface de.cs3d.util.eclipse.extension.ExtensionObjectFactory<EditorFactory>
See Also:
ExtensionObjectFactory.dispose(java.lang.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()

getFunctionId

public String getFunctionId()
Description copied from interface: ParameterEditorFactory
Get the ID of the associated function.

Specified by:
getFunctionId in interface ParameterEditorFactory
Returns:
the function ID
See Also:
ParameterEditorFactory.getFunctionId()

getParameterName

public String getParameterName()
Description copied from interface: ParameterEditorFactory
Get the name of the associated parameter.

Specified by:
getParameterName in interface ParameterEditorFactory
Returns:
the name of the parameter the editor is associated with
See Also:
ParameterEditorFactory.getParameterName()

getAssociatedParameter

public FunctionParameter getAssociatedParameter()
Description copied from interface: ParameterEditorFactory
Get the associated parameter.

Specified by:
getAssociatedParameter in interface ParameterEditorFactory
Returns:
the associated parameter
See Also:
ParameterEditorFactory.getAssociatedParameter()

Humboldt Alignment Editor 2.5.0

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