public class DialogHelper extends Object
DialogComponent
.Constructor and Description |
---|
DialogHelper() |
Modifier and Type | Method and Description |
---|---|
void |
buildAndOpen() |
com.vaadin.ui.Component |
createDialogComponent() |
DialogHelper |
withActions(Map<String,ActionDefinition> actions) |
DialogHelper |
withCaption(String caption) |
DialogHelper |
withComponentProvider(info.magnolia.objectfactory.ComponentProvider componentProvider) |
DialogHelper |
withContent(com.vaadin.ui.Component content) |
DialogHelper |
withContent(EditorView editorView) |
DialogHelper |
withItems(List<Object> items) |
DialogHelper |
withLayoutDefinition(LayoutDefinition layoutDefinition) |
DialogHelper |
withLocaleContext(LocaleContext localeContext) |
DialogHelper |
withUserLanguage(Supplier<Locale> userLanguage) |
public DialogHelper withContent(EditorView editorView)
public DialogHelper withContent(com.vaadin.ui.Component content)
public DialogHelper withComponentProvider(info.magnolia.objectfactory.ComponentProvider componentProvider)
public DialogHelper withUserLanguage(Supplier<Locale> userLanguage)
public DialogHelper withLocaleContext(LocaleContext localeContext)
public DialogHelper withActions(Map<String,ActionDefinition> actions)
public DialogHelper withItems(List<Object> items)
public DialogHelper withCaption(String caption)
public DialogHelper withLayoutDefinition(LayoutDefinition layoutDefinition)
public com.vaadin.ui.Component createDialogComponent()
public void buildAndOpen()
Copyright © 2019 Magnolia International Ltd.. All rights reserved.