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()
Updates the macroList based on the chosen category and specified search query. |
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 WizardStepWizardStep.getResult()public String getStepTitle()
getStepTitle in interface WizardStepgetStepTitle in class AbstractInteractiveWizardStepAbstractInteractiveWizardStep.getStepTitle()public void init(Object data, com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
init in interface WizardStepWizardStep.init(Object, AsyncCallback)public void onCancel()
onCancel in interface WizardStepWizardStep.onCancel()public void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)
onSubmit in interface WizardStepWizardStep.onSubmit(AsyncCallback)public void onDoubleClick(com.google.gwt.event.dom.client.DoubleClickEvent event)
onDoubleClick in interface com.google.gwt.event.dom.client.DoubleClickHandlerDoubleClickHandler.onDoubleClick(DoubleClickEvent)public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandlerKeyUpHandler.onKeyUp(KeyUpEvent)public void addNavigationListener(NavigationListener listener)
addNavigationListener in interface SourcesNavigationEventsSourcesNavigationEvents.addNavigationListener(NavigationListener)public void removeNavigationListener(NavigationListener listener)
removeNavigationListener in interface SourcesNavigationEventsSourcesNavigationEvents.removeNavigationListener(NavigationListener)public boolean canUpdate()
canUpdate in interface UpdatableUpdatable.canUpdate()public void update()
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–2015 XWiki. All rights reserved.