class ScriptTypeListFieldEditorPresenter extends FieldEditorPresenter<ScriptTypeListValue> {

    @Override
    public void setValue(ScriptTypeListValue value) {
        super.setValue(value);
        if (value != null && value.getValues() != null && !value.getValues().isEmpty()) {
            scriptTypePresenter.setValue(value.getValues().get(0));
        } else {
            scriptTypePresenter.setValue(null);
        }
    }

    @Inject public  ScriptTypeListFieldEditorPresenter(final ScriptTypeFieldEditorPresenter scriptTypePresenter);

}