public EObject createEMFObject(String nodeName, String readAheadName) { // tag name is based on the name property DynamicElement element = FacesConfigFactory.eINSTANCE.createDynamicElement(); element.setName(nodeName); return element; }
/** * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s * describing all of the children that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); newChildDescriptors.add (createChildParameter (FacesConfigPackage.Literals.DYNAMIC_ELEMENT__CHILD_NODES, FacesConfigFactory.eINSTANCE.createDynamicElement())); }