Example usage for com.google.gwt.editor.client.adapters OptionalFieldEditor of

List of usage examples for com.google.gwt.editor.client.adapters OptionalFieldEditor of

Introduction

In this page you can find the example usage for com.google.gwt.editor.client.adapters OptionalFieldEditor of.

Prototype

public static <T, E extends Editor<T>> OptionalFieldEditor<T, E> of(E subEditor) 

Source Link

Document

Construct an OptionalFieldEditor backed by the given sub-Editor.

Usage

From source file:com.google.gwt.sample.dynatablerf.client.widgets.MentorSelector.java

License:Apache License

public MentorSelector(DynaTableRequestFactory factory) {
    this.factory = factory;
    initWidget(GWT.<Binder>create(Binder.class).createAndBindUi(this));
    editor = OptionalFieldEditor.of(nameLabel);
}

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

License:Apache License

public BeneficiarioSelector() {

    initWidget(GWT.<Binder>create(Binder.class).createAndBindUi(this));
    editor = OptionalFieldEditor.of(nameLabel);
    clear.setVisible(false);/*w ww  .jav  a  2  s.  co m*/
}