public class SelectGadgetWizardStep extends SelectMacroWizardStep
FIXME: remove some macros from the list, the ones that don't make sense as gadgets such as "dashboard", or that are not part of the gadgets category. Add multiple categories to macros.
| Constructor and Description |
|---|
SelectGadgetWizardStep(Config config,
MacroServiceAsync macroService)
Creates a gadget select wizard step.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getResult() |
String |
getStepTitle() |
addNavigationListener, canUpdate, getValidationMessage, init, onCancel, onDoubleClick, onKeyUp, onSubmit, removeNavigationListener, updategetConfig, getMacroServicedisplay, isAutoSubmit, setStepTitlegetDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirectionspublic SelectGadgetWizardStep(Config config, MacroServiceAsync macroService)
config - the configuration of the wysiwygmacroService - the macro service to get information about the macros from the server sidepublic String getStepTitle()
getStepTitle in interface WizardStepgetStepTitle in class SelectMacroWizardSteppublic Object getResult()
Overridden here to send a GadgetInstance to the edit gadget step, which will also contain the title of the gadget, not only the content.
getResult in interface WizardStepgetResult in class SelectMacroWizardStepSelectMacroWizardStep.getResult()Copyright © 2004–2017 XWiki. All rights reserved.