Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Alternative cross-reference with JVM types
Alternative cross-reference with JVM types [message #1727860] Mon, 28 March 2016 16:29 Go to next message
Dexz92 Dexz is currently offline Dexz92 DexzFriend
Messages: 2
Registered: March 2016
Junior Member
SOLVED

[Updated on: Tue, 29 March 2016 23:11]

Report message to a moderator

Re: Alternative cross-reference with JVM types [message #1727873 is a reply to message #1727860] Mon, 28 March 2016 19:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi yes you have to Override. And have a Look At the superclass Code and How it detects of a jvm Type is Wanted. You have to Bypass this

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Alternative cross-reference with JVM types [message #1727878 is a reply to message #1727873] Mon, 28 March 2016 22:23 Go to previous messageGo to next message
Dexz92 Dexz is currently offline Dexz92 DexzFriend
Messages: 2
Registered: March 2016
Junior Member
SOLVED

[Updated on: Tue, 29 March 2016 23:11]

Report message to a moderator

Re: Alternative cross-reference with JVM types [message #1727885 is a reply to message #1727878] Tue, 29 March 2016 04:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
You have to use xbase. Do you?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Alternative cross-reference with JVM types [message #1727886 is a reply to message #1727885] Tue, 29 March 2016 04:09 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
If your types are not kvmtypes you will not be able to reference them as jvmtype. So the easiest is to make them jvm types using jvmmodelinferrrer. Or you have to keep the old reference and look how xbase treats jvm tyypes specially and build a scope that contsins jvm type scope and normal scope

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Xtext Display line numbers
Next Topic:Re: Reference genmodel of another DSL relative to the platform
Goto Forum:
  


Current Time: Wed Apr 24 15:33:49 GMT 2024

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

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

Back to the top