org.xwiki.gwt.wysiwyg.client.plugin.macro
Class MacroToolBarExtension
java.lang.Object
org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroToolBarExtension
- All Implemented Interfaces:
- com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.shared.EventHandler
public class MacroToolBarExtension
- extends Object
- implements com.google.gwt.event.dom.client.ClickHandler
Extends the tool bar with buttons for easy macro insertion, skipping the macro selection step.
- Version:
- $Id: 4f5a94c33ae029b5c53cf7c4ccf69f464fa16ad7 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacroToolBarExtension
public MacroToolBarExtension(MacroPlugin plugin)
- Creates a new tool bar extension for the given macro plug-in.
- Parameters:
plugin - the macro plug-in that extends the tool bar
destroy
public void destroy()
- Destroy this extension.
getExtension
public org.xwiki.gwt.wysiwyg.client.plugin.internal.FocusWidgetUIExtension getExtension()
- Returns:
- the tool bar extension
onClick
public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
-
- Specified by:
onClick in interface com.google.gwt.event.dom.client.ClickHandler
- See Also:
ClickHandler.onClick(ClickEvent)
Copyright © 2004–2015 XWiki. All rights reserved.