Search in sources :

Example 76 with PropertyChangedEventArgs

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

Example 77 with PropertyChangedEventArgs

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

Example 78 with PropertyChangedEventArgs

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

Example 79 with PropertyChangedEventArgs

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

Example 80 with PropertyChangedEventArgs

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"));
    }
}
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