use of org.ovirt.engine.ui.common.widget.renderer.EnumRenderer in project ovirt-engine by oVirt.
the class AffinityGroupPopupView method initEditors.
private void initEditors() {
vmAffinityRuleEditor = new ListModelListBoxEditor<>(new EnumRenderer<EntityAffinityRule>());
vmAffinityRuleEditor.hideLabel();
vmAffinityRuleEditorInfoIcon = new InfoIcon(templates.italicText(constants.affinityGroupVmPolarityInfo()));
vmAffinityEnforcingEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
vmAffinityEnforcingEditor.hideLabel();
vmAffinityEnforcingEditorInfoIcon = new InfoIcon(templates.italicText(constants.affinityGroupEnforceInfo()));
hostAffinityRuleEditor = new ListModelListBoxEditor<>(new EnumRenderer<EntityAffinityRule>());
hostAffinityRuleEditor.hideLabel();
hostAffinityRuleEditorInfoIcon = new InfoIcon(templates.italicText(constants.affinityGroupHostPolarityInfo()));
hostAffinityEnforcingEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
hostAffinityEnforcingEditor.hideLabel();
hostAffinityEnforcingEditorInfoIcon = new InfoIcon(templates.italicText(constants.affinityGroupEnforceInfo()));
}
Aggregations