T
- the function definition typepublic abstract class AbstractFunctionWizardDescriptor<T extends AbstractFunction<?>> extends de.cs3d.util.eclipse.extension.AbstractConfigurationFactory<FunctionWizardFactory> implements FunctionWizardDescriptor<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractFunctionWizardDescriptor(org.eclipse.core.runtime.IConfigurationElement conf)
Create a function wizard descriptor based on the given configuration
element
|
Modifier and Type | Method and Description |
---|---|
protected abstract FunctionWizardFactory |
createDefaultFactory()
Create the default function wizard factory for the function if none is
explicitly defined or its creation fails.
|
FunctionWizard |
createEditWizard(Cell cell)
Creates a wizard for editing an existing cell.
|
FunctionWizardFactory |
createExtensionObject() |
FunctionWizard |
createNewWizard(SchemaSelection schemaSelection)
Creates a wizard for creating a new cell based on the given schema
selection.
|
void |
dispose(FunctionWizardFactory instance) |
String |
getDisplayName() |
protected FunctionWizardFactory |
getFactory()
Get the associated function wizard factory
|
String |
getFunctionId()
Get the ID of the associated function
|
URL |
getIconURL() |
String |
getIdentifier() |
getIconURL, getTypeName
allowConfigure, configure
compareTo, equals, getPriority, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getFunction
allowConfigure, configure
getTypeName
compareTo
protected AbstractFunctionWizardDescriptor(org.eclipse.core.runtime.IConfigurationElement conf)
conf
- the configuration elementpublic void dispose(FunctionWizardFactory instance)
dispose
in interface de.cs3d.util.eclipse.extension.ExtensionObjectFactory<FunctionWizardFactory>
ExtensionObjectFactory.dispose(Object)
public String getIdentifier()
getIdentifier
in interface de.cs3d.util.eclipse.extension.ExtensionObjectDefinition
ExtensionObjectDefinition.getIdentifier()
public String getDisplayName()
getDisplayName
in interface de.cs3d.util.eclipse.extension.ExtensionObjectDefinition
ExtensionObjectDefinition.getDisplayName()
public String getFunctionId()
FunctionWizardDescriptor
getFunctionId
in interface FunctionWizardDescriptor<T extends AbstractFunction<?>>
FunctionWizardDescriptor.getFunctionId()
public URL getIconURL()
getIconURL
in interface de.cs3d.util.eclipse.extension.ExtensionObjectDefinition
getIconURL
in class de.cs3d.util.eclipse.extension.AbstractObjectFactory<FunctionWizardFactory>
AbstractObjectFactory.getIconURL()
public FunctionWizardFactory createExtensionObject() throws Exception
createExtensionObject
in interface de.cs3d.util.eclipse.extension.ExtensionObjectFactory<FunctionWizardFactory>
createExtensionObject
in class de.cs3d.util.eclipse.extension.AbstractConfigurationFactory<FunctionWizardFactory>
Exception
AbstractConfigurationFactory.createExtensionObject()
protected abstract FunctionWizardFactory createDefaultFactory()
protected FunctionWizardFactory getFactory()
public FunctionWizard createNewWizard(SchemaSelection schemaSelection)
FunctionWizardFactory
createNewWizard
in interface FunctionWizardFactory
schemaSelection
- the schema selection or null
if no
pre-selection is availableFunctionWizardFactory.createNewWizard(SchemaSelection)
public FunctionWizard createEditWizard(Cell cell)
FunctionWizardFactory
createEditWizard
in interface FunctionWizardFactory
cell
- the cell to editFunctionWizardFactory.createEditWizard(Cell)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a