org.xwiki.gwt.wysiwyg.client.plugin.image.ui
Class ImageDispatcherWizardStep

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
      extended by org.xwiki.gwt.user.client.ui.wizard.AbstractAutoSubmitWizardStep<EntityLink<T>>
          extended by org.xwiki.gwt.wysiwyg.client.widget.wizard.util.ResourceReferenceParserWizardStep<ImageConfig>
              extended by org.xwiki.gwt.wysiwyg.client.plugin.image.ui.ImageDispatcherWizardStep
All Implemented Interfaces:
WizardStep

public class ImageDispatcherWizardStep
extends ResourceReferenceParserWizardStep<ImageConfig>

Forwards the control to the next step based on the image type.

Version:
$Id: a1a84069e939c9302a9d53b166363eb7fb0b8383 $

Constructor Summary
ImageDispatcherWizardStep(boolean allowExternalImages, WikiServiceAsync wikiService)
          Creates a new wizard step that forwards the control to the next step based on the image type.
 
Method Summary
 String getNextStep()
          
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.ResourceReferenceParserWizardStep
onSubmit
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractAutoSubmitWizardStep
display, getData, getResult, getStepTitle, init, isAutoSubmit, onCancel, setStepTitle
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
getDirectionName, getValidDirections, setDirectionName, setNextStep, setValidDirections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageDispatcherWizardStep

public ImageDispatcherWizardStep(boolean allowExternalImages,
                                 WikiServiceAsync wikiService)
Creates a new wizard step that forwards the control to the next step based on the image type.

Parameters:
allowExternalImages - true if users are allowed to select external images by specifying their URL, false otherwise
wikiService - the service used to parse the image reference
Method Detail

getNextStep

public String getNextStep()

Specified by:
getNextStep in interface WizardStep
Overrides:
getNextStep in class AbstractNavigationAwareWizardStep
See Also:
AbstractNavigationAwareWizardStep.getNextStep()


Copyright © 2004–2014 XWiki. All rights reserved.