Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XtextResource of inherited object
XtextResource of inherited object [message #727158] Tue, 20 September 2011 14:43 Go to next message
Fabien F. is currently offline Fabien F.Friend
Messages: 7
Registered: September 2011
Junior Member
Hello.
I'm trying to include a XtextResource to my meta-model but i have problems.

I have 2 models.
First is the DSL (Domainmodel)
Second is my business model.

Here is a representation of the models i'm working on.
index.php/fa/4009/0/

I'd like that XtextElement to be an instance of XtextResource.
(Domainmodel is an instance of XtextResource)
Is there a cast or any mean to do so?

Thanks.

[Updated on: Tue, 20 September 2011 14:46]

Report message to a moderator

Re: XtextResource of inherited object [message #727264 is a reply to message #727158] Tue, 20 September 2011 18:44 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

this makes no sense to me. can you elaborate a bit why you want to do this?

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: XtextResource of inherited object [message #727269 is a reply to message #727264] Tue, 20 September 2011 18:48 Go to previous message
Fabien F. is currently offline Fabien F.Friend
Messages: 7
Registered: September 2011
Junior Member
I have two parts in my meta model.
One part i want to represent graphically (with GMF)
And another i want to represent textually (with Xtext)

(The image doesn't represent the real model only the context)

[Updated on: Tue, 20 September 2011 18:49]

Report message to a moderator

Previous Topic:Content assist
Next Topic:Change Javadoc tooltip dynamically?
Goto Forum:
  


Current Time: Wed Apr 24 23:30:37 GMT 2024

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

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

Back to the top