use of org.eclipse.emf.common.notify.impl.NotificationImpl in project statecharts by Yakindu.
the class DerivedEObjectEList method remove.
@Override
public E remove(int index) {
if (isNotificationRequired()) {
boolean oldIsSet = isSet();
NotificationImpl notification = createNotification(Notification.REMOVE, super.remove(index), null, index, oldIsSet);
dispatchNotification(notification);
@SuppressWarnings("unchecked") E oldValue = (E) notification.getOldValue();
return oldValue;
} else {
return super.remove(index);
}
}
Aggregations