Marker Support
Identifier:
org.eclipse.ui.markerSupport
Since:
[Enter the first release in which this extension point appears.]
Description:
The Marker Support extension point defines extensions to the workbench tools that show markers such as the problems, bookmarks and tasks views.
Configuration Markup:
<!ELEMENT extension (problemFilter* , subCategoryProvider*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT problemFilter (selectedType)*>
<!ATTLIST problemFilter
enabled (true | false)
scope (ON_ANY|ON_SELECTED_ONLY|ON_SELECTED_AND_CHILDREN|ON_ANY_IN_SAME_CONTAINER|ON_WORKING_SET)
onDescription CDATA #IMPLIED
severity (ERROR|WARNING|INFO)
name CDATA #REQUIRED
id CDATA #REQUIRED>
A problem filter is a filter that can be applied to problems.
- enabled - Whether or not this filter is enabled by default. If this value is not specified the value is true.
- scope - The scope of the filter. One of
ON_ANY: any item in the workbench
ON_SELECTED_ONLY: on the currently selected item
ON_SELECTED_AND_CHILDREN: on the currently selected item and it's children
ON_ANY_IN_SAME_CONTAINER: on any item with the same top level container as the selection
- onDescription - The description of the problem to check against. If this value is preceded with a ! the check will check that the description does not contain this string.
- severity - The severity of problem this filter is enabled for. If this value is not set then no filtering by severity will occur. Severity can be one of the following values: ERROR, WARNING or INFO.
- name - The human readable name of the filter.
- id - The unique id of the filter.
<!ELEMENT selectedType EMPTY>
<!ATTLIST selectedType
markerId CDATA #IMPLIED>
The selectedTypes are the ids of the marker types selected by default in this filter. If there are no selected types all marker types are enabled. All types not specified in this filter are disabled by default.
- markerId - The id of a marker that is enabled by default.
<!ELEMENT subCategoryProvider EMPTY>
<!ATTLIST subCategoryProvider
markerType CDATA #IMPLIED
class CDATA #REQUIRED>
A subCategoryProvider provides a sub category for organizing marker types.
- markerType - The markerType is the id of the marker that this provider will provide categories for.
- class - The class is the name of the class that provides the category. It must implement org.eclipse.ui.views.markers.ISubCategoryProvider.
Examples:
The following is an example of a problem filter definition in the marker support. This example only shows java warnings on the selected element and it's children and filters out those with the String NON-NLS
<extension point=
"org.eclipse.ui.ide.markerSupport"
>
<problemFilter
name =
"Warnings"
id =
"org.eclipse.example.warningFilter"
enabled =
"true"
scope=
"ON_SELECTED_AND_CHILDREN"
onDescription=
"!NON-NLS"
severity=
"WARNING"
>
<selectedType
markerId=
"org.eclipse.core.resources.problemmarker"
/>
</problemFilter>
</extension>
API Information:
[Enter API information here.]
Supplied Implementation:
[Enter information about supplied implementation of this extension point.]