public interface FormDialogPresenter extends DialogPresenter
FormDialogPresenterImpl
.Modifier and Type | Method and Description |
---|---|
default com.vaadin.v7.data.Item |
getRelatedItem() |
FormView |
getView() |
DialogView |
start(com.vaadin.v7.data.Item item,
FormDialogDefinition dialogDefinition,
UiContext uiContext,
EditorCallback callback)
Starts (builds and renders) a form dialog component.
|
DialogView |
start(com.vaadin.v7.data.Item item,
FormDialogDefinition dialogDefinition,
UiContext uiContext,
EditorCallback callback,
ContentConnector contentConnector)
Starts (builds and renders) a form dialog component.
|
DialogView |
start(com.vaadin.v7.data.Item item,
String dialogId,
UiContext uiContext,
EditorCallback callback)
Starts (builds and renders) a form dialog component.
|
addShortcut, closeDialog, getActionArea, start
FormView getView()
getView
in interface DialogPresenter
DialogView start(com.vaadin.v7.data.Item item, FormDialogDefinition dialogDefinition, UiContext uiContext, EditorCallback callback)
item
- dialogDefinition
- definition of the dialog.uiContext
- current UI context (normally this is sub-app context).callback
- callback fired when the form dialog finishes its work.DialogView
.DialogView start(com.vaadin.v7.data.Item item, String dialogId, UiContext uiContext, EditorCallback callback)
item
- dialogId
- id of the dialog.uiContext
- current UI context (normally this is sub-app context).callback
- callback fired when the form dialog finishes its work.DialogView
.DialogView start(com.vaadin.v7.data.Item item, FormDialogDefinition dialogDefinition, UiContext uiContext, EditorCallback callback, ContentConnector contentConnector)
ContentConnector
parameter allows
for specifying concrete connector to be used within the dialog.item
- id of a Vaadin item used as a dialogs data-source.dialogDefinition
- definition of the dialog.uiContext
- current UI context (normally this is sub-app context).callback
- callback fired when the form dialog finishes its work.contentConnector
- specific content connector to be used in the dialog.DialogView
.default com.vaadin.v7.data.Item getRelatedItem()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.