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

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.xwiki.gwt.user.client.ui.wizard.AbstractCompositeWizardStep
                  extended by org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
                      extended by org.xwiki.gwt.wysiwyg.client.plugin.macro.ui.AbstractMacroWizardStep
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, WizardStep
Direct Known Subclasses:
EditMacroWizardStep, SelectMacroWizardStep

public abstract class AbstractMacroWizardStep
extends AbstractNavigationAwareWizardStep

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

Version:
$Id: AbstractMacroWizardStep.java 26786 2010-02-07 16:46:17Z mflorea $

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
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.AbstractNavigationAwareWizardStep
getDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirections
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractCompositeWizardStep
display, getPanel
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xwiki.gwt.user.client.ui.wizard.WizardStep
getResult, getStepTitle, 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-2011 XWiki. All Rights Reserved.