/** * This returns the property descriptors for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); } return itemPropertyDescriptors; }
/** * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate * feature for an {@link org.eclipse.emf.edit.command.AddCommand}, {@link * org.eclipse.emf.edit.command.RemoveCommand} or {@link org.eclipse.emf.edit.command.MoveCommand} * in {@link #createCommand}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); childrenFeatures.add(ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT); } return childrenFeatures; }
/** * This handles model notifications by calling {@link #updateChildren} to update any cached * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void notifyChanged(Notification notification) { updateChildren(notification); switch (notification.getFeatureID(ListLiteralExp.class)) { case ImperativeOCLPackage.LIST_LITERAL_EXP__ELEMENT: fireNotifyChanged( new ViewerNotification(notification, notification.getNotifier(), true, false)); return; } super.notifyChanged(notification); }
/** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children that * can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createAltExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createAssertExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createAssignExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createBlockExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createBreakExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createCatchExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createComputeExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createContinueExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createDictLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createForExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createImperativeIterateExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createInstantiationExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createListLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createLogExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createOrderedTupleLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createRaiseExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createReturnExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createSwitchExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createTryExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createUnlinkExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createUnpackExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createVariableInitExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, ImperativeOCLFactory.eINSTANCE.createWhileExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createAssociationClassCallExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createBooleanLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createCollectionLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createEnumLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createIfExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createIntegerLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createUnlimitedNaturalLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createInvalidLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createIterateExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createIteratorExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createLetExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createMessageExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createNullLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createOperationCallExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createPropertyCallExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createRealLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createStateExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createStringLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createTupleLiteralExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createTypeExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createUnspecifiedValueExp())); newChildDescriptors.add( createChildParameter( ImperativeOCLPackage.Literals.LIST_LITERAL_EXP__ELEMENT, EcoreFactory.eINSTANCE.createVariableExp())); }