use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class SelectionTreeNodeModel method setIsSelectedNotificationPrevent.
public void setIsSelectedNotificationPrevent(boolean value) {
if (isSelectedNotificationPrevent != value) {
isSelectedNotificationPrevent = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("IsSelectedNotificationPrevent"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class InstanceTypeGeneralModel method setDescription.
public void setDescription(String value) {
if (!Objects.equals(description, value)) {
this.description = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("Description"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class RoleModel method setPermissionGroupModels.
public void setPermissionGroupModels(ArrayList<SelectionTreeNodeModel> value) {
if (permissionGroupModels != value) {
permissionGroupModels = value;
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("PermissionGroupModels"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class ListModel method setSelectedItems.
public void setSelectedItems(List<T> value) {
if (selectedItems != value) {
selectedItemsChanging(value, selectedItems);
selectedItems = value;
selectedItemsChanged();
getSelectedItemsChangedEvent().raise(this, EventArgs.EMPTY);
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("SelectedItems"));
}
}
use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.
the class ListModel method setSelectedItem.
public void setSelectedItem(T value, boolean fireEvent) {
if (selectedItem != value && fireEvent) {
onSelectedItemChanging(value, selectedItem);
selectedItem = value;
onSelectedItemChanged();
getSelectedItemChangedEvent().raise(this, EventArgs.EMPTY);
// $NON-NLS-1$
onPropertyChanged(new PropertyChangedEventArgs("SelectedItem"));
}
}
Aggregations