org.xwiki.gwt.wysiwyg.client.plugin.macro.exec
Class CollapseExecutable
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.wysiwyg.client.plugin.macro.exec.CollapseExecutable
- All Implemented Interfaces:
- Executable
public class CollapseExecutable
- extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
Collapses or expands the selected macros or all the macros present in the edited document if no macros are selected.
- Version:
- $Id: a84338b895cb93268cfb5be704a660e72233cebb $
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable |
getParameter, hasValidSelection, isEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollapseExecutable
public CollapseExecutable(MacroSelector selector,
boolean collapse)
- Creates a new executable.
- Parameters:
selector - selectorcollapse - true to collapse all macros, false to expand all macros
execute
public boolean execute(String param)
-
- See Also:
Executable.execute(String)
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()
Copyright © 2004–2014 XWiki. All rights reserved.