Class CmsContextMenuConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
org.opencms.ui.client.contextmenu.CmsContextMenuConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, Serializable

public class CmsContextMenuConnector extends com.vaadin.client.extensions.AbstractExtensionConnector
ContextMenuConnector is client side object that receives updates from server and passes them to context menu client side widget. Connector is also responsible for handling user interaction and communicating it back to server.

Adapted from ContextMenu by Peter Lehto / Vaadin Ltd.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    extend(com.vaadin.client.ServerConnector extensionTarget)
     
    org.opencms.ui.shared.CmsContextMenuState
     
    protected void
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     
    void
     

    Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector

    setParent

    Methods inherited from class com.vaadin.client.ui.AbstractConnector

    addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getState

      public org.opencms.ui.shared.CmsContextMenuState getState()
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.AbstractConnector
      See Also:
      • AbstractConnector.getState()
    • onStateChanged

      public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
      Specified by:
      onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class com.vaadin.client.ui.AbstractConnector
      See Also:
      • AbstractConnector.onStateChanged(com.vaadin.client.communication.StateChangeEvent)
    • onUnregister

      public void onUnregister()
      Specified by:
      onUnregister in interface com.vaadin.client.ServerConnector
      Overrides:
      onUnregister in class com.vaadin.client.ui.AbstractConnector
      See Also:
      • AbstractConnector.onUnregister()
    • extend

      protected void extend(com.vaadin.client.ServerConnector extensionTarget)
      Specified by:
      extend in class com.vaadin.client.extensions.AbstractExtensionConnector
      See Also:
      • AbstractExtensionConnector.extend(com.vaadin.client.ServerConnector)
    • init

      protected void init()
      Overrides:
      init in class com.vaadin.client.ui.AbstractConnector
      See Also:
      • AbstractConnector.init()