Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325511 - [Builder] Allow To Add / Remove Markers from Builder Participant
Summary: [Builder] Allow To Add / Remove Markers from Builder Participant
Status: CLOSED WONTFIX
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 14:21 EDT by Sebastian Zarnekow CLA
Modified: 2010-10-05 09:16 EDT (History)
1 user (show)

See Also:


Attachments

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