org.xwiki.gwt.wysiwyg.client.plugin.macro.ui
Class AbstractMacroWizardStep

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
      extended by org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
          extended by org.xwiki.gwt.wysiwyg.client.plugin.macro.ui.AbstractMacroWizardStep
All Implemented Interfaces:
WizardStep
Direct Known Subclasses:
EditMacroWizardStep, SelectMacroWizardStep

public abstract class AbstractMacroWizardStep
extends AbstractInteractiveWizardStep

An abstract wizard step to serve as a base class for all macro wizard steps.

Version:
$Id: 5dc983abda078126d3b1d20ec4b229ba054df721 $

Constructor Summary
AbstractMacroWizardStep(Config config, MacroServiceAsync macroService)
          Creates a new macro wizard step.
AbstractMacroWizardStep(Config config, MacroServiceAsync macroService, com.google.gwt.user.client.ui.FlowPanel panel)
          Creates a new macro wizard step that uses the given panel to hold its widgets.
 
Method Summary
 Config getConfig()
           
 MacroServiceAsync getMacroService()
           
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
display, getStepTitle, isAutoSubmit, setStepTitle
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
getDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xwiki.gwt.user.client.ui.wizard.WizardStep
getResult, init, onCancel, onSubmit
 

Constructor Detail

AbstractMacroWizardStep

public AbstractMacroWizardStep(Config config,
                               MacroServiceAsync macroService)
Creates a new macro wizard step.

Parameters:
config - the object used to configure the newly created wizard step
macroService - the macro service used to retrieve macro descriptors

AbstractMacroWizardStep

public AbstractMacroWizardStep(Config config,
                               MacroServiceAsync macroService,
                               com.google.gwt.user.client.ui.FlowPanel panel)
Creates a new macro wizard step that uses the given panel to hold its widgets.

Parameters:
config - the object used to configure the newly created wizard step
macroService - the macro service used to retrieve macro descriptors
panel - the panel where this wizard step will add its widgets
Method Detail

getConfig

public Config getConfig()
Returns:
the object used to configure the wizard step

getMacroService

public MacroServiceAsync getMacroService()
Returns:
the macro service used to retrieve macro descriptors


Copyright © 2004–2015 XWiki. All rights reserved.