protected static class CubaFoldersPane.CommandFolderActionAdapter
extends java.lang.Object
implements com.vaadin.ui.MenuBar.Command
Modifier and Type | Field and Description |
---|---|
protected CubaFoldersPane.FolderAction |
action |
protected java.util.function.Supplier<Folder> |
selectedFolderProvider |
Constructor and Description |
---|
CommandFolderActionAdapter(CubaFoldersPane.FolderAction action,
java.util.function.Supplier<Folder> selectedFolderProvider) |
Modifier and Type | Method and Description |
---|---|
void |
menuSelected(com.vaadin.ui.MenuBar.MenuItem selectedItem) |
protected final CubaFoldersPane.FolderAction action
protected final java.util.function.Supplier<Folder> selectedFolderProvider
public CommandFolderActionAdapter(CubaFoldersPane.FolderAction action, java.util.function.Supplier<Folder> selectedFolderProvider)