1 17 package org.eclipse.emf.common.notify; 18 19 20 25 public interface Notification 26 { 27 31 Object getNotifier(); 32 33 39 int CREATE = 0; 40 41 47 int SET = 1; 48 49 55 int UNSET = 2; 56 57 62 int ADD = 3; 63 64 69 int REMOVE = 4; 70 71 76 int ADD_MANY = 5; 77 78 83 int REMOVE_MANY = 6; 84 85 90 int MOVE = 7; 91 92 97 int REMOVING_ADAPTER = 8; 98 99 104 int RESOLVE = 9; 105 106 112 int EVENT_TYPE_COUNT = 10; 113 114 120 int getEventType(); 121 122 127 int NO_FEATURE_ID = -1; 128 129 135 int getFeatureID(Class expectedClass); 136 137 141 Object getFeature(); 142 143 149 Object getOldValue(); 150 151 156 Object getNewValue(); 157 158 162 boolean wasSet(); 163 164 178 boolean isTouch(); 179 180 184 boolean isReset(); 185 186 191 int NO_INDEX = -1; 192 193 198 int getPosition(); 199 200 204 boolean merge(Notification notification); 205 206 211 boolean getOldBooleanValue(); 212 213 218 boolean getNewBooleanValue(); 219 220 225 byte getOldByteValue(); 226 227 232 byte getNewByteValue(); 233 234 239 char getOldCharValue(); 240 241 246 char getNewCharValue(); 247 248 253 double getOldDoubleValue(); 254 255 260 double getNewDoubleValue(); 261 262 267 float getOldFloatValue(); 268 269 274 float getNewFloatValue(); 275 276 281 int getOldIntValue(); 282 283 288 int getNewIntValue(); 289 290 295 long getOldLongValue(); 296 297 302 long getNewLongValue(); 303 304 309 short getOldShortValue(); 310 311 316 short getNewShortValue(); 317 318 322 String getOldStringValue(); 323 324 328 String getNewStringValue(); 329 } 330 | Popular Tags |