use of org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxOnlyEditor in project ovirt-engine by oVirt.
the class VmRunOncePopupWidget method initCheckBoxEditors.
void initCheckBoxEditors() {
attachFloppyEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
attachIsoEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
bootMenuEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
runAsStatelessEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
runAndPauseEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
useAlternateCredentialsEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
spiceFileTransferEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
spiceCopyPasteEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
cloudInitEnabledEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
volatileRunEditor = new EntityModelCheckBoxOnlyEditor();
volatileRunEditorWithInfo = new EntityModelWidgetWithInfo(new EnableableFormLabel(constants.volatileRunOnce()), volatileRunEditor);
volatileRunEditorWithInfo.setExplanation(templates.italicText(constants.volatileRunInfo()));
}
use of org.ovirt.engine.ui.common.widget.editor.generic.EntityModelCheckBoxOnlyEditor in project ovirt-engine by oVirt.
the class AbstractVmPopupWidget method initSpiceProxy.
protected void initSpiceProxy() {
EnableableFormLabel label = new EnableableFormLabel();
label.setText(constants.defineSpiceProxyEnable());
spiceProxyOverrideEnabledEditor = new EntityModelCheckBoxOnlyEditor();
spiceProxyEnabledCheckboxWithInfoIcon = new EntityModelWidgetWithInfo(label, spiceProxyOverrideEnabledEditor, Align.LEFT);
}
Aggregations