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
-
FILTER_LIMIT
Filter enablement : A zero/negative integer implies that the limit is disabled.- See Also:
-
MARKER_SUPPORT
-
MARKER_TYPE_REFERENCE
-
ATTRIBUTE_MAPPING
-
MARKER_GROUPING
-
VALUE
-
LABEL
-
MARKER_ATTRIBUTE_GROUPING
-
MARKER_GROUPING_ENTRY
-
BOOKMARKS_GENERATOR
-
TASKS_GENERATOR
-
PROBLEMS_GENERATOR
-
ALL_MARKERS_GENERATOR
-
MARKERS_ID
-
-
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
-
getCategory
-
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
-