/** @generated */
 protected void handleNotificationEventGen(Notification event) {
   if (event.getNotifier() == getModel()
       && EcorePackage.eINSTANCE.getEModelElement_EAnnotations().equals(event.getFeature())) {
     handleMajorSemanticChange();
   } else {
     super.handleNotificationEvent(event);
   }
 }
示例#2
0
 @Override
 protected void handleNotificationEvent(Notification notification) {
   // We have to update the primary shape when the entry kind changes
   if (SGraphPackage.eINSTANCE.getEntry_Kind().equals(notification.getFeature())) {
     // TODO: We have to remove the old figure, this does not work
     // currently because the connections get broken then.
     getMainFigure().add(getPrimaryShape());
   }
   super.handleNotificationEvent(notification);
 }
 /** @generated */
 protected void handleNotificationEvent(Notification event) {
   super.handleNotificationEvent(event);
 }