|
Re: How to convert GraphNodeWrapper to EObject [message #1840915 is a reply to message #1840908] |
Wed, 28 April 2021 17:26 |
|
Hi Jo,
The EOLQueryEngine class is EMF-agnostic, as well as GraphNodeWrapper: you cannot directly turn GNWs into EObjects. Instead, you should use .localhawkmodel files to expose a Hawk graph as an EMF resource, if you are using a local Hawk running in the same JVM. If you are accessing a remote model through the Thrift API, you will need to use a .hawkmodel file instead. For details on how to create .localhawkmodel files, check this page:
https://www.eclipse.org/hawk/advanced-use/graph-as-emf/
I can set up an example if you provide more details of your use case. Are you using Hawk from a pure Java program, or from an Eclipse plugin?
Best,
Antonio
|
|
|
|
Powered by
FUDForum. Page generated in 0.03263 seconds