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

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep
      extended by com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractExternalLinkWizardStep
          extended by com.xpn.xwiki.wysiwyg.client.plugin.link.ui.WebPageLinkWizardStep
All Implemented Interfaces:
com.google.gwt.event.dom.client.KeyPressHandler, com.google.gwt.event.shared.EventHandler, SourcesNavigationEvents, WizardStep

public class WebPageLinkWizardStep
extends AbstractExternalLinkWizardStep

Wizard step to create a link to a web page (http protocol).

Version:
$Id: WebPageLinkWizardStep.java 22859 2009-08-23 22:29:33Z lucaa $

Field Summary
 
Fields inherited from class com.xpn.xwiki.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep
DEFAULT_STYLE_NAME, ERROR_LABEL_STYLE, FIELD_ERROR_STYLE, HELP_LABEL_STYLE, INFO_LABEL_STYLE
 
Constructor Summary
WebPageLinkWizardStep()
           
 
Method Summary
protected  java.lang.String buildURL()
          Builds an URL to the external resource to be linked from the user input, adding protocols, parsing user input, etc.
 java.lang.String getStepTitle()
          
protected  java.lang.String getURLErrorMessage()
          
protected  java.lang.String getURLHelpLabel()
          
protected  java.lang.String getURLLabel()
          
protected  java.lang.String getURLTextBoxTooltip()
          
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.plugin.link.ui.AbstractExternalLinkWizardStep
display, displayURLError, getUrlTextBox, hideErrors, init, saveForm, setFocus, validateForm
 
Methods inherited from class com.xpn.xwiki.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep
addNavigationListener, displayLabelError, getDefaultDirection, getDirectionName, getLabelErrorLabel, getLabelTextBox, getLabelTextBoxTooltip, getLinkData, getMainPanel, getNewWindowCheckBox, getNextStep, getResult, getTooltipTextBox, getTooltipTextBoxTooltip, getValidDirections, onCancel, onKeyPress, onSubmit, removeNavigationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebPageLinkWizardStep

public WebPageLinkWizardStep()
Method Detail

getURLTextBoxTooltip

protected java.lang.String getURLTextBoxTooltip()

Overrides:
getURLTextBoxTooltip in class AbstractExternalLinkWizardStep
Returns:
the tooltip for URL text box.
See Also:
AbstractExternalLinkTab#getURLTextBoxTooltip()

getURLErrorMessage

protected java.lang.String getURLErrorMessage()

Specified by:
getURLErrorMessage in class AbstractExternalLinkWizardStep
Returns:
the error message to be displayed when the user uri is missing.
See Also:
AbstractExternalLinkTab#getURLErrorMessage()

getURLLabel

protected java.lang.String getURLLabel()

Specified by:
getURLLabel in class AbstractExternalLinkWizardStep
Returns:
the label text for the particular external resource link to be created.
See Also:
AbstractExternalLinkTab#getURLLabel()

getURLHelpLabel

protected java.lang.String getURLHelpLabel()

Specified by:
getURLHelpLabel in class AbstractExternalLinkWizardStep
Returns:
the label text for the help label for the url of the external link to be created.

buildURL

protected java.lang.String buildURL()
Builds an URL to the external resource to be linked from the user input, adding protocols, parsing user input, etc.

Specified by:
buildURL in class AbstractExternalLinkWizardStep
Returns:
the URL to the external resource from the user input.
See Also:
AbstractExternalLinkTab#buildURL()

getStepTitle

public java.lang.String getStepTitle()

Specified by:
getStepTitle in interface WizardStep
Overrides:
getStepTitle in class LinkConfigWizardStep


Copyright © 2004-2010 XWiki. All Rights Reserved.