Hello!
I am trying to integrate Jan's GGV from github with my Xtext language.
I followed readme file, I run GGV, but I have errors when trying do mapping (Couldn't resolve reference to JvmType 'Statemachine')
README:
- add a dependency to org.eclipse.xtext.graphview.providers in the UI plugin of your
language
- add the following entry in the plugin.xml of the UI plug-in of your language
<extension point="org.eclipse.xtext.graphview.selectionStrategy">
<strategy
class="<<your language's full name>>ExtensionFactory:org.eclipse.xtext.graphview.providers.XtextEditorSelectionStrategy">
</strategy>
</extension>
- add a dependency to your language's infrastructure plug-in in the runtime
plug-in containing the mapping and stylesheet files.
If you don't want to touch the Xtext plug-ins, you can contribute this by means
of a plug-in fragment. The projects
org.eclipse.xtext.example.domainmodel.graphview and
org.eclipse.xtext.example.fowlerdsl.graphview
show you how to do that.
I can't understand the last point.
I add dependencies (org.eclipse.xtext.graphview.map, org.eclipse.xtext.graphview.style) to my language runtime plug-in (org.xtext.example.mydsl). Is that correct?
Is there someone who know how to run this?
Thanks a lot!