org.xwiki.gwt.wysiwyg.client.plugin.link.ui
Class WebPageLinkWizardStep
java.lang.Object
org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
org.xwiki.gwt.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep
org.xwiki.gwt.wysiwyg.client.plugin.link.ui.AbstractExternalLinkWizardStep
org.xwiki.gwt.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: 627444a7f9237bbb7bb83757d8ab18e6b0795922 $
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep |
addNavigationListener, displayLabelError, getData, getDefaultDirection, getLabelErrorLabel, getLabelTextBox, getLabelTextBoxTooltip, getNewWindowCheckBox, getResult, getTooltipTextBox, getTooltipTextBoxTooltip, getWikiService, onCancel, onKeyPress, onSubmit, removeNavigationListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebPageLinkWizardStep
public WebPageLinkWizardStep(WikiServiceAsync wikiService)
- Creates a new wizard step for configuring a link to an external web page.
- Parameters:
wikiService - the service to be used for parsing the image reference when the link label is an image
getURLTextBoxTooltip
protected String getURLTextBoxTooltip()
- Overrides:
getURLTextBoxTooltip in class AbstractExternalLinkWizardStep
- Returns:
- the tooltip for URL text box.
getURLErrorMessage
protected String getURLErrorMessage()
- Specified by:
getURLErrorMessage in class AbstractExternalLinkWizardStep
- Returns:
- the error message to be displayed when the user uri is missing.
getURLLabel
protected String getURLLabel()
- Specified by:
getURLLabel in class AbstractExternalLinkWizardStep
- Returns:
- the label text for the particular external resource link to be created.
getURLHelpLabel
protected 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.
getURL
protected String getURL()
- Description copied from class:
AbstractExternalLinkWizardStep
- Subclasses can overwrite this method to adjust the URL the user has set.
- Overrides:
getURL in class AbstractExternalLinkWizardStep
- Returns:
- the value of the URL text box
Copyright © 2004–2015 XWiki. All rights reserved.