/** * This handles notification by delegating to {@link #fireNotifyChanged fireNotifyChanged}. */ @Override public void notifyChanged(Notification msg) { //MappingPackage ePackage = ((MappingRoot)msg.getNotifier()).ePackageMapping(); MappingPackage ePackage = MappingPackage.eINSTANCE; if (msg.getFeature() == ePackage.getMappingRoot_OutputReadOnly() || msg.getFeature() == ePackage.getMappingRoot_TopToBottom()) { fireNotifyChanged(msg); //hgd::fireNotifyChanged(msg.getNotifier(), msg.getEventType(), msg.getStructuralFeature(), msg.getOldValue(), msg.getNewValue(), msg.getPosition()); return; } super.notifyChanged(msg); }
/** * This handles notification by delegating to {@link #fireNotifyChanged fireNotifyChanged}. */ @Override public void notifyChanged(Notification msg) { //MappingPackage ePackage = ((MappingRoot)msg.getNotifier()).ePackageMapping(); MappingPackage ePackage = MappingPackage.eINSTANCE; if (msg.getFeature() == ePackage.getMappingRoot_OutputReadOnly() || msg.getFeature() == ePackage.getMappingRoot_TopToBottom()) { fireNotifyChanged(msg); //hgd::fireNotifyChanged(msg.getNotifier(), msg.getEventType(), msg.getStructuralFeature(), msg.getOldValue(), msg.getNewValue(), msg.getPosition()); return; } super.notifyChanged(msg); }