T - the type of data edited by this wizard steppublic abstract class AbstractSelectorWizardStep<T> extends AbstractInteractiveWizardStep
init(Object, AsyncCallback) and returning on getResult(), step names, directions, initialization),
regardless of the actual selecting method.| Constructor and Description |
|---|
AbstractSelectorWizardStep()
Default constructor.
|
AbstractSelectorWizardStep(com.google.gwt.user.client.ui.FlowPanel panel)
Creates a new step that uses the given panel.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getData() |
Object |
getResult() |
void |
init(Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> cb) |
protected void |
initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
Initializes the selection on
init(Object, AsyncCallback) time. |
void |
setActive()
Notifies this wizard step that it has been activated, when part of an aggregator for example.
|
display, getStepTitle, isAutoSubmit, setStepTitlegetDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirectionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCancel, onSubmitpublic AbstractSelectorWizardStep()
public AbstractSelectorWizardStep(com.google.gwt.user.client.ui.FlowPanel panel)
panel - the panel where to place the step's widgetspublic void init(Object data, com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
protected void initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
init(Object, AsyncCallback) time.initCallback - the initialization callback, to handle asynchronous initializationpublic Object getResult()
public T getData()
public void setActive()
FIXME: this function should not be here but in it's own decorating interface for aggregated wizard steps or, cleaner, all wizard steps who need to be notified when they're activated should implement Focusable interface and all wizard step handlers (the dialog, the aggregator) should call setFocus(). This is a quick solution to handle tab change in the selector aggregator.
Copyright © 2004–2016 XWiki. All rights reserved.