use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class HostHardwareGeneralModel method setHardwareManufacturer.
public void setHardwareManufacturer(String value) {
if (!Objects.equals(hardwareManufacturer, value)) {
hardwareManufacturer = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("manufacturer"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class HostHardwareGeneralModel method setNumberOfSockets.
public void setNumberOfSockets(Integer value) {
if (numberOfSockets == null && value == null) {
return;
}
if (numberOfSockets == null || !numberOfSockets.equals(value)) {
numberOfSockets = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("NumberOfSockets"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class HostInterfaceLineModel method setInterfaces.
public void setInterfaces(ArrayList<HostInterface> value) {
if (interfaces != value) {
interfaces = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("Interfaces"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class HostInterfaceLineModel method setBondName.
public void setBondName(String value) {
if (!Objects.equals(bondName, value)) {
bondName = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("BondName"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class HostInterfaceListModel method setItems.
@Override
public void setItems(Collection<HostInterfaceLineModel> value) {
if (items != value) {
itemsChanging(value, items);
items = value;
itemsChanged();
getItemsChangedEvent().raise(this, EventArgs.EMPTY);
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("Items"));
}
}
Aggregations