Class MarkerSupportRegistry
java.lang.Object
org.eclipse.ui.views.markers.internal.MarkerSupportRegistry
- All Implemented Interfaces:
IExtensionChangeHandler
The ProblemFilterRegistryReader is the registry reader for declarative
problem filters. See the org.eclipse.ui.markerSupport extension point.
- Since:
- 3.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The all markers generator.static final String
The markerAttributeMapping element.static final String
The bookmarks generator.static final String
The enabled attribute.static final String
Filter enablement : A zero/negative integer implies that the limit is disabled.static final String
The label attributestatic final String
The attribute grouping element name.static final String
The tag for marker grouping.static final String
The constant for grouping entries.static final String
The tag for the marker support extensionstatic final String
The key for marker type references.static final String
The id for the new markers view.static final String
The problems generator.static final String
The tasks generator.static final String
The value attribute. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(IExtensionTracker tracker, IExtension extension) This method is called whenever an extension conforming to the extension point filter is being added to the registry.getCategory
(String markerType) Get the category associated with markerType.getCategory
(IMarker marker) Get the category associated with marker.Get the generator descriptor for idReturn the default content generator descriptor.Return the field that maps to id.static MarkerSupportRegistry
Get the instance of the registry.getMarkerGroup
(String categoryName) Get the markerGroup associated with categoryNameReturn the FieldMarkerGroups in the receiver.Get the collection of currently registered filters.getSorterFor
(String type) Return the TableSorter that corresponds to type.void
removeExtension
(IExtension extension, Object[] objects) This method is called after the removal of an extension.
-
Field Details
-
ENABLED
The enabled attribute.- See Also:
-
FILTER_LIMIT
Filter enablement : A zero/negative integer implies that the limit is disabled.- See Also:
-
MARKER_SUPPORT
The tag for the marker support extension- See Also:
-
MARKER_TYPE_REFERENCE
The key for marker type references.- See Also:
-
ATTRIBUTE_MAPPING
The markerAttributeMapping element.- See Also:
-
MARKER_GROUPING
The tag for marker grouping.- See Also:
-
VALUE
The value attribute.- See Also:
-
LABEL
The label attribute- See Also:
-
MARKER_ATTRIBUTE_GROUPING
The attribute grouping element name.- See Also:
-
MARKER_GROUPING_ENTRY
The constant for grouping entries.- See Also:
-
BOOKMARKS_GENERATOR
The bookmarks generator.- See Also:
-
TASKS_GENERATOR
The tasks generator.- See Also:
-
PROBLEMS_GENERATOR
The problems generator.- See Also:
-
ALL_MARKERS_GENERATOR
The all markers generator.- See Also:
-
MARKERS_ID
The id for the new markers view.- See Also:
-
-
Method Details
-
getInstance
Get the instance of the registry.- Returns:
- MarkerSupportRegistry
-
addExtension
Description copied from interface:IExtensionChangeHandler
This method is called whenever an extension conforming to the extension point filter is being added to the registry. This method does not automatically register objects to the tracker.- Specified by:
addExtension
in interfaceIExtensionChangeHandler
- Parameters:
tracker
- a tracker to which the handler has been registeredextension
- the extension being added
-
getRegisteredFilters
Get the collection of currently registered filters.- Returns:
- Collection of ProblemFilter
-
removeExtension
Description copied from interface:IExtensionChangeHandler
This method is called after the removal of an extension.- Specified by:
removeExtension
in interfaceIExtensionChangeHandler
- Parameters:
extension
- the extension being removedobjects
- the objects that were associated with the removed extension
-
getCategory
Get the category associated with marker. Returnnull
if there are none.- Returns:
- String or
null
-
getCategory
Get the category associated with markerType. Returnnull
if there are none.- Returns:
- String or
null
-
getSorterFor
Return the TableSorter that corresponds to type.- Returns:
- TableSorter
-
getMarkerGroups
Return the FieldMarkerGroups in the receiver.- Returns:
- Collection of
MarkerGroup
-
getContentGenDescriptor
Get the generator descriptor for id- Returns:
- ContentGeneratorDescriptor or
null
.
-
getDefaultContentGenDescriptor
Return the default content generator descriptor.- Returns:
- ContentGeneratorDescriptor
-
getMarkerGroup
Get the markerGroup associated with categoryName- Returns:
- FieldMarkerGroup or
null
-
getField
Return the field that maps to id.- Returns:
MarkerField
ornull
-