Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Generic Graphic View can't integrate with Xtext
Generic Graphic View can't integrate with Xtext [message #1284509] Fri, 04 April 2014 15:09
Vuk Vukovic is currently offline Vuk VukovicFriend
Messages: 1
Registered: April 2014
Junior Member
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!
Previous Topic:Cross References (Scoping) without names
Next Topic:Xtext Embedded Editor - Null Pointer Exception
Goto Forum:
  


Current Time: Fri Apr 26 14:58:53 GMT 2024

Powered by FUDForum. Page generated in 0.03199 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top