Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » fully qualified name for a class(How to get the fully qualified name of a class using EGL/EOL)
fully qualified name for a class [message #710289] Thu, 04 August 2011 22:08 Go to next message
vrm  is currently offline vrm Friend
Messages: 31
Registered: June 2011
Member
How can i get the fully qualified name of a class using EGL/EOL ? I need to get them for the super types for each EClass I iterate over my ecore model.

Any help would be appreciated !
Re: fully qualified name for a class [message #710691 is a reply to message #710289] Fri, 05 August 2011 10:05 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 913
Registered: July 2009
Senior Member
Hi,

Could you please provide an example of what you're trying to do?

Cheers,
Dimitris
Re: fully qualified name for a class [message #710862 is a reply to message #710691] Fri, 05 August 2011 13:55 Go to previous messageGo to next message
vrm  is currently offline vrm Friend
Messages: 31
Registered: June 2011
Member
I'm generating java files for my ECore model using EGL and EOL.For instance,in my ecore model I have an ECLass "A" which extends "B".When generating A.java I need to add an import statement for B. I can get the super type,"B" in this case,using eSuperTypes but I need to get the fully qualified name to add it as an import statement.
Re: fully qualified name for a class [message #710875 is a reply to message #710862] Fri, 05 August 2011 14:20 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 913
Registered: July 2009
Senior Member
You can get this information from the .genmodel (you'll also need to add it to your launch configuration).

Cheers,
Dimitris
Previous Topic:[EWL] Embed EWL in gmf project
Next Topic:(no subject)
Goto Forum:
  


Current Time: Tue Nov 25 02:02:07 GMT 2014

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

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