Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Attaching marker (error decorator) to resource fires IResourceDelta.CHANGED event
Attaching marker (error decorator) to resource fires IResourceDelta.CHANGED event [message #760248] Thu, 01 December 2011 17:02 Go to next message
maria  finkelstein is currently offline maria finkelsteinFriend
Messages: 19
Registered: December 2011
Location: New York, NY
Junior Member
There is my problem... when resource file is imported to the workspace it's finds associate projected builder. If builder indicate that this resource is invalid it will attach error decorator to resource and fires file resource change(IResourceDelta.CHANGED). Is there any way so how to differentiate between adding Marker event and actual file change event?
Re: Attaching marker (error decorator) to resource fires IResourceDelta.CHANGED event [message #760352 is a reply to message #760248] Fri, 02 December 2011 05:10 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
You are probably looking for IResourceDelta#getFlags().
Re: Attaching marker (error decorator) to resource fires IResourceDelta.CHANGED event [message #762879 is a reply to message #760352] Thu, 08 December 2011 19:01 Go to previous message
maria  finkelstein is currently offline maria finkelsteinFriend
Messages: 19
Registered: December 2011
Location: New York, NY
Junior Member
thanks, it's works Smile
i used:
IMarkerDelta[] marker = delta.getMarkerDeltas() on the ResourceDeltaVisitor
Previous Topic:How do I export the project with a jar inside?.
Next Topic:Cannot create ast with bindings
Goto Forum:
  


Current Time: Fri Apr 26 00:02:28 GMT 2024

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

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

Back to the top