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,
java.lang.String label,
java.util.List<java.lang.String> choices) |
static Combo |
addCombo(Composite parent,
java.lang.String label,
java.lang.String... choices) |
static Label |
addLabel(Composite parent,
java.lang.String label) |
static Text |
addText(Composite parent,
java.lang.String label) |
protected abstract void |
create(Composite parent) |
void |
create(Composite parent,
IManagedContainer container,
java.lang.String productGroup,
java.lang.String factoryType,
java.lang.String defaultDescription,
ValidationContext context) |
protected IManagedContainer |
getContainer() |
protected java.lang.String |
getDefaultDescription() |
protected java.lang.String |
getFactoryType() |
protected java.lang.String |
getProductGroup() |
java.lang.String |
getResultDescription() |
java.lang.Object |
getResultElement() |
protected void |
setResultDescription(java.lang.String resultDescription) |
void |
setValidationError(java.lang.Object source,
java.lang.String message) |
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
protected IManagedContainer getContainer()
protected java.lang.String getProductGroup()
protected java.lang.String getFactoryType()
protected java.lang.String getDefaultDescription()
public java.lang.String getResultDescription()
getResultDescription
in interface IElementWizard
public java.lang.Object getResultElement()
getResultElement
in interface IElementWizard
public void create(Composite parent, IManagedContainer container, java.lang.String productGroup, java.lang.String factoryType, java.lang.String defaultDescription, ValidationContext context)
create
in interface IElementWizard
protected void setResultDescription(java.lang.String resultDescription)
public void setValidationError(java.lang.Object source, java.lang.String message)
setValidationError
in interface ValidationContext
protected abstract void create(Composite parent)
public static Combo addCombo(Composite parent, java.lang.String label, java.util.List<java.lang.String> choices)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html