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

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

Introduction

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

Prototype

public static <T> SimpleEditor<T> of() 

Source Link

Document

Returns a new ValueEditor that holds a null value.

Usage

From source file:org.cee.webreader.client.ui.WorkingSet.java

License:Apache License

public WorkingSet() {
    listBoxLanguage = new ValueListBox<EntityKey>(new EntityKeyRenderer(), new EntityKeyProvider());

    setWidget(uiBinder.createAndBindUi(this));
    setGlassEnabled(true);//from ww w  .j  a v a 2s  .  com
    setStyleName(resources.styles().popupPanel());

    sitesEditor = new SelectionListEditor<EntityKey>();
    oldNameEditor = SimpleEditor.of();
    isNewEditor = SimpleEditor.of();
    driver = GWT.create(WorkingSetDataEditorDriver.class);
    driver.initialize(new WorkingSet.WorkingSetEditor());
}