com.xpn.xwiki.wysiwyg.client.plugin.image.ui
Class ImageSelectorWizardStep
java.lang.Object
com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<T>
com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorAggregatorWizardStep<ImageConfig>
com.xpn.xwiki.wysiwyg.client.plugin.image.ui.ImageSelectorWizardStep
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.SelectionHandler<java.lang.Integer>, com.google.gwt.event.shared.EventHandler, NavigationListener, SourcesNavigationEvents, WizardStep
public class ImageSelectorWizardStep
- extends AbstractSelectorAggregatorWizardStep<ImageConfig>
Wizard step to select the image to insert, by aggregating a current page selector step and an "all pages" selector
step.
- Version:
- $Id: ImageSelectorWizardStep.java 25062 2009-11-14 12:26:11Z mflorea $
| Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorAggregatorWizardStep |
addNavigationListener, display, getDefaultStepName, getDirectionName, getEditedResource, getNextStep, getResult, getStep, init, onCancel, onDirection, onSelection, onSubmit, removeNavigationListener, selectTab |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageSelectorWizardStep
public ImageSelectorWizardStep(ResourceName editedResource)
- Builds an image selector wizard step for the currently edited resource.
- Parameters:
editedResource - the currently edited resource.
getRequiredStep
protected java.lang.String getRequiredStep()
-
- Overrides:
getRequiredStep in class AbstractSelectorAggregatorWizardStep<ImageConfig>
- Returns:
- the name of the step required to be loaded by the current created or edited element, if any, or null
otherwise (if previous selection should be preserved). To be overwritten by subclasses to detect whether
the data being handled requires the "all pages" step to be loaded or not.
getStepInstance
protected WizardStep getStepInstance(java.lang.String name)
-
- Specified by:
getStepInstance in class AbstractSelectorAggregatorWizardStep<ImageConfig>
- Parameters:
name - the name of the step to initialize
- Returns:
- an instance of the step recognized by the passed name
getStepNames
protected java.util.List<java.lang.String> getStepNames()
-
- Specified by:
getStepNames in class AbstractSelectorAggregatorWizardStep<ImageConfig>
- Returns:
- the list of all step names
getStepTitle
public java.lang.String getStepTitle()
-
setWikiService
public void setWikiService(WikiServiceAsync wikiService)
- Inject the wiki service.
- Parameters:
wikiService - the service used to access the wiki
Copyright © 2004-2010 XWiki. All Rights Reserved.