Example usage for com.google.gwt.uibinder.rebind.model OwnerField getName

List of usage examples for com.google.gwt.uibinder.rebind.model OwnerField getName

Introduction

In this page you can find the example usage for com.google.gwt.uibinder.rebind.model OwnerField getName.

Prototype

public String getName() 

Source Link

Document

Returns the name of the field in the owner class.

Usage

From source file:com.xemantic.tadedon.gwt.field.rebind.UiFieldAccessorGenerators.java

License:Apache License

public static Set<String> getFieldNames(OwnerClass ownerClass) {
    Collection<OwnerField> fields = ownerClass.getUiFields();
    ImmutableSet.Builder<String> builder = ImmutableSet.builder();
    for (OwnerField ownerField : fields) {
        builder.add(ownerField.getName());
    }//  w  w w.  j  av a 2 s  .c  o  m
    return builder.build();
}