org.xwiki.gwt.wysiwyg.client.plugin.list.exec
Class ListExecutable
java.lang.Object
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable
org.xwiki.gwt.wysiwyg.client.plugin.list.exec.ListExecutable
- All Implemented Interfaces:
- Executable
public class ListExecutable
- extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable
List executable to insert a list (ordered or unordered). This will overwrite the default list insertion executable to
detect inserted list when using valid html for nested lists (by default, browsers fail to detect it properly).
- Version:
- $Id: 1e86082ba2ca67344f8c26e5590c3e41225dca5a $
| Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable |
command |
|
Constructor Summary |
ListExecutable(RichTextArea rta,
boolean ordered)
Create a list executable to handle lists as specified by the parameter. |
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable |
execute, getParameter, isEnabled, isSupported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListExecutable
public ListExecutable(RichTextArea rta,
boolean ordered)
- Create a list executable to handle lists as specified by the parameter.
- Parameters:
rta - the execution targetordered - specified whether this executable handles ordered or unordered lists.
isExecuted
public boolean isExecuted()
-
Overwrite the default function to handle situations of valid HTML lists which are not detected correctly by the
browsers.
- Specified by:
isExecuted in interface Executable- Overrides:
isExecuted in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable
- See Also:
DefaultExecutable.isExecuted()
Copyright © 2004–2015 XWiki. All rights reserved.