/** * 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 */ public Collection getChildrenFeatures(Object object) { if (childrenFeatures == null) { super.getChildrenFeatures(object); childrenFeatures.add(BeansPackage.Literals.BEAN__PROPERTIES); } return childrenFeatures; }
/** * 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(ComponentsPackage.Literals.COMPONENT__INPUTS); childrenFeatures.add(ComponentsPackage.Literals.COMPONENT__OUTPUTS); childrenFeatures.add(ComponentsPackage.Literals.COMPONENT__VARIABLES); } return childrenFeatures; }