com.xpn.xwiki.wysiwyg.client.plugin.link.exec
Class CreateLinkExecutable

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
      extended by org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
          extended by org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertHTMLExecutable
              extended by com.xpn.xwiki.wysiwyg.client.plugin.link.exec.CreateLinkExecutable
All Implemented Interfaces:
Executable

public class CreateLinkExecutable
extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertHTMLExecutable

Creates a link by inserting the link XHTML.

Version:
$Id: CreateLinkExecutable.java 26263 2010-01-20 17:34:36Z mflorea $

Field Summary
 
Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
cache, domUtils
 
Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
rta
 
Constructor Summary
CreateLinkExecutable(RichTextArea rta)
          Creates a new executable that can be used to insert links in the specified rich text area.
 
Method Summary
 java.lang.String getParameter()
          
 boolean isEnabled()
          
 boolean isExecuted()
          
 
Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.InsertHTMLExecutable
execute
 
Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
hasValidSelection
 
Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
isSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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()

isExecuted

public boolean isExecuted()

Specified by:
isExecuted in interface Executable
Overrides:
isExecuted in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
See Also:
AbstractSelectionExecutable.isExecuted()

getParameter

public java.lang.String getParameter()

Specified by:
getParameter in interface Executable
Overrides:
getParameter in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
See Also:
AbstractSelectionExecutable.getParameter()


Copyright © 2004-2010 XWiki. All Rights Reserved.