Class EntityInspectorListView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardListView<Object>
io.jmix.datatoolsflowui.view.entityinspector.EntityInspectorListView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,LookupView<Object>,MultiSelectLookupView,Serializable
@Route(value="datatl/entityinspector",
layout=DefaultMainViewParent.class)
@ViewController("datatl_entityInspectorListView")
@ViewDescriptor("entity-inspector-list-view.xml")
@DialogMode(width="50em",
height="37.5em")
public class EntityInspectorListView
extends StandardListView<Object>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceprotected classNested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEventNested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessManagerprotected Actionsprotected static final Stringprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected CorePropertiesprotected DataComponentsprotected DataManagerprotected static final Stringprotected Dialogsprotected Downloaderprotected CollectionContainerprotected CollectionLoaderprotected JmixComboBox<MetaClass>protected EntityImportExportprotected EntityImportPlansprotected Stringprotected EntityRestoreprotected FetchPlanRepositoryprotected FetchPlansprotected FlowuiPropertiesprotected EntityImportPlanJsonBuilderprotected booleanprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected MessageBundleprotected Messagesprotected MessageToolsprotected Metadataprotected MetadataToolsprotected Notificationsprotected static final Stringprotected static final Stringprotected static final Stringprotected RouteSupportprotected JmixButtonprotected MetaClassprotected com.vaadin.flow.component.select.Select<ShowMode>protected UiComponentsprotected UrlParamSerializerprotected static final StringFields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) voidbeforeShow(View.BeforeShowEvent event) protected CollectionContainercreateContainer(MetaClass meta) protected CreateActioncreateCreateAction(DataGrid<Object> dataGrid) protected EditActioncreateEditAction(DataGrid<Object> dataGrid) protected voidprotected FetchPlancreateEntityExportPlan(MetaClass metaClass) protected EntityImportPlancreateEntityImportPlan(MetaClass metaClass) protected EntityImportPlancreateEntityImportPlan(String content, MetaClass metaClass) protected ExcelExportActioncreateExcelExportAction(DataGrid<Object> dataGrid) protected LookupSelectActioncreateLookupSelectAction(DataGrid<Object> dataGrid) protected RefreshActioncreateRefreshAction(DataGrid<Object> dataGrid) protected RemoveActioncreateRemoveAction(DataGrid<Object> dataGrid) protected JmixButtoncreateRestoreButton(DataGrid<Object> dataGrid) protected ShowEntityInfoActioncreateShowEntityInfoAction(DataGrid<Object> dataGrid) protected JmixButtoncreateWipeOutButton(DataGrid<?> dataGrid) protected voidentitiesDataGridSelectionListener(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<Object>, Object> event) protected voidentityChangeListener(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MetaClass>, MetaClass> valueChangeEvent) voidonInit(View.InitEvent event) voidonReady(View.ReadyEvent event) protected booleanreadPermitted(MetaClass metaClass) protected voidrestoreOkHandler(ActionPerformedEvent actionPerformedEvent, Set<Object> entityList) voidsetEntityName(String entityName) protected voidsetShowMode(String showModeParameter) protected voidprotected voidshowModeChangeListener(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<ShowMode>, ShowMode> valueChangeEvent) protected voidshowNotification(String message) protected voidshowOptionDialog(String header, String text, EntityInspectorListView.DialogConsumer<ActionPerformedEvent, Set<Object>> okEvent, Consumer<ActionPerformedEvent> cancelEvent, Set<Object> entityList) protected voidprotected voidprotected voidstandardCancelHandler(ActionPerformedEvent actionPerformedEvent) protected voidupdateButtonsPanel(DataGrid<Object> dataGrid) protected voidupdateSelectAction(DataGrid<Object> dataGrid) protected voidwipeOutOkHandler(ActionPerformedEvent actionPerformedEvent, Set<Object> entityList) Methods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, getDiscardAction, getLookupActionsLayout, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItemsMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, onDetach, setApplicationContext, setId, setViewActions, setViewData, setViewFacetsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onEnabledStateChanged, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
-
Field Details
-
BASE_SELECT_QUERY
- See Also:
-
DELETED_ONLY_SELECT_QUERY
- See Also:
-
RESTORE_ACTION_ID
- See Also:
-
WIPE_OUT_ACTION_ID
- See Also:
-
QUERY_PARAM_ENTITY
- See Also:
-
QUERY_PARAM_MODE
- See Also:
-
lookupBox
-
entitiesLookup
-
buttonsPanel
-
showMode
-
selectButton
-
messages
-
messageBundle
-
metadata
-
metadataTools
-
messageTools
-
accessManager
-
dataComponents
-
fetchPlans
-
fetchPlanRepository
-
uiComponents
-
flowuiProperties
-
coreProperties
-
entityImportExport
-
importPlanJsonBuilder
-
entityImportPlans
-
actions
-
dialogs
-
notifications
-
entityRestore
-
dataManager
-
urlParamSerializer
-
routeSupport
-
downloader
-
entitiesDataGrid
-
selectedMeta
-
entitiesDl
-
entitiesDc
-
entityName
-
isDialogMode
protected boolean isDialogMode
-
-
Constructor Details
-
EntityInspectorListView
public EntityInspectorListView()
-
-
Method Details
-
onInit
-
beforeEnter
public void beforeEnter(com.vaadin.flow.router.BeforeEnterEvent event) - Specified by:
beforeEnterin interfacecom.vaadin.flow.router.internal.BeforeEnterHandler- Overrides:
beforeEnterin classView<ViewLayout>
-
beforeShow
-
onReady
-
getLookupComponent
- Specified by:
getLookupComponentin interfaceLookupView<Object>- Overrides:
getLookupComponentin classStandardListView<Object>- Returns:
- a component that is used to select entities of this view
-
findLookupComponent
- Specified by:
findLookupComponentin interfaceLookupView<Object>- Overrides:
findLookupComponentin classStandardListView<Object>- Returns:
- an optional component that is used to select entities of this view
-
getEntitiesLookupFieldOptions
-
createEntitiesDataGrid
-
showEntities
protected void showEntities() -
entitiesDataGridSelectionListener
-
createContainer
-
updateButtonsPanel
-
updateSelectAction
-
createLookupSelectAction
-
createExcelExportAction
-
createShowEntityInfoAction
-
createRefreshAction
-
createRemoveAction
-
createCreateAction
-
createEditAction
-
createRestoreButton
-
createWipeOutButton
-
showWipeOutDialog
protected void showWipeOutDialog() -
showRestoreDialog
protected void showRestoreDialog() -
showOptionDialog
protected void showOptionDialog(String header, String text, EntityInspectorListView.DialogConsumer<ActionPerformedEvent, Set<Object>> okEvent, Consumer<ActionPerformedEvent> cancelEvent, Set<Object> entityList) -
wipeOutOkHandler
-
restoreOkHandler
-
standardCancelHandler
-
entityChangeListener
-
showModeChangeListener
-
showNotification
-
readPermitted
-
setShowMode
-
createEntityExportPlan
-
createEntityImportPlan
-
createEntityImportPlan
-
setEntityName
-