1 | @Override↵ | | 1 | @Override↵
|
2 | public void notifyChanged(Notification notification)↵ | | 2 | public void notifyChanged(Notification notification)↵
|
3 | {↵ | | 3 | {↵
|
4 | updateChildren(notification);↵ | | 4 | updateChildren(notification);↵
|
|
5 | switch (notification.getFeatureID(EEnum.class))↵ | | 5 | switch (notification.getFeatureID(EModelElement.class))↵
|
6 | {↵ | | 6 | {↵
|
7 | case EcorePackage.EENUM__ELITERALS:↵ | | 7 | case EcorePackage.EMODEL_ELEMENT__EANNOTATIONS:↵
|
8 | fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));↵ | | 8 | fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));↵
|
9 | return;↵ | | 9 | return;↵
|
10 | }↵ | | 10 | }↵
|
11 | super.notifyChanged(notification);↵ | | 11 | super.notifyChanged(notification);↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children↵ | | 14 | * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children↵
|
15 | * that can be created under this object.↵ | | 15 | * that can be created under this object.↵
|
16 | * <!-- begin-user-doc -->↵ | | 16 | * <!-- begin-user-doc -->↵
|
17 | * <!-- end-user-doc -->↵ | | 17 | * <!-- end-user-doc -->↵
|
18 | * @generated↵ | | 18 | * @generated↵
|
19 | */↵ | | 19 | */↵
|
20 | @Override↵ | | 20 | @Override↵
|
21 | protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object)↵ | | 21 | protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object)↵
|
22 | {↵ | | 22 | {↵
|
23 | super.collectNewChildDescriptors(newChildDescriptors, object);↵ | | 23 | super.collectNewChildDescriptors(newChildDescriptors, object);↵
|
|
24 | newChildDescriptors.add↵ | | 24 | newChildDescriptors.add↵
|
25 | (createChildParameter↵ | | 25 | (createChildParameter↵
|
26 | (EcorePackage.Literals.EENUM__ELITERALS,↵ | | 26 | (EcorePackage.Literals.EMODEL_ELEMENT__EANNOTATIONS,↵
|
27 | EcoreFactory.eINSTANCE.createEEnumLiteral())); | | 27 | EcoreFactory.eINSTANCE.createEAnnotation()));
|