コード例 #1
0
 /** @generated */
 protected void handleNotificationEventGen(Notification event) {
   if (event.getNotifier() == getModel()
       && EcorePackage.eINSTANCE.getEModelElement_EAnnotations().equals(event.getFeature())) {
     handleMajorSemanticChange();
   } else {
     super.handleNotificationEvent(event);
   }
 }
コード例 #2
0
ファイル: EntryEditPart.java プロジェクト: huybuidac/yakindu
 @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);
 }