Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problems view updates on marker adding
icon9.gif  Problems view updates on marker adding [message #502461] Tue, 08 December 2009 11:49
Neopux Missing name is currently offline Neopux Missing nameFriend
Messages: 9
Registered: December 2009
Junior Member

I develop Eclipse plugin with TextEditor. On each text change I recompile content, delete old markers from resource and add new markers if it is necessary:

IMarker marker = file.createMarker(IMarker.PROBLEM);
marker.setAttribute(IMarker.SEVERITY, severity);
marker.setAttribute(IMarker.MESSAGE, message);
marker.setAttribute(IMarker.USER_EDITABLE, false);
marker.setAttribute(IMarker.LINE_NUMBER, lineNumber);

This markers shows in editor on the left side and in ProblemsView immediately. But I want to show them in Problems view only on save as standart java editor, because now Problems View blinks! Have you any ideas how to do it? Please, help me Smile

With the best regards,
Previous Topic:Schema editor: References and additional restrictions
Next Topic:Problems view updates on marker adding
Goto Forum:

Current Time: Thu Aug 06 13:08:34 GMT 2020

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

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

Back to the top