org.xwiki.gwt.wysiwyg.client.plugin.link.ui
Class RecentChangesSelectorWizardStep

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
      extended by org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
          extended by org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<D>
              extended by org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep<EntityLink<C>,E>
                  extended by org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractEntityListSelectorWizardStep<LinkConfig,WikiPage>
                      extended by org.xwiki.gwt.wysiwyg.client.plugin.link.ui.AbstractPageListSelectorWizardStep
                          extended by org.xwiki.gwt.wysiwyg.client.plugin.link.ui.RecentChangesSelectorWizardStep
All Implemented Interfaces:
com.google.gwt.event.dom.client.DoubleClickHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.shared.EventHandler, SourcesNavigationEvents, WizardStep

public class RecentChangesSelectorWizardStep
extends AbstractPageListSelectorWizardStep

Wizard step to select the wiki page to link to, from the recently modified ones for the current user.

Version:
$Id: 4b6e0b661d795c1d6402dd2f7792f9c29b67ed20 $

Constructor Summary
RecentChangesSelectorWizardStep(WikiServiceAsync wikiService)
          Creates a new page selector based on the recently modified pages.
 
Method Summary
protected  void fetchData(com.google.gwt.user.client.rpc.AsyncCallback<List<WikiPage>> callback)
          Fetches the list of items to be displayed in this list from the server.
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.link.ui.AbstractPageListSelectorWizardStep
getListItem, getNewOptionListItem, getNextStep, getSelectErrorMessage, getSelectHelpLabel, getWikiService, serializeDocumentReference
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractEntityListSelectorWizardStep
isSelectedByDefault, saveSelectedValue
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep
addNavigationListener, display, displayError, fillList, getErrorLabel, getList, getSelectedItem, hideError, init, onCancel, onDoubleClick, onKeyUp, onSubmit, refreshList, removeNavigationListener, setActive, setNewOptionOnTop
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep
getData, getResult, initializeSelection
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
getStepTitle, isAutoSubmit, 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

RecentChangesSelectorWizardStep

public RecentChangesSelectorWizardStep(WikiServiceAsync wikiService)
Creates a new page selector based on the recently modified pages.

Parameters:
wikiService - the service used to retrieve the list of recently modified pages
Method Detail

fetchData

protected void fetchData(com.google.gwt.user.client.rpc.AsyncCallback<List<WikiPage>> callback)
Fetches the list of items to be displayed in this list from the server.

Specified by:
fetchData in class AbstractListSelectorWizardStep<EntityLink<LinkConfig>,WikiPage>
Parameters:
callback - the callback to notify when the fetching is done.


Copyright © 2004–2014 XWiki. All rights reserved.