Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPand/GMF] templates import statements
[XPand/GMF] templates import statements [message #509369] Fri, 22 January 2010 09:17 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I try to augment GMF codegen templates for my editor.
I copied the templates and put them into a source folder, where the
XPand nature parses the file.

It gives an error message for the import statements like

«IMPORT 'http://www.eclipse.org/gmf/2009/GenModel

Error: Mismatched input "http://www.eclipse.org/gmf/2009/GenModel",
expecting identifier .

Then I get a NullPointerException in the Xpand outline view. At least
this is a bug, isn't it?

Is the syntax of the GMF templates something else than the standard
Eclipse XPand stuff?
Not sure whether this is an GMF or Xpand issue.

Cheers,
Hauke
Re: [XPand/GMF] templates import statements [message #509379 is a reply to message #509369] Fri, 22 January 2010 10:03 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14729
Registered: July 2009
Senior Member
hi,

yes GMF uses a Xpand fork so you should edit the templates with the xpand editor provided by GMF.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Previous Topic:[Xpand] Long namespaces and editor proposals
Next Topic:[xtend] UML profile stereotypes not recognized
Goto Forum:
  


Current Time: Sun Nov 10 12:11:46 GMT 2024

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

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

Back to the top