Search in sources :

Example 86 with PropertyChangedEventArgs

use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.

the class HostGeneralModel method setOnlineCores.

public void setOnlineCores(String value) {
    if (onlineCores == null && value == null) {
        return;
    }
    if (onlineCores == null || !onlineCores.equals(value)) {
        onlineCores = value;
        // $NON-NLS-1$
        onPropertyChanged(new PropertyChangedEventArgs("onlineCores"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 87 with PropertyChangedEventArgs

use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.

the class HostGeneralModel method setHasAnyAlert.

public void setHasAnyAlert(boolean value) {
    if (hasAnyAlert != value) {
        hasAnyAlert = value;
        // $NON-NLS-1$
        onPropertyChanged(new PropertyChangedEventArgs("HasAnyAlert"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 88 with PropertyChangedEventArgs

use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.

the class NetworkAttachmentModel method setBootProtocolsAvailable.

public void setBootProtocolsAvailable(boolean value) {
    if (bootProtocolsAvailable != value) {
        bootProtocolsAvailable = value;
        updateCanSpecifyIpv4();
        updateCanSpecifyIpv6();
        // $NON-NLS-1$
        onPropertyChanged(new PropertyChangedEventArgs("BootProtocolsAvailable"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 89 with PropertyChangedEventArgs

use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.

the class StorageDomainModel method setDisks.

public void setDisks(ArrayList<DiskImage> value) {
    if (disks != value) {
        disks = value;
        // $NON-NLS-1$
        onPropertyChanged(new PropertyChangedEventArgs("Disks"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 90 with PropertyChangedEventArgs

use of org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs in project ovirt-engine by oVirt.

the class StorageGeneralModel method setTimeout.

public void setTimeout(Short timeout) {
    if (!isShortsEqual(this.timeout, timeout)) {
        this.timeout = timeout;
        // $NON-NLS-1$
        onPropertyChanged(new PropertyChangedEventArgs("Timeout"));
    }
}
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