use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class VmListModel method setIsoImages.
private void setIsoImages(ObservableCollection<ChangeCDModel> value) {
if ((isoImages == null && value != null) || (isoImages != null && !isoImages.equals(value))) {
isoImages = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("IsoImages"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class VmMonitorModel method setNetworkUsage.
public void setNetworkUsage(int value) {
if (networkUsage != value) {
networkUsage = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("NetworkUsage"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class ConfirmationModel method setForceLabel.
public void setForceLabel(String forceLabel) {
if (!Objects.equals(getForceLabel(), forceLabel)) {
this.forceLabel = forceLabel;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("ForceLabel"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class UICommand method setIsExecutionAllowed.
/*
* Call this method after adding execute prohibition reasons.
*/
public UICommand setIsExecutionAllowed(boolean value) {
if (isExecutionAllowed != value) {
isExecutionAllowed = value;
if (value) {
getExecuteProhibitionReasons().clear();
}
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("IsExecutionAllowed"));
}
return this;
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class HostModel method setIsPowerManagementTabSelected.
public void setIsPowerManagementTabSelected(boolean value) {
if (isPowerManagementTabSelected != value) {
isPowerManagementTabSelected = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("IsPowerManagementTabSelected"));
}
}
Aggregations