Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » cannot filter problem markers by description using the severityDescription field
cannot filter problem markers by description using the severityDescription field [message #334222] Tue, 27 January 2009 01:00
Christian Rijke is currently offline Christian RijkeFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I'm implementing a filter for problem markers for a custom problems
view. As the 'problemFilter' element of the
org.eclipse.ui.ide.markerSupport extension point is deprecated, I added
a markerFieldConfiguration to my markerContentGenerator instead.

To define my filter, I subclassed FilterContributionParameters, as
required. There I found that it's not possible to filter problems by
description using the severityDescription field. Inspecting the
SeverityAndDescriptionFieldFilter class reveals that I would have to use
MarkerSupportInternalUtilies.CONTAINS_TEXT_TOKEN as a key in my filter
map, but that's not possible as it's an internal constant.

The filter works if I add a description Field to my view (the one
without the severity icon), the corresponding DescriptionFieldFilter
class then allows me to use MarkerSupportConstants.CONTAINS_KEY as a key.

The problem would be solved, if the SeverityAndDescriptionFieldFilter
would call super.initialize(values) in the initialize method, it's the
only filter class that doesn't have this call.

Is there a particular reason for this? Is it a bug or am I missing
something?

Thanks,
Christian
Previous Topic:Problems with context classloader when running Eclipse as headless antRunner
Next Topic:.html files always Shift_JIS regardless of preferences or content
Goto Forum:
  


Current Time: Sat Nov 09 03:12:07 GMT 2024

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

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

Back to the top