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

Bug 325511

Summary: [Builder] Allow To Add / Remove Markers from Builder Participant
Product: [Modeling] TMF Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: sven.efftinge
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sebastian Zarnekow CLA 2010-09-16 14:21:10 EDT
External compilers may provide errors / warnings in addition to the validation rules. If one does not want / cannot invoke those compilers for a specific EObject it may be interesting to create markers from a builder participant.
Comment 1 Sven Efftinge CLA 2010-09-17 05:51:14 EDT
Couldn't those components just use the IResource API to add and remove markers?
Comment 2 Sebastian Zarnekow CLA 2010-10-04 05:30:13 EDT
(In reply to comment #1)
> Couldn't those components just use the IResource API to add and remove markers?

I like out abstraction on markers better. Issues are far easier to create and thereby allow an easier API. Furthermore its much nicer for clients to use a framework that deals with all the marker-lifecycle stuff.
Comment 3 Sebastian Zarnekow CLA 2010-10-05 09:16:17 EDT
Clients are free to use the IResource-API.
Comment 4 Sebastian Zarnekow CLA 2010-10-05 09:16:26 EDT
see comment #1