Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344754

Summary: missing import statement for timing service
Product: [Modeling] eTrice Reporter: Thomas Jung <tj>
Component: UserInterfaceAssignee: Project Inbox <etrice.userinterface-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: hrr
Version: 0.1.0Flags: hrr: indigo+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

Description Thomas Jung CLA 2011-05-04 15:11:32 EDT
If a reference of the timing service will be created within the structure editor, the import statement of the timing service will not be generated in the .room file. The reference statement is correct.
Comment 1 Henrik Rentz-Reichert CLA 2011-05-10 02:14:10 EDT
Import statements are not generated automatically. We would have to add them to the model following some logic, e.g. get user feed back in those cases.

On the other hand a bug in Xtext will lead to fully qualified references even if an import statement is present.
Sebastian Zarnekow from Itemis: There was a recent fix which will be available in 2.0RC1 that addressed this issue.
Comment 2 Henrik Rentz-Reichert CLA 2011-09-30 03:21:33 EDT
(In reply to comment #1)
> On the other hand a bug in Xtext will lead to fully qualified references even
> if an import statement is present.
> Sebastian Zarnekow from Itemis: There was a recent fix which will be available
> in 2.0RC1 that addressed this issue.

Verified the improved Xtext behavior with Xtext 2.0.

Closing this bug.