Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] (no subject)

Am 09.06.2013 um 17:25 schrieb Yannic Noller:

> Hi Jens,
> 
> could you describe your advice more precisely? I'm not that familiar with Henshin.

This is less a Henshin-issue as more a task to be done on EMF-side.

Just create a new instance of

org.eclipse.emf.ecore.resource.Resource

and add the EGraph contents with "getRoots().get(0)" for example.

It depends on the metamodel structure if this succeeds well.

I used BPMN and UML-metamodels. In the case of BPMN, this works, but in the case of UML one has to do a bit more filtering of which elements are copied because it can destroy the runtime-version of the metamodel.

Hth,
Jens

Back to the top