All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencms.ui.shared.rpc.I_CmsContextMenuServerRpc Maven / Gradle / Ivy

Go to download

OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

There is a newer version: 18.0
Show newest version

package org.opencms.ui.shared.rpc;

import com.vaadin.shared.communication.ServerRpc;

/**
 * The context menu server RPC.

* * Adapted from ContextMenu by Peter Lehto / Vaadin Ltd.

*/ public interface I_CmsContextMenuServerRpc extends ServerRpc { /** * Called by the client side when context menu is closed.

*/ public void contextMenuClosed(); /** * Called by the client widget when context menu item is clicked.

* * @param itemId id of the clicked item * @param menuClosed will be true if menu was closed after the click */ public void itemClicked(String itemId, boolean menuClosed); /** * Called by the client side when context menu is about to be opened.

* * @param x mouse x coordinate * @param y mouse y coordinate * @param connectorIdOfComponent component connector id on which the click was made */ public void onContextMenuOpenRequested(int x, int y, String connectorIdOfComponent); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy