use of org.ovirt.engine.ui.common.widget.editor.generic.StringEntityModelTextBoxOnlyEditor in project ovirt-engine by oVirt.
the class AbstractVmPopupWidget method initTextBoxEditors.
private void initTextBoxEditors() {
templateVersionNameEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
vmIdEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
descriptionEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
commentEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
numOfVmsEditor = new IntegerEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
cpuPinning = new StringEntityModelTextBoxOnlyEditor(new ModeSwitchingVisibilityRenderer());
cpuSharesAmountEditor = new IntegerEntityModelTextBoxOnlyEditor(new ModeSwitchingVisibilityRenderer());
kernel_pathEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
initrd_pathEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
kernel_parametersEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
nameEditor = new StringEntityModelTextBoxEditor(new ModeSwitchingVisibilityRenderer());
nameEditor.hideLabel();
prestartedVmsEditor = new IntegerEntityModelTextBoxOnlyEditor(new ModeSwitchingVisibilityRenderer());
editPrestartedVmsEditor = new IntegerEntityModelTextBoxOnlyEditor(new ModeSwitchingVisibilityRenderer());
maxAssignedVmsPerUserEditor = new IntegerEntityModelTextBoxOnlyEditor(new ModeSwitchingVisibilityRenderer());
editMaxAssignedVmsPerUserEditor = new IntegerEntityModelTextBoxOnlyEditor(new ModeSwitchingVisibilityRenderer());
}
use of org.ovirt.engine.ui.common.widget.editor.generic.StringEntityModelTextBoxOnlyEditor in project ovirt-engine by oVirt.
the class ProviderSecretPopupView method initManualWidgets.
@SuppressWarnings("unchecked")
private void initManualWidgets() {
usageTypeEditor = new ListModelListBoxEditor<>(new EnumRenderer());
uuidEditor = new StringEntityModelTextBoxOnlyEditor();
uuidEditorWithInfo = new EntityModelWidgetWithInfo(new EnableableFormLabel(constants.idLibvirtSecret()), uuidEditor);
uuidEditorWithInfo.setExplanation(SafeHtmlUtils.fromTrustedString(constants.idLibvirtSecretHint()));
}
use of org.ovirt.engine.ui.common.widget.editor.generic.StringEntityModelTextBoxOnlyEditor in project ovirt-engine by oVirt.
the class VmInitWidget method initEditorsWithIcon.
private void initEditorsWithIcon() {
windowsHostnameEditor = new StringEntityModelTextBoxOnlyEditor();
EnableableFormLabel label = new EnableableFormLabel();
label.setText(constants.cloudInitHostnameLabel());
windowsHostnameEditorWithInfo = new EntityModelWidgetWithInfo(label, windowsHostnameEditor);
windowsHostnameEditorWithInfo.setExplanation(templates.italicText(constants.windowsHostNameInfo()));
}
use of org.ovirt.engine.ui.common.widget.editor.generic.StringEntityModelTextBoxOnlyEditor in project ovirt-engine by oVirt.
the class AbstractVmPopupWidget method initTotalVcpus.
private void initTotalVcpus() {
EnableableFormLabel label = new EnableableFormLabel();
label.setText(constants.numOfVCPUs());
// $NON-NLS-1$
label.addStyleName("numCPUs_pfly_fix");
totalvCPUsEditor = new StringEntityModelTextBoxOnlyEditor(new ModeSwitchingVisibilityRenderer());
totalvCPUsEditorWithInfoIcon = new EntityModelDetachableWidgetWithInfo(label, totalvCPUsEditor);
totalvCPUsEditorWithInfoIcon.setExplanation(templates.italicText(messages.hotPlugUnplugCpuWarning()));
}
Aggregations