Search in sources :

Example 6 with PropertyChangedEventArgs

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"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 7 with PropertyChangedEventArgs

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"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 8 with PropertyChangedEventArgs

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"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 9 with PropertyChangedEventArgs

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"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 10 with PropertyChangedEventArgs

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"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Aggregations

PropertyChangedEventArgs (org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)374 ArrayList (java.util.ArrayList)3 DiskImage (org.ovirt.engine.core.common.businessentities.storage.DiskImage)3 Collections (java.util.Collections)2 Comparator (java.util.Comparator)2 HashMap (java.util.HashMap)2 List (java.util.List)2 Map (java.util.Map)2 StorageDomain (org.ovirt.engine.core.common.businessentities.StorageDomain)2 StatsInfo (org.ovirt.engine.core.common.businessentities.gluster.StatsInfo)2 IdQueryParameters (org.ovirt.engine.core.common.queries.IdQueryParameters)2 QueryType (org.ovirt.engine.core.common.queries.QueryType)2 Guid (org.ovirt.engine.core.compat.Guid)2 Frontend (org.ovirt.engine.ui.frontend.Frontend)2 UICommand (org.ovirt.engine.ui.uicommonweb.UICommand)2 AsyncDataProvider (org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider)2 DiskModel (org.ovirt.engine.ui.uicommonweb.models.vms.DiskModel)2 ConstantsManager (org.ovirt.engine.ui.uicompat.ConstantsManager)2 EventArgs (org.ovirt.engine.ui.uicompat.EventArgs)2 Collection (java.util.Collection)1