Search in sources :

Example 71 with PropertyChangedEventArgs

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

the class HostGeneralModel method setMemoryPageSharing.

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

Example 72 with PropertyChangedEventArgs

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

the class HostGeneralModel method setHasReinstallAlertInstallFailed.

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

Example 73 with PropertyChangedEventArgs

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

the class HostHardwareGeneralModel method setCoresPerSocket.

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

Example 74 with PropertyChangedEventArgs

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

the class HostHardwareGeneralModel method setHardwareVersion.

public void setHardwareVersion(String value) {
    if (!Objects.equals(hardwareVersion, value)) {
        hardwareVersion = value;
        // $NON-NLS-1$
        onPropertyChanged(new PropertyChangedEventArgs("hardwareVersion"));
    }
}
Also used : PropertyChangedEventArgs(org.ovirt.engine.ui.uicompat.PropertyChangedEventArgs)

Example 75 with PropertyChangedEventArgs

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

the class HostHardwareGeneralModel method setCpuType.

public void setCpuType(String value) {
    if (!Objects.equals(cpuType, value)) {
        cpuType = value;
        // $NON-NLS-1$
        onPropertyChanged(new PropertyChangedEventArgs("CpuType"));
    }
}
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