Class ElementWizard
- java.lang.Object
-
- org.eclipse.net4j.util.event.Notifier
-
- org.eclipse.net4j.util.ui.container.ElementWizard
-
- All Implemented Interfaces:
INotifier,INotifier.INotifier2,IElementWizard,ValidationContext
public abstract class ElementWizard extends Notifier implements IElementWizard, ValidationContext
- Since:
- 3.1
- Author:
- Eike Stepper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.INotifier2
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.ui.ValidationContext
ValidationContext.Aggregator
-
-
Constructor Summary
Constructors Constructor Description ElementWizard()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ComboaddCombo(Composite parent, java.lang.String label, java.lang.String... choices)static ComboaddCombo(Composite parent, java.lang.String label, java.util.List<java.lang.String> choices)static LabeladdLabel(Composite parent, java.lang.String label)static TextaddText(Composite parent, java.lang.String label)protected abstract voidcreate(Composite parent)voidcreate(Composite parent, IManagedContainer container, java.lang.String productGroup, java.lang.String factoryType, java.lang.String defaultDescription, ValidationContext context)protected IManagedContainergetContainer()protected java.lang.StringgetDefaultDescription()protected java.lang.StringgetFactoryType()protected java.lang.StringgetProductGroup()java.lang.StringgetResultDescription()java.lang.ObjectgetResultElement()protected voidsetResultDescription(java.lang.String resultDescription)voidsetValidationError(java.lang.Object source, java.lang.String message)-
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
-
-
-
-
Method Detail
-
getContainer
protected IManagedContainer getContainer()
-
getProductGroup
protected java.lang.String getProductGroup()
-
getFactoryType
protected java.lang.String getFactoryType()
-
getDefaultDescription
protected java.lang.String getDefaultDescription()
-
getResultDescription
public java.lang.String getResultDescription()
- Specified by:
getResultDescriptionin interfaceIElementWizard
-
getResultElement
public java.lang.Object getResultElement()
- Specified by:
getResultElementin interfaceIElementWizard
-
create
public void create(Composite parent, IManagedContainer container, java.lang.String productGroup, java.lang.String factoryType, java.lang.String defaultDescription, ValidationContext context)
- Specified by:
createin interfaceIElementWizard
-
setResultDescription
protected void setResultDescription(java.lang.String resultDescription)
-
setValidationError
public void setValidationError(java.lang.Object source, java.lang.String message)- Specified by:
setValidationErrorin interfaceValidationContext
-
create
protected abstract void create(Composite parent)
-
addCombo
public static Combo addCombo(Composite parent, java.lang.String label, java.util.List<java.lang.String> choices)
- Since:
- 3.2
-
-