Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » new import section mechanism
new import section mechanism [message #1063244] Wed, 12 June 2013 19:35 Go to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 630
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I'm using Xbase and the new XImportSection mechanism. The imports are
used both for Java types and names exported from other files. When an
import is used for (only) the latter case, I get a warning that it is
not used. Can't it check that a corresponding named DSL object is
referred to?

Hallvard
Re: new import section mechanism [message #1063249 is a reply to message #1063244] Wed, 12 June 2013 20:27 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 8904
Registered: July 2009
Senior Member
Hi,

did you try to hook into
org.eclipse.xtext.xbase.validation.XbaseJavaValidator.handleTypeUsageInCrossReference(Map<JvmType, XImportDeclaration>, Map<String, JvmType>, INode)


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Previous Topic:Terminals with whitespace
Next Topic:I can "know" the error in my editor
Goto Forum:
  


Current Time: Fri May 06 07:27:18 GMT 2016

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

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