com.xpn.xwiki.wysiwyg.client.plugin.image.exec
Class InsertImageExecutable

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.image.exec.InsertImageExecutable
All Implemented Interfaces:
Executable

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

Handles the insertion of an image, passed through its corresponding HTML block.

Version:
$Id: InsertImageExecutable.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
InsertImageExecutable(RichTextArea rta)
          Creates a new executable that can be used to insert images in the specified rich text area.
 
Method Summary
 java.lang.String getParameter()
          
 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, isEnabled
 
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

InsertImageExecutable

public InsertImageExecutable(RichTextArea rta)
Creates a new executable that can be used to insert images in the specified rich text area.

Parameters:
rta - the execution target
Method Detail

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.