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
Modifier and TypeClassDescriptionprotected static interface
protected class
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected Actions
protected static final String
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected CoreProperties
protected DataComponents
protected DataManager
protected static final String
protected Dialogs
protected Downloader
protected CollectionContainer
protected CollectionLoader
protected JmixComboBox<MetaClass>
protected EntityImportExport
protected EntityImportPlans
protected String
protected EntityRestore
protected FetchPlanRepository
protected FetchPlans
protected FlowuiProperties
protected EntityImportPlanJsonBuilder
protected boolean
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected MessageBundle
protected Messages
protected MessageTools
protected Metadata
protected MetadataTools
protected Notifications
protected static final String
protected static final String
protected static final String
protected RouteSupport
protected JmixButton
protected MetaClass
protected com.vaadin.flow.component.select.Select<ShowMode>
protected UiComponents
protected UrlParamSerializer
protected static final String
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeEnter
(com.vaadin.flow.router.BeforeEnterEvent event) void
beforeShow
(View.BeforeShowEvent event) protected CollectionContainer
createContainer
(MetaClass meta) protected CreateAction
createCreateAction
(DataGrid<Object> dataGrid) protected EditAction
createEditAction
(DataGrid<Object> dataGrid) protected void
protected FetchPlan
createEntityExportPlan
(MetaClass metaClass) protected EntityImportPlan
createEntityImportPlan
(MetaClass metaClass) protected EntityImportPlan
createEntityImportPlan
(String content, MetaClass metaClass) protected ExcelExportAction
createExcelExportAction
(DataGrid<Object> dataGrid) protected LookupSelectAction
createLookupSelectAction
(DataGrid<Object> dataGrid) protected RefreshAction
createRefreshAction
(DataGrid<Object> dataGrid) protected RemoveAction
createRemoveAction
(DataGrid<Object> dataGrid) protected JmixButton
createRestoreButton
(DataGrid<Object> dataGrid) protected ShowEntityInfoAction
createShowEntityInfoAction
(DataGrid<Object> dataGrid) protected JmixButton
createWipeOutButton
(DataGrid<?> dataGrid) protected void
entitiesDataGridSelectionListener
(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<Object>, Object> event) protected void
entityChangeListener
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MetaClass>, MetaClass> valueChangeEvent) void
onInit
(View.InitEvent event) void
onReady
(View.ReadyEvent event) protected boolean
readPermitted
(MetaClass metaClass) protected void
restoreOkHandler
(ActionPerformedEvent actionPerformedEvent, Set<Object> entityList) void
setEntityName
(String entityName) protected void
setShowMode
(String showModeParameter) protected void
protected void
showModeChangeListener
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.select.Select<ShowMode>, ShowMode> valueChangeEvent) protected void
showNotification
(String message) protected void
showOptionDialog
(String header, String text, EntityInspectorListView.DialogConsumer<ActionPerformedEvent, Set<Object>> okEvent, Consumer<ActionPerformedEvent> cancelEvent, Set<Object> entityList) protected void
protected void
protected void
standardCancelHandler
(ActionPerformedEvent actionPerformedEvent) protected void
updateButtonsPanel
(DataGrid<Object> dataGrid) protected void
updateSelectAction
(DataGrid<Object> dataGrid) protected void
wipeOutOkHandler
(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, validateSelectedItems
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods 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, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods 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:
beforeEnter
in interfacecom.vaadin.flow.router.internal.BeforeEnterHandler
- Overrides:
beforeEnter
in classView<ViewLayout>
-
beforeShow
-
onReady
-
getLookupComponent
- Specified by:
getLookupComponent
in interfaceLookupView<Object>
- Overrides:
getLookupComponent
in classStandardListView<Object>
- Returns:
- a component that is used to select entities of this view
-
findLookupComponent
- Specified by:
findLookupComponent
in interfaceLookupView<Object>
- Overrides:
findLookupComponent
in 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
-