protected class CubaFoldersPane.FolderGridContextMenu<T extends Folder> extends CubaGridContextMenu<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
Modifier and Type | Field and Description |
---|---|
protected CubaFoldersPane.CopyAction |
copyAction |
protected CubaFoldersPane.CreateAction |
createAction |
protected CubaFoldersPane.EditAction |
editAction |
protected CubaFoldersPane.ExportAction |
exportAction |
protected CubaFoldersPane.ImportAction |
importAction |
protected CubaFoldersPane.OpenAction |
openAction |
protected CubaFoldersPane.RemoveAction |
removeAction |
contextClickListener, enabled
Constructor and Description |
---|
FolderGridContextMenu(com.vaadin.ui.Grid<T> parentComponent) |
isEnabled, onContextClick, 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, 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, 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
protected CubaFoldersPane.OpenAction openAction
protected CubaFoldersPane.CreateAction createAction
protected CubaFoldersPane.CopyAction copyAction
protected CubaFoldersPane.EditAction editAction
protected CubaFoldersPane.RemoveAction removeAction
protected CubaFoldersPane.ExportAction exportAction
protected CubaFoldersPane.ImportAction importAction
public FolderGridContextMenu(com.vaadin.ui.Grid<T> parentComponent)
public com.vaadin.ui.Grid<T> getParent()
getParent
in interface com.vaadin.server.ClientConnector
getParent
in interface com.vaadin.shared.Connector
getParent
in class com.vaadin.server.AbstractExtension
protected CubaFoldersPane.OpenAction createOpenAction()
protected CubaFoldersPane.CreateAction createCreateAction()
protected CubaFoldersPane.CopyAction createCopyAction()
protected CubaFoldersPane.EditAction createEditAction()
protected CubaFoldersPane.RemoveAction createRemoveAction()
protected CubaFoldersPane.ExportAction createExportAction()
protected CubaFoldersPane.ImportAction createImportAction()
protected com.vaadin.ui.MenuBar.Command createCommand(CubaFoldersPane.FolderAction action)
protected T getSelectedFolder()
public CubaFoldersPane.FolderGridContextMenu<T> addOpenAction()
public CubaFoldersPane.FolderGridContextMenu<T> addCreateAction()
public CubaFoldersPane.FolderGridContextMenu<T> addCopyAction()
public CubaFoldersPane.FolderGridContextMenu<T> addEditAction()
public CubaFoldersPane.FolderGridContextMenu<T> addRemoveAction()
public CubaFoldersPane.FolderGridContextMenu<T> addExportAction()
public CubaFoldersPane.FolderGridContextMenu<T> addImportAction()
protected void createAllActions()