eu.esdihumboldt.hale.ui.function.extension
Class ParameterEditorExtension
java.lang.Object
de.cs3d.util.eclipse.extension.AbstractExtension<EditorFactory,ParameterEditorFactory>
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
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 |
ParameterEditorExtension
public ParameterEditorExtension()
- Default constructor.
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 compositefunctionId
- the ID of the function the parameter is associated withparameterName
- the parameter name
- Returns:
- the editor
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d