protected class CubaFoldersPane.SearchFolderGridContextMenu<T extends SearchFolder> extends CubaFoldersPane.FolderGridContextMenu<T>
com.haulmont.cuba.web.widgets.addons.contextmenu.GridContextMenu.GridContextMenuOpenListener<T>
com.haulmont.cuba.web.widgets.addons.contextmenu.ContextMenu.ContextMenuOpenListener
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
copyAction, createAction, editAction, exportAction, importAction, openAction, removeAction
contextClickListener, enabled
Constructor and Description |
---|
SearchFolderGridContextMenu(com.vaadin.ui.Grid<T> grid) |
Modifier and Type | Method and Description |
---|---|
protected CubaFoldersPane.CreateAction |
createCreateAction() |
protected void |
createImportCreateActions() |
protected void |
createOnlyCreateAction() |
protected void |
createOpenCreateActions() |
protected void |
createWithoutOpenActions() |
protected boolean |
isFilterFolder(SearchFolder folder) |
protected boolean |
isGlobalFolder(SearchFolder folder) |
protected boolean |
isGlobalSearchFolderPermitted() |
protected boolean |
isOwner(SearchFolder folder) |
protected void |
onContextClick(com.vaadin.event.ContextClickEvent event) |
addCopyAction, addCreateAction, addEditAction, addExportAction, addImportAction, addOpenAction, addRemoveAction, createAllActions, createCommand, createCopyAction, createEditAction, createExportAction, createImportAction, createOpenAction, createRemoveAction, getParent, getSelectedFolder
isEnabled, setAsContextMenuOf, setEnabled
addGridBodyContextMenuListener, addGridFooterContextMenuListener, addGridHeaderContextMenuListener
addContextMenuOpenListener, addItem, addItem, addItem, addItemBefore, addSeparator, addSeparatorBefore, beforeClientResponse, getContextClickListener, getItems, getSize, getState, getState, isHtmlContentAllowed, open, removeItem, removeItems, setHtmlContentAllowed
extend, getSupportedParentType, remove, setParent
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public SearchFolderGridContextMenu(com.vaadin.ui.Grid<T> grid)
protected CubaFoldersPane.CreateAction createCreateAction()
createCreateAction
in class CubaFoldersPane.FolderGridContextMenu<T extends SearchFolder>
protected void onContextClick(com.vaadin.event.ContextClickEvent event)
onContextClick
in class CubaGridContextMenu<T extends SearchFolder>
protected boolean isGlobalFolder(SearchFolder folder)
protected boolean isFilterFolder(SearchFolder folder)
protected boolean isOwner(SearchFolder folder)
protected boolean isGlobalSearchFolderPermitted()
protected void createOnlyCreateAction()
protected void createOpenCreateActions()
protected void createWithoutOpenActions()
protected void createImportCreateActions()