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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
extend
(com.vaadin.client.ServerConnector extensionTarget) org.opencms.ui.shared.CmsContextMenuState
getState()
protected void
init()
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
-
Constructor Details
-
CmsContextMenuConnector
public CmsContextMenuConnector()
-
-
Method Details
-
getState
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classcom.vaadin.client.ui.AbstractConnector
- See Also:
-
AbstractConnector.getState()
-
onStateChanged
- Specified by:
onStateChanged
in interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler
- Overrides:
onStateChanged
in classcom.vaadin.client.ui.AbstractConnector
- See Also:
-
AbstractConnector.onStateChanged(com.vaadin.client.communication.StateChangeEvent)
-
onUnregister
- Specified by:
onUnregister
in interfacecom.vaadin.client.ServerConnector
- Overrides:
onUnregister
in classcom.vaadin.client.ui.AbstractConnector
- See Also:
-
AbstractConnector.onUnregister()
-
extend
- Specified by:
extend
in classcom.vaadin.client.extensions.AbstractExtensionConnector
- See Also:
-
AbstractExtensionConnector.extend(com.vaadin.client.ServerConnector)
-
init
- Overrides:
init
in classcom.vaadin.client.ui.AbstractConnector
- See Also:
-
AbstractConnector.init()
-