use of org.ovirt.engine.ui.common.widget.editor.generic.ToStringEntityModelRenderer in project ovirt-engine by oVirt.
the class PoolEditPopupWidget method createNumOfDesktopEditors.
@Override
protected void createNumOfDesktopEditors() {
increaseNumOfVmsEditor = new IntegerEntityModelTextBoxEditor();
numOfVmsEditor = new EntityModelTextBoxEditor<>(new ToStringEntityModelRenderer<Integer>(), text -> {
// forwards to the currently active editor
return increaseNumOfVmsEditor.asEditor().getValue();
});
}
use of org.ovirt.engine.ui.common.widget.editor.generic.ToStringEntityModelRenderer in project ovirt-engine by oVirt.
the class PoolNewPopupWidget method createNumOfDesktopEditors.
@Override
protected void createNumOfDesktopEditors() {
numOfVmsEditor = new IntegerEntityModelTextBoxEditor();
increaseNumOfVmsEditor = new EntityModelTextBoxEditor<>(new ToStringEntityModelRenderer<Integer>(), text -> {
// forwards to the currently active editor
return numOfVmsEditor.asEditor().getValue();
});
}
Aggregations