org.xwiki.gwt.wysiwyg.client.plugin.link.ui
Class PageSelectorWizardStep
java.lang.Object
org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<T>
org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorAggregatorWizardStep<EntityLink<LinkConfig>>
org.xwiki.gwt.wysiwyg.client.plugin.link.ui.PageSelectorWizardStep
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.SelectionHandler<Integer>, com.google.gwt.event.shared.EventHandler, NavigationListener, SourcesNavigationEvents, WizardStep
public class PageSelectorWizardStep
- extends AbstractSelectorAggregatorWizardStep<EntityLink<LinkConfig>>
A page selector that aggregates different views for selecting a page: recently modified pages, all pages or page
search.
- Version:
- $Id$
|
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, getDefaultStepName, getDirectionName, 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 |
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 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(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 List<String> getStepNames()
-
- Specified by:
getStepNames in class AbstractSelectorAggregatorWizardStep<EntityLink<LinkConfig>>
- Returns:
- the list of all step names
Copyright © 2004-2012 XWiki. All Rights Reserved.