public class SelectMacroWizardStep extends AbstractMacroWizardStep implements com.google.gwt.event.dom.client.DoubleClickHandler, com.google.gwt.event.dom.client.KeyUpHandler, SourcesNavigationEvents, Updatable
| Constructor and Description |
|---|
SelectMacroWizardStep(Config config,
MacroServiceAsync macroService)
Creates a new wizard step for selecting one of the available macros.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNavigationListener(NavigationListener listener) |
boolean |
canUpdate() |
Object |
getResult() |
String |
getStepTitle() |
protected com.google.gwt.user.client.ui.Label |
getValidationMessage() |
void |
init(Object data,
com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback) |
void |
onCancel() |
void |
onDoubleClick(com.google.gwt.event.dom.client.DoubleClickEvent event) |
void |
onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) |
void |
onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async) |
void |
removeNavigationListener(NavigationListener listener) |
void |
update() |
getConfig, getMacroServicedisplay, isAutoSubmit, setStepTitlegetDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirectionspublic SelectMacroWizardStep(Config config, MacroServiceAsync macroService)
config - the object used to configure the newly created wizard stepmacroService - the macro service used to retrieve macro descriptorspublic Object getResult()
getResult in interface WizardSteppublic String getStepTitle()
getStepTitle in interface WizardStepgetStepTitle in class AbstractInteractiveWizardSteppublic void init(Object data, com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
init in interface WizardSteppublic void onCancel()
onCancel in interface WizardSteppublic void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)
onSubmit in interface WizardSteppublic void onDoubleClick(com.google.gwt.event.dom.client.DoubleClickEvent event)
onDoubleClick in interface com.google.gwt.event.dom.client.DoubleClickHandlerpublic void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandlerpublic void addNavigationListener(NavigationListener listener)
addNavigationListener in interface SourcesNavigationEventspublic void removeNavigationListener(NavigationListener listener)
removeNavigationListener in interface SourcesNavigationEventspublic void update()
Updates the macroList based on the chosen category and specified search query.
update in interface UpdatableUpdatable.update()protected com.google.gwt.user.client.ui.Label getValidationMessage()
Copyright © 2004–2016 XWiki. All rights reserved.