org.xwiki.gwt.wysiwyg.client.plugin.separator
Class MenuBarSeparator

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.separator.AbstractSeparator
      extended by org.xwiki.gwt.wysiwyg.client.plugin.separator.MenuBarSeparator
All Implemented Interfaces:
com.google.gwt.event.logical.shared.AttachEvent.Handler, com.google.gwt.event.shared.EventHandler, UIExtension

public class MenuBarSeparator
extends AbstractSeparator
implements com.google.gwt.event.logical.shared.AttachEvent.Handler

User interface extension that provides ways of separating menu items.

Version:
$Id: 8a6bba87d2137061811a01abbd3c86d026d6b623 $

Constructor Summary
MenuBarSeparator()
          Creates a new menu bar separator.
 
Method Summary
 void destroy()
          Destroys this extension.
 String[] getFeatures()
          
 com.google.gwt.user.client.ui.UIObject getUIObject(String feature)
          
 void onAttachOrDetach(com.google.gwt.event.logical.shared.AttachEvent event)
          
 void registerAttachHandlers()
          Register attach handlers to update the visibility of the menu separators when a menu is displayed.
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.separator.AbstractSeparator
getRole, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuBarSeparator

public MenuBarSeparator()
Creates a new menu bar separator.

Method Detail

getFeatures

public String[] getFeatures()

Specified by:
getFeatures in interface UIExtension
See Also:
UIExtension.getFeatures()

getUIObject

public com.google.gwt.user.client.ui.UIObject getUIObject(String feature)

Specified by:
getUIObject in interface UIExtension
See Also:
UIExtension.getUIObject(String)

registerAttachHandlers

public void registerAttachHandlers()
Register attach handlers to update the visibility of the menu separators when a menu is displayed.


onAttachOrDetach

public void onAttachOrDetach(com.google.gwt.event.logical.shared.AttachEvent event)

Specified by:
onAttachOrDetach in interface com.google.gwt.event.logical.shared.AttachEvent.Handler
See Also:
AttachEvent.Handler#onAttachOrDetach(AttachEvent)

destroy

public void destroy()
Destroys this extension.



Copyright © 2004-2013 XWiki. All Rights Reserved.