org.xwiki.gwt.wysiwyg.client.plugin.link.exec
Class CreateLinkExecutable
java.lang.Object
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertHTMLExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<LinkConfig,com.google.gwt.dom.client.AnchorElement>
org.xwiki.gwt.wysiwyg.client.plugin.link.exec.CreateLinkExecutable
- All Implemented Interfaces:
- Executable
public class CreateLinkExecutable
- extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<LinkConfig,com.google.gwt.dom.client.AnchorElement>
Creates a link by inserting the link XHTML.
- Version:
- $Id$
| Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable |
configDOMReader, configDOMWriter, configJSONParser, configJSONSerializer |
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertHTMLExecutable |
execute, insertNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateLinkExecutable
public CreateLinkExecutable(RichTextArea rta)
- Creates a new executable that can be used to insert links in the specified rich text area.
- Parameters:
rta - the execution target
isEnabled
public boolean isEnabled()
-
- Specified by:
isEnabled in interface Executable- Overrides:
isEnabled in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
- See Also:
AbstractSelectionExecutable.isEnabled()
getCacheKeyPrefix
protected String getCacheKeyPrefix()
-
- Specified by:
getCacheKeyPrefix in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<LinkConfig,com.google.gwt.dom.client.AnchorElement>
- See Also:
AbstractInsertElementExecutable.getCacheKeyPrefix()
getSelectedElement
protected com.google.gwt.dom.client.AnchorElement getSelectedElement()
-
- Specified by:
getSelectedElement in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<LinkConfig,com.google.gwt.dom.client.AnchorElement>
- See Also:
AbstractInsertElementExecutable.getSelectedElement()
newElement
protected com.google.gwt.dom.client.AnchorElement newElement()
-
- Specified by:
newElement in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractInsertElementExecutable<LinkConfig,com.google.gwt.dom.client.AnchorElement>
- See Also:
AbstractInsertElementExecutable.newElement()
Copyright © 2004-2012 XWiki. All Rights Reserved.