org.xwiki.gwt.wysiwyg.client.gadget
Class SelectGadgetWizardStep
java.lang.Object
org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
org.xwiki.gwt.wysiwyg.client.plugin.macro.ui.AbstractMacroWizardStep
org.xwiki.gwt.wysiwyg.client.plugin.macro.ui.SelectMacroWizardStep
org.xwiki.gwt.wysiwyg.client.gadget.SelectGadgetWizardStep
- All Implemented Interfaces:
- com.google.gwt.event.dom.client.DoubleClickHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.shared.EventHandler, SourcesNavigationEvents, WizardStep, Updatable
public class SelectGadgetWizardStep
- extends SelectMacroWizardStep
The wizard step to select a gadget, extending the macro selecting step.
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.
- Since:
- 3.0M3
- Version:
- $Id: 4decacd05f83de57cc67ddf014a3ab944449e92c $
|
Method Summary |
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. |
String |
getStepTitle()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectGadgetWizardStep
public SelectGadgetWizardStep(Config config,
MacroServiceAsync macroService)
- Creates a gadget select wizard step.
- Parameters:
config - the configuration of the wysiwygmacroService - the macro service to get information about the macros from the server side
getStepTitle
public String getStepTitle()
-
- Specified by:
getStepTitle in interface WizardStep- Overrides:
getStepTitle in class SelectMacroWizardStep
- See Also:
SelectMacroWizardStep.getStepTitle()
getResult
public 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.
- Specified by:
getResult in interface WizardStep- Overrides:
getResult in class SelectMacroWizardStep
- See Also:
SelectMacroWizardStep.getResult()
Copyright © 2004–2014 XWiki. All rights reserved.