@Override
  public void eventRaised(Event<? extends EventArgs> ev, Object sender, EventArgs args) {
    super.eventRaised(ev, sender, args);

    if (ev.matchesDefinition(HasEntity.entityChangedEventDefinition)) {
      if (sender == getIsReadOnly()) {
        updateScsiPassthroguhChangeability();
      } else if (sender == getIsScsiPassthrough()) {
        updateScsiPassthroguhChangeability();
        updateSgIoUnfilteredChangeability();
        updateReadOnlyChangeability();
        updateScsiReservationChangeability();
      } else if (sender == getIsSgIoUnfiltered()) {
        updateScsiReservationChangeability();
      } else if (sender == getDiskStorageType()) {
        diskStorageType_EntityChanged();
      }
    } else if (ev.matchesDefinition(ListModel.selectedItemChangedEventDefinition)) {
      if (sender == getVolumeType()) {
        volumeType_SelectedItemChanged();
      } else if (sender == getDiskInterface()) {
        DiskInterface_SelectedItemChanged();
      } else if (sender == getDataCenter()) {
        datacenter_SelectedItemChanged();
      } else if (sender == getStorageDomain()) {
        storageDomain_SelectedItemChanged();
      }
    }
  }
  @Override
  public void eventRaised(Event<? extends EventArgs> ev, Object sender, EventArgs args) {
    super.eventRaised(ev, sender, args);
    entityModel.eventRaised(ev, sender, args);

    if (ev.matchesDefinition(RegistrationResult.RetrievedEventDefinition)) {
      asyncResult_Retrieved();
    }
    if (ev.matchesDefinition(ProvideTickEvent.definition)) {
      syncSearch();
    }
  }
Example #3
0
  @Override
  public void eventRaised(Event<? extends EventArgs> ev, Object sender, EventArgs args) {
    super.eventRaised(ev, sender, args);

    if (ev.matchesDefinition(ListModel.selectedItemChangedEventDefinition)) {
      if (sender == getDataCenter()) {
        dataCenter_SelectedItemChanged();
      } else if (sender == getHost()) {
        host_SelectedItemChanged();
      } else if (sender == getAvailableStorageTypeItems()) {
        storageType_SelectedItemChanged();
      } else if (sender == getAvailableStorageDomainTypeItems()) {
        behavior.setStorageTypeItems();
      }
    } else if (ev.matchesDefinition(ListModel.itemsChangedEventDefinition)) {
      if (sender == getAvailableStorageTypeItems()) {
        storageItemsChanged();
      }
    } else if (ev.matchesDefinition(NfsStorageModel.pathChangedEventDefinition)) {
      nfsStorageModel_PathChanged(sender);
    }
  }
Example #4
0
 @Override
 public void eventRaised(Event ev, Object sender, EventArgs args) {
   if (ev.matchesDefinition(ChangeCDModel.executedEventDefinition)) {
     changeCD(sender, args);
   }
 }