@Templated(value="/org/overlord/sramp/ui/client/local/site/artifact-details_dialogs.html#add-property-dialog") @Dependent public class AddCustomPropertyDialog extends ModalDialog implements com.google.gwt.event.logical.shared.HasValueChangeHandlers<Map.Entry<String,String>>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.ui.TextBox |
name |
protected com.google.gwt.user.client.ui.Button |
submitButton |
protected com.google.gwt.user.client.ui.TextArea |
value |
| Constructor and Description |
|---|
AddCustomPropertyDialog()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Map.Entry<String,String>> handler) |
protected void |
onPostConstruct()
Called when the dialog is constructed by Errai.
|
protected void |
onSubmit(com.google.gwt.event.dom.client.ClickEvent event)
Called when the user clicks the submit button.
|
void |
show() |
destroy, hide, hide, onDialogHidden, onHidden, setDestroyOnHideclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents@Inject @DataField protected com.google.gwt.user.client.ui.TextBox name
@Inject @DataField protected com.google.gwt.user.client.ui.TextArea value
@Inject @DataField(value="add-property-submit-button") protected com.google.gwt.user.client.ui.Button submitButton
@PostConstruct protected void onPostConstruct()
public void show()
show in class ModalDialogModalDialog.show()@EventHandler(value="add-property-submit-button") protected void onSubmit(com.google.gwt.event.dom.client.ClickEvent event)
event - Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.