Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » combining JavaVMTypes and own types
combining JavaVMTypes and own types [message #645825] Mon, 20 December 2010 17:22 Go to next message
Nicolas Cabanis is currently offline Nicolas CabanisFriend
Messages: 15
Registered: July 2009
Junior Member
Hello,

I want to reference either my own type or any Java type. That's the way the language is defined and I cannot change this.

For example:
MyEntity:
    name = ID
    someRef = ( [MyEntity|QualifiedName] | [java::JvmType|QualifiedName] );


This, of course, does not work. But how could it work?

Regards,
Nicolas
Re: combining JavaVMTypes and own types [message #645837 is a reply to message #645825] Mon, 20 December 2010 18:11 Go to previous message
Meinte Boersma is currently offline Meinte BoersmaFriend
Messages: 434
Registered: July 2009
Location: Leiden, Netherlands
Senior Member
Lazy answer: see http://dslmeinte.wordpress.com/2010/12/08/getting-alternativ e-cross-references-to-work-with-existing-epackages/ Wink

Previous Topic:Weird behaviour with multiple multi line comments
Next Topic:Xtext generated code missing
Goto Forum:
  


Current Time: Fri Apr 26 10:48:31 GMT 2024

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

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

Back to the top