Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XAnnotation / ImportManager
XAnnotation / ImportManager [message #1052666] Tue, 30 April 2013 11:27 Go to next message
Andreas  Flügge is currently offline Andreas FlüggeFriend
Messages: 16
Registered: July 2009
Junior Member
Hello, just another beginner question:

I'm using annotations like this:

@Inheritance(strategy = InheritanceType.JOINED)


and an import manager:

...
«FOR a : m.annotations»
    ...
    «val tmpName = importManager.serialize(a.annotation.annotationType)»
    ...
«ENDFOR»
...


The ImportManager generates an import for Inheritance but NOT for InheritanceType!

How can I make the ImportManager to append the import for the nested type?

Thanks in advance,
Andreas
Re: XAnnotation / ImportManager [message #1052684 is a reply to message #1052666] Tue, 30 April 2013 12:00 Go to previous message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 6550
Registered: July 2009
Senior Member
I thinks you have to traverse the params yourself
Previous Topic:CompilationTestHelper problem with generated non-java code
Next Topic:Repeated value in a grammar rule
Goto Forum:
  


Current Time: Sat Dec 20 11:33:55 GMT 2014

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

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