public abstract class ElementWizard extends Notifier implements IElementWizard, ValidationContext
ValidationContext.Aggregator
Constructor and Description |
---|
ElementWizard() |
Modifier and Type | Method and Description |
---|---|
static Combo |
addCombo(Composite parent,
String label,
List<String> choices) |
static Combo |
addCombo(Composite parent,
String label,
String... choices) |
static Label |
addLabel(Composite parent,
String label) |
static Text |
addText(Composite parent,
String label) |
protected abstract void |
create(Composite parent) |
void |
create(Composite parent,
IManagedContainer container,
String productGroup,
String factoryType,
String defaultDescription,
ValidationContext context) |
protected IManagedContainer |
getContainer() |
protected String |
getDefaultDescription() |
protected String |
getFactoryType() |
protected String |
getProductGroup() |
String |
getResultDescription() |
Object |
getResultElement() |
protected void |
setResultDescription(String resultDescription) |
void |
setValidationError(Object source,
String message) |
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
protected IManagedContainer getContainer()
protected String getProductGroup()
protected String getFactoryType()
protected String getDefaultDescription()
public String getResultDescription()
getResultDescription
in interface IElementWizard
public Object getResultElement()
getResultElement
in interface IElementWizard
public void create(Composite parent, IManagedContainer container, String productGroup, String factoryType, String defaultDescription, ValidationContext context)
create
in interface IElementWizard
protected void setResultDescription(String resultDescription)
public void setValidationError(Object source, String message)
setValidationError
in interface ValidationContext
protected abstract void create(Composite parent)
public static Combo addCombo(Composite parent, String label, List<String> choices)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.