org.xwiki.gwt.wysiwyg.client.plugin.link.ui
Class PageSelectorWizardStep
java.lang.Object
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<T>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorAggregatorWizardStep<EntityLink<C>>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractEntitySelectorAggregatorWizardStep<LinkConfig>
org.xwiki.gwt.wysiwyg.client.plugin.link.ui.PageSelectorWizardStep
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.SelectionHandler<java.lang.Integer>, com.google.gwt.event.shared.EventHandler, NavigationListener, SourcesNavigationEvents, WizardStep
public class PageSelectorWizardStep
- extends AbstractEntitySelectorAggregatorWizardStep<LinkConfig>
A page selector that aggregates different views for selecting a page: recently modified pages, all pages or page
search.
- Version:
- $Id: PageSelectorWizardStep.java 28844 2010-05-12 13:22:39Z mflorea $
|
Constructor Summary |
PageSelectorWizardStep(WikiServiceAsync wikiService)
Creates a new page selector, that aggregates different views for selecting a page: recently modified pages, all
pages or page search. |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorAggregatorWizardStep |
addNavigationListener, display, getDefaultStepName, getDirectionName, getNextStep, getResult, getStep, onCancel, onDirection, onSelection, onSubmit, removeNavigationListener, selectTab |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageSelectorWizardStep
public PageSelectorWizardStep(WikiServiceAsync wikiService)
- Creates a new page selector, that aggregates different views for selecting a page: recently modified pages, all
pages or page search.
- Parameters:
wikiService - the service to be used for creating links to wiki pages
getRequiredStep
protected java.lang.String getRequiredStep()
-
- Overrides:
getRequiredStep in class AbstractSelectorAggregatorWizardStep<EntityLink<LinkConfig>>
- 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<EntityLink<LinkConfig>>
- 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<EntityLink<LinkConfig>>
- Returns:
- the list of all step names
getStepTitle
public java.lang.String getStepTitle()
-
Copyright © 2004-2011 XWiki. All Rights Reserved.