Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344754 - missing import statement for timing service
Summary: missing import statement for timing service
Status: CLOSED WONTFIX
Alias: None
Product: eTrice
Classification: Modeling
Component: UserInterface (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 15:11 EDT by Thomas Jung CLA
Modified: 2011-09-30 03:21 EDT (History)
1 user (show)

See Also:
hrr: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.