/** * This specifies how to implement {@link #getChildren} * and {@link org.eclipse.emf.edit.command.AddCommand} and {@link org.eclipse.emf.edit.command.RemoveCommand} * support in {@link #createCommand}. */ @Override public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); childrenFeatures.add(GenModelPackage.eINSTANCE.getGenPackage_NestedGenPackages()); childrenFeatures.add(GenModelPackage.eINSTANCE.getGenPackage_GenClasses()); childrenFeatures.add(GenModelPackage.eINSTANCE.getGenPackage_GenEnums()); childrenFeatures.add(GenModelPackage.eINSTANCE.getGenPackage_GenDataTypes()); } return childrenFeatures; }