com.xpn.xwiki.wysiwyg.client.plugin.link.ui
Class RecentChangesSelectorWizardStep

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<D>
      extended by com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep<LinkConfig,WikiPage>
          extended by com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractPageListSelectorWizardStep
              extended by com.xpn.xwiki.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: RecentChangesSelectorWizardStep.java 25780 2009-12-14 09:41:47Z mflorea $

Constructor Summary
RecentChangesSelectorWizardStep(ResourceName editedResource)
          Builds a page list selector wizard step for the currently edited resource.
 
Method Summary
protected  void fetchData(com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<WikiPage>> callback)
          Fetches the list of items to be displayed in this list from the server.
 void setWikiService(WikiServiceAsync wikiService)
          Injects the wiki service.
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractPageListSelectorWizardStep
getListItem, getNewOptionListItem, getNextStep, getSelectErrorMessage, getSelectHelpLabel, getSelection, getStepTitle, matchesSelection, saveSelectedValue
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractListSelectorWizardStep
addNavigationListener, display, displayError, fillList, getErrorLabel, getList, getMainPanel, getSelectedItem, hideError, init, onCancel, onDoubleClick, onKeyUp, onSubmit, refreshList, removeNavigationListener, setActive, setNewOptionOnTop
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep
getData, getDirectionName, getResult, getValidDirections, initializeSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentChangesSelectorWizardStep

public RecentChangesSelectorWizardStep(ResourceName editedResource)
Builds a page list selector wizard step for the currently edited resource.

Parameters:
editedResource - the currently edited resource (page for which editing is done)
Method Detail

fetchData

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

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

setWikiService

public void setWikiService(WikiServiceAsync wikiService)
Injects the wiki service.

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


Copyright © 2004-2010 XWiki. All Rights Reserved.