Java Code Examples for org.eclipse.emf.ecore.util.EcoreUtil.remove()

The following are Jave code examples for showing how to use remove() of the org.eclipse.emf.ecore.util.EcoreUtil class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: rest-modeling-framework   File: RamlModelBuilder.java   View Source Code Vote up 5 votes
@Override
public AnyType caseTypeTemplate(final TypeTemplate typeTemplate) {
    final String template = typeTemplate.getName();
    final String typeName = StringTemplate.of(template).render(parameters);
    final AnyType resolvedType = (AnyType) typeExpressionConstructor.parse(typeName, scope);
    EcoreUtil.remove(typeTemplate);
    return resolvedType;
}