Example usage for com.google.gwt.editor.client EditorDelegate subscribe

List of usage examples for com.google.gwt.editor.client EditorDelegate subscribe

Introduction

In this page you can find the example usage for com.google.gwt.editor.client EditorDelegate subscribe.

Prototype

HandlerRegistration subscribe();

Source Link

Document

Register for notifications if object being edited is updated.

Usage

From source file:com.gonevertical.client.views.peopleedit.editor.NameLabel.java

License:Apache License

public void setDelegate(EditorDelegate<PeopleDataProxy> delegate) {
    if (subscription != null) {
        subscription.removeHandler();/*from  w w w  .  j a  va2s  .c  o  m*/
    }
    subscription = delegate.subscribe();
}

From source file:com.google.gwt.sample.dynatablemvp.client.widgets.NameLabel.java

License:Apache License

public void setDelegate(EditorDelegate<PersonProxy> delegate) {
    if (subscription != null) {
        subscription.removeHandler();/*  w  w w  .j a  v a2 s  .  c o m*/
    }
    subscription = delegate.subscribe();
}

From source file:py.edu.uca.intercajas.client.beneficiario.NameLabel.java

License:Apache License

public void setDelegate(EditorDelegate<Beneficiario> delegate) {
    if (subscription != null) {
        subscription.removeHandler();// w  w w  .jav a 2 s.  c  om
    }
    subscription = delegate.subscribe();
}