org.xwiki.gwt.wysiwyg.client.plugin.macro
Class MacroMenuExtension

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractUIExtension
      extended by org.xwiki.gwt.wysiwyg.client.plugin.internal.MenuItemUIExtension
          extended by org.xwiki.gwt.wysiwyg.client.plugin.internal.MenuItemUIExtensionAdaptor
              extended by org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroMenuExtension
All Implemented Interfaces:
com.google.gwt.event.logical.shared.AttachEvent.Handler, com.google.gwt.event.shared.EventHandler, UIExtension

public class MacroMenuExtension
extends org.xwiki.gwt.wysiwyg.client.plugin.internal.MenuItemUIExtensionAdaptor

Provides a user interface extension to allow users to manipulate macros using the top-level menu of the WYSIWYG editor.

Version:
$Id: e881d259119124ca43791e8af12ae12dd88a4e42 $

Constructor Summary
MacroMenuExtension(MacroPlugin plugin)
          Creates a new menu extension for the given macro plug-in.
 
Method Summary
protected  void onAttach(com.google.gwt.event.logical.shared.AttachEvent event)
          
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.MenuItemUIExtensionAdaptor
clearFeatures, createMenuItem, createMenuItem, createMenuItem, getShortcutKeyManager, onAttachOrDetach, registerAttachHandlers, setShortcutKeyManager
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.MenuItemUIExtension
isEnabled, setEnabled
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractUIExtension
addFeature, getFeatures, getRole, getUIObject, removeFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroMenuExtension

public MacroMenuExtension(MacroPlugin plugin)
Creates a new menu extension for the given macro plug-in.

Parameters:
plugin - a macro plug-in instance
Method Detail

onAttach

protected void onAttach(com.google.gwt.event.logical.shared.AttachEvent event)

Overrides:
onAttach in class org.xwiki.gwt.wysiwyg.client.plugin.internal.MenuItemUIExtensionAdaptor
See Also:
MenuItemUIExtensionAdaptor.onAttach(AttachEvent)


Copyright © 2004–2014 XWiki. All rights reserved.