@Dependent @Templated public class IncludedModelModalView extends Object implements IncludedModelModal.View
| Constructor and Description |
|---|
IncludedModelModalView(elemental2.dom.HTMLDivElement header,
elemental2.dom.HTMLDivElement body,
elemental2.dom.HTMLDivElement footer,
elemental2.dom.HTMLDivElement dropdown,
elemental2.dom.HTMLInputElement modelNameInput,
elemental2.dom.HTMLButtonElement includeButton,
elemental2.dom.HTMLButtonElement cancelButton) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableIncludeButton() |
void |
enableIncludeButton() |
elemental2.dom.HTMLElement |
getBody() |
elemental2.dom.HTMLElement |
getFooter() |
String |
getHeader() |
String |
getModelNameInput() |
void |
init(IncludedModelModal presenter) |
void |
initialize() |
void |
onCancelButtonClick(com.google.gwt.event.dom.client.ClickEvent e) |
void |
onIncludeButtonClick(com.google.gwt.event.dom.client.ClickEvent e) |
void |
onModelNameInputChanged(com.google.gwt.event.dom.client.KeyUpEvent e) |
void |
setupAssetsDropdown(elemental2.dom.HTMLElement dropdownElement) |
@Inject
public IncludedModelModalView(elemental2.dom.HTMLDivElement header,
elemental2.dom.HTMLDivElement body,
elemental2.dom.HTMLDivElement footer,
elemental2.dom.HTMLDivElement dropdown,
elemental2.dom.HTMLInputElement modelNameInput,
elemental2.dom.HTMLButtonElement includeButton,
elemental2.dom.HTMLButtonElement cancelButton)
public void init(IncludedModelModal presenter)
init in interface org.uberfire.client.mvp.HasPresenter<IncludedModelModal>public void initialize()
initialize in interface IncludedModelModal.Viewpublic String getHeader()
getHeader in interface org.uberfire.ext.editor.commons.client.file.popups.elemental2.Elemental2Modal.View<IncludedModelModal>public elemental2.dom.HTMLElement getBody()
getBody in interface org.uberfire.ext.editor.commons.client.file.popups.elemental2.Elemental2Modal.View<IncludedModelModal>public elemental2.dom.HTMLElement getFooter()
getFooter in interface org.uberfire.ext.editor.commons.client.file.popups.elemental2.Elemental2Modal.View<IncludedModelModal>public String getModelNameInput()
getModelNameInput in interface IncludedModelModal.Viewpublic void setupAssetsDropdown(elemental2.dom.HTMLElement dropdownElement)
setupAssetsDropdown in interface IncludedModelModal.Viewpublic void disableIncludeButton()
disableIncludeButton in interface IncludedModelModal.Viewpublic void enableIncludeButton()
enableIncludeButton in interface IncludedModelModal.View@EventHandler(value="model-name") public void onModelNameInputChanged(com.google.gwt.event.dom.client.KeyUpEvent e)
@EventHandler(value="include") public void onIncludeButtonClick(com.google.gwt.event.dom.client.ClickEvent e)
@EventHandler(value="cancel") public void onCancelButtonClick(com.google.gwt.event.dom.client.ClickEvent e)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.