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

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep<LinkConfig>
      extended by com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractExplorerWizardStep
          extended by com.xpn.xwiki.wysiwyg.client.plugin.link.ui.WikiPageExplorerWizardStep
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.smartgwt.client.widgets.events.KeyPressHandler, com.smartgwt.client.widgets.grid.events.RecordDoubleClickHandler, SourcesNavigationEvents, WizardStep

public class WikiPageExplorerWizardStep
extends AbstractExplorerWizardStep

Specialized AbstractExplorerWizardStep to select a wiki page (existing or new).

Version:
$Id: WikiPageExplorerWizardStep.java 25062 2009-11-14 12:26:11Z mflorea $

Field Summary
 
Fields inherited from class com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractExplorerWizardStep
FIELD_ERROR_STYLE
 
Constructor Summary
WikiPageExplorerWizardStep(ResourceName editedResource)
          Creates a wiki page selection wizard step with the specified default selection.
 
Method Summary
protected  java.lang.String getDefaultErrorText()
          
protected  java.lang.String getHelpLabelText()
          
 java.lang.String getNextStep()
          
 java.lang.String getStepTitle()
          
protected  void initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
          Initializes the selection on AbstractSelectorWizardStep.init(Object, AsyncCallback) time.
 void onCancel()
          
 void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> async)
          
 void setWikiService(WikiServiceAsync wikiService)
          Injects the wiki service.
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractExplorerWizardStep
addNavigationListener, display, displayError, getErrorLabel, getExplorer, hideError, init, invalidateExplorerData, onKeyPress, onRecordDoubleClick, removeNavigationListener
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.widget.wizard.util.AbstractSelectorWizardStep
getData, getDirectionName, getResult, getValidDirections, setActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageExplorerWizardStep

public WikiPageExplorerWizardStep(ResourceName editedResource)
Creates a wiki page selection wizard step with the specified default selection. The selection will be used to position the wiki page selection tree on the resource named by it on the first load.

Parameters:
editedResource - the currently edited resource
Method Detail

initializeSelection

protected void initializeSelection(com.google.gwt.user.client.rpc.AsyncCallback<?> initCallback)
Initializes the selection on AbstractSelectorWizardStep.init(Object, AsyncCallback) time.

Overrides:
initializeSelection in class AbstractSelectorWizardStep<LinkConfig>
Parameters:
initCallback - the initialization callback, to handle asynchronous initialization.

getNextStep

public java.lang.String getNextStep()


getStepTitle

public java.lang.String getStepTitle()


onCancel

public void onCancel()


onSubmit

public void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<java.lang.Boolean> async)


getDefaultErrorText

protected java.lang.String getDefaultErrorText()

Specified by:
getDefaultErrorText in class AbstractExplorerWizardStep
Returns:
the default error message for this wizard step form

getHelpLabelText

protected java.lang.String getHelpLabelText()

Specified by:
getHelpLabelText in class AbstractExplorerWizardStep
Returns:
the help message for this explorer step, to be displayed on top of the explorer tree

setWikiService

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

Parameters:
wikiService - the service used to create page links


Copyright © 2004-2010 XWiki. All Rights Reserved.