org.xwiki.gwt.wysiwyg.client.plugin.submit.exec
Class EnableExecutable

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
      extended by org.xwiki.gwt.wysiwyg.client.plugin.submit.exec.EnableExecutable
All Implemented Interfaces:
Executable

public class EnableExecutable
extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable

Enables or disables the rich text area. When the rich text area is disabled its content is not submitted.

Version:
$Id: EnableExecutable.java 26786 2010-02-07 16:46:17Z mflorea $

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

Constructor Detail

EnableExecutable

public EnableExecutable(RichTextArea rta)
Creates a new executable that can be used to enable and disable the specified rich text area.

Parameters:
rta - the execution target
Method Detail

execute

public boolean execute(java.lang.String parameter)

See Also:
Executable.execute(String)

getParameter

public java.lang.String getParameter()

See Also:
Executable.getParameter()

isEnabled

public boolean isEnabled()

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

isExecuted

public boolean isExecuted()

See Also:
Executable.isExecuted()

isSupported

public boolean isSupported()

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


Copyright © 2004-2010 XWiki. All Rights Reserved.