1 11 12 package org.eclipse.ui.activities; 13 14 27 public final class IdentifierEvent { 28 private boolean activityIdsChanged; 29 30 private boolean enabledChanged; 31 32 private IIdentifier identifier; 33 34 44 public IdentifierEvent(IIdentifier identifier, boolean activityIdsChanged, 45 boolean enabledChanged) { 46 if (identifier == null) { 47 throw new NullPointerException (); 48 } 49 50 this.identifier = identifier; 51 this.activityIdsChanged = activityIdsChanged; 52 this.enabledChanged = enabledChanged; 53 } 54 55 61 public IIdentifier getIdentifier() { 62 return identifier; 63 } 64 65 70 public boolean hasActivityIdsChanged() { 71 return activityIdsChanged; 72 } 73 74 79 public boolean hasEnabledChanged() { 80 return enabledChanged; 81 } 82 } 83 | Popular Tags |