class DropDownEditor implements IsWidget, LeafAttributeEditor<String> {

    @Override
    public void setValue(final String value) {
        this.value = value;
        Entry entry = getEntryByValue(value);
        if (entry != null) {
            this.dropDown.setSelectedItem(value, entry.getHint());
        } else {
            this.dropDown.setSelectedItem(selectorHint, selectorHint);
        }
    }

    @Inject public  DropDownEditor(final View view,
                          final LiveSearchDropDown dropDown,
                          final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent);

}