use of org.ovirt.engine.ui.common.widget.dialog.InfoIcon in project ovirt-engine by oVirt.
the class AbstractVmPopupWidget method initPoolSpecificWidgets.
protected void initPoolSpecificWidgets() {
createNumOfDesktopEditors();
newPoolPrestartedVmsIcon = new InfoIcon(templates.italicText(messages.prestartedHelp()));
editPoolPrestartedVmsIcon = new InfoIcon(templates.italicText(messages.prestartedHelp()));
poolNameIcon = new InfoIcon(templates.italicText(messages.poolNameHelp()));
newPoolMaxAssignedVmsPerUserIcon = new InfoIcon(templates.italicText(messages.maxAssignedVmsPerUserHelp()));
editPoolMaxAssignedVmsPerUserIcon = new InfoIcon(templates.italicText(messages.maxAssignedVmsPerUserHelp()));
// $NON-NLS-1$
numaInfoIcon = new InfoIcon(SafeHtmlUtils.fromTrustedString(""));
isRngEnabledInfoIcon = new InfoIcon(SafeHtmlUtils.fromTrustedString(constants.rngDevExplanation()));
}
use of org.ovirt.engine.ui.common.widget.dialog.InfoIcon in project ovirt-engine by oVirt.
the class RemoveBrickPopupView method initEditors.
private void initEditors() {
migrateEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
migrateInfoIcon = new InfoIcon(templates.italicText(constants.removeBricksMigrateDataInfo()));
}
use of org.ovirt.engine.ui.common.widget.dialog.InfoIcon in project ovirt-engine by oVirt.
the class ClusterPopupView method initInfoIcons.
private void initInfoIcons() {
memoryOptimizationInfo = new InfoIcon(templates.italicText(constants.clusterPopupMemoryOptimizationInfo()));
cpuThreadsInfo = new InfoIcon(templates.italicText(constants.clusterPopupCpuThreadsInfo()));
schedulerOptimizationInfoIcon = new InfoIcon(SafeHtmlUtils.EMPTY_SAFE_HTML);
allowOverbookingInfoIcon = new InfoIcon(SafeHtmlUtils.EMPTY_SAFE_HTML);
fencingEnabledInfo = new InfoIcon(templates.italicText(constants.fencingEnabledInfo()));
skipFencingIfSDActiveInfo = new InfoIcon(templates.italicText(constants.skipFencingIfSDActiveInfo()));
skipFencingIfConnectivityBrokenInfo = new InfoIcon(templates.italicText(constants.skipFencingWhenConnectivityBrokenInfo()));
skipFencingIfGlusterBricksUpInfo = new InfoIcon(templates.italicText(constants.skipFencingIfGlusterBricksUpInfo()));
skipFencingIfGlusterBricksUpInfo.setVisible(false);
skipFencingIfGlusterQuorumNotMetInfo = new InfoIcon(templates.italicText(constants.skipFencingIfGlusterQuorumNotMetInfo()));
skipFencingIfGlusterQuorumNotMetInfo.setVisible(false);
// $NON-NLS-1$
isVirtioScsiEnabledInfoIcon = new InfoIcon(templates.italicText(""));
}
use of org.ovirt.engine.ui.common.widget.dialog.InfoIcon in project ovirt-engine by oVirt.
the class GeoRepActionConfirmPopUpView method initEditors.
private void initEditors() {
forceEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
geoRepForceHelpIcon = new InfoIcon(templates.italicText(constants.notAvailableLabel()));
}
use of org.ovirt.engine.ui.common.widget.dialog.InfoIcon in project ovirt-engine by oVirt.
the class HostConfigureLocalStoragePopupView method initialize.
private void initialize() {
dataCenterVersionEditor = new ListModelListBoxEditor<>(new NullSafeRenderer<Version>() {
@Override
public String renderNullSafe(Version object) {
return object.getValue();
}
});
clusterCpuTypeEditor = new ListModelListBoxEditor<>(new NullSafeRenderer<ServerCpu>() {
@Override
public String renderNullSafe(ServerCpu object) {
return object.getCpuName();
}
});
// Optimization options.
// $NON-NLS-1$
optimizationNoneEditor = new EntityModelRadioButtonEditor("1");
// $NON-NLS-1$
optimizationForServerEditor = new EntityModelRadioButtonEditor("1");
// $NON-NLS-1$
optimizationForDesktopEditor = new EntityModelRadioButtonEditor("1");
// $NON-NLS-1$
optimizationCustomEditor = new EntityModelRadioButtonEditor("1");
optimizationCustomEditor.setVisible(false);
countThreadsAsCoresEditor = new EntityModelCheckBoxEditor(Align.RIGHT);
memoryOptimizationInfo = new InfoIcon(templates.italicText(constants.clusterPopupMemoryOptimizationInfo()));
memoryOptimizationInfo.setTooltipMaxWidth(TooltipWidth.W520);
cpuThreadsInfo = new InfoIcon(templates.italicText(constants.clusterPopupCpuThreadsInfo()));
cpuThreadsInfo.setTooltipMaxWidth(TooltipWidth.W620);
}
Aggregations