public class EntityEditorDialog extends Object
| Modifier and Type | Field and Description |
|---|---|
protected gwt.material.design.client.ui.MaterialButton |
btnCancel |
protected gwt.material.design.client.ui.MaterialButton |
btnOk |
protected gwt.material.design.client.ui.MaterialPanel |
content |
protected gwt.material.design.client.ui.MaterialDialogContent |
dc |
protected gwt.material.design.client.ui.MaterialDialog |
modal |
protected EditorTitle |
title |
| Constructor and Description |
|---|
EntityEditorDialog(JSEntity entity,
String viewName) |
| Modifier and Type | Method and Description |
|---|---|
static AbstractEntityEditorForm |
getFormWidget(EntityModel model,
String viewName) |
String |
getViewEditName() |
protected void |
onCancelClick(com.google.gwt.event.dom.client.ClickEvent evt) |
protected void |
onOkClick(com.google.gwt.event.dom.client.ClickEvent evt) |
void |
setViewEditName(String viewEditName) |
Promise<Boolean,IError> |
show() |
void |
validate() |
@UiField protected gwt.material.design.client.ui.MaterialButton btnCancel
@UiField protected gwt.material.design.client.ui.MaterialButton btnOk
@UiField protected gwt.material.design.client.ui.MaterialDialog modal
@UiField protected gwt.material.design.client.ui.MaterialDialogContent dc
@UiField protected gwt.material.design.client.ui.MaterialPanel content
protected EditorTitle title
public void validate()
@UiHandler(value="btnOk") protected void onOkClick(com.google.gwt.event.dom.client.ClickEvent evt)
@UiHandler(value="btnCancel") protected void onCancelClick(com.google.gwt.event.dom.client.ClickEvent evt)
public static AbstractEntityEditorForm getFormWidget(EntityModel model, String viewName)
public String getViewEditName()
public void setViewEditName(String viewEditName)
Copyright © 2018. All rights reserved.