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
Problems view updates on marker adding [message #603795] 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 :)

With the best regards,
Previous Topic:Problems view updates on marker adding
Next Topic:Programatically viewing variables in a stackframe when a break point is hit
Goto Forum:

Current Time: Wed Aug 12 14:40:06 GMT 2020

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

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

Back to the top