@Templated(value="/org/overlord/sramp/ui/client/local/site/artifact-details_dialogs.html#modify-classifiers-dialog") @Dependent public class ModifyClassifiersDialog extends ModalDialog implements com.google.gwt.user.client.ui.HasValue<List<String>>, IRpcServiceInvocationHandler<List<OntologyBean>>
| Constructor and Description |
|---|
ModifyClassifiersDialog()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<List<String>> handler) |
List<String> |
getValue() |
void |
onDropDownChange(com.google.gwt.event.dom.client.ChangeEvent event)
Called when the user changes the drop-down value.
|
void |
onError(Throwable error)
Called when the RPC call fails.
|
protected void |
onPostConstruct()
Called when the dialog is constructed by Errai.
|
void |
onReturn(List<OntologyBean> ontologies)
Called when the RPC call successfully returns data.
|
protected void |
onSubmit(com.google.gwt.event.dom.client.ClickEvent event)
Called when the user clicks the submit button.
|
void |
setValue(List<String> value) |
void |
setValue(List<String> value,
boolean fireEvents) |
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@PostConstruct protected void onPostConstruct()
@EventHandler(value="modify-classifiers-dialog-ontology-selector") public void onDropDownChange(com.google.gwt.event.dom.client.ChangeEvent event)
event - public void show()
show in class ModalDialogModalDialog.show()@EventHandler(value="modify-classifiers-dialog-btn-ok") protected void onSubmit(com.google.gwt.event.dom.client.ClickEvent event)
event - public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<List<String>> handler)
public void onReturn(List<OntologyBean> ontologies)
IRpcServiceInvocationHandleronReturn in interface IRpcServiceInvocationHandler<List<OntologyBean>>IRpcServiceInvocationHandler.onReturn(java.lang.Object)public void onError(Throwable error)
IRpcServiceInvocationHandleronError in interface IRpcServiceInvocationHandler<List<OntologyBean>>IRpcServiceInvocationHandler.onError(java.lang.Throwable)Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.