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
FieldsModifier and TypeFieldDescriptionstatic final StringThe all markers generator.static final StringThe markerAttributeMapping element.static final StringThe bookmarks generator.static final StringThe enabled attribute.static final StringFilter enablement : A zero/negative integer implies that the limit is disabled.static final StringThe label attributestatic final StringThe attribute grouping element name.static final StringThe tag for marker grouping.static final StringThe constant for grouping entries.static final StringThe tag for the marker support extensionstatic final StringThe key for marker type references.static final StringThe id for the new markers view.static final StringThe problems generator.static final StringThe tasks generator.static final StringThe value attribute. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(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 MarkerSupportRegistryGet 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.voidremoveExtension(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:IExtensionChangeHandlerThis 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:
addExtensionin 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:IExtensionChangeHandlerThis method is called after the removal of an extension.- Specified by:
removeExtensionin interfaceIExtensionChangeHandler- Parameters:
extension- the extension being removedobjects- the objects that were associated with the removed extension
-
getCategory
Get the category associated with marker. Returnnullif there are none.- Returns:
- String or
null
-
getCategory
Get the category associated with markerType. Returnnullif 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:
MarkerFieldornull
-