Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.function.extension
Class ParameterEditorExtension

java.lang.Object
  extended by de.cs3d.util.eclipse.extension.AbstractExtension<EditorFactory,ParameterEditorFactory>
      extended by eu.esdihumboldt.hale.ui.function.extension.ParameterEditorExtension
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.ObjectExtension<EditorFactory,ParameterEditorFactory>

public class ParameterEditorExtension
extends de.cs3d.util.eclipse.extension.AbstractExtension<EditorFactory,ParameterEditorFactory>

ParameterEditorFactory extension.

Author:
Simon Templer

Constructor Summary
ParameterEditorExtension()
          Default constructor.
 
Method Summary
 Editor<?> createEditor(org.eclipse.swt.widgets.Composite parent, String functionId, String parameterName)
          Create an editor for a parameter.
protected  ParameterEditorFactory createFactory(org.eclipse.core.runtime.IConfigurationElement conf)
           
static ParameterEditorExtension getInstance()
          Get the extension instance.
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractExtension
createCollection, getFactories, getFactories, getFactories, getFactory, getFactoryCollections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterEditorExtension

public ParameterEditorExtension()
Default constructor.

Method Detail

getInstance

public static ParameterEditorExtension getInstance()
Get the extension instance.

Returns:
the parameter page extension

createFactory

protected ParameterEditorFactory createFactory(org.eclipse.core.runtime.IConfigurationElement conf)
                                        throws Exception
Specified by:
createFactory in class de.cs3d.util.eclipse.extension.AbstractExtension<EditorFactory,ParameterEditorFactory>
Throws:
Exception
See Also:
AbstractExtension.createFactory(IConfigurationElement)

createEditor

public Editor<?> createEditor(org.eclipse.swt.widgets.Composite parent,
                              String functionId,
                              String parameterName)
Create an editor for a parameter.

Parameters:
parent - the parent composite
functionId - the ID of the function the parameter is associated with
parameterName - the parameter name
Returns:
the editor

Humboldt Alignment Editor 2.5.0

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