Class ContentGeneratorDescriptor
java.lang.Object
org.eclipse.ui.views.markers.internal.ContentGeneratorDescriptor
ContentGeneratorDescriptor is the direct representation of the markerContentGenerator
extension point.
- Since:
- 3.6
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new ContentGeneratorDescriptor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtensions(Collection<IConfigurationElement> extensions) Add the extensions to the receiver.booleanallTypesSelected(Collection<MarkerType> selectedTypes) Return whether or not all ofMarkerTypesModelare in the selectedTypes.Get the all of the fields that this content generator is using.Get the category name from the receiver.Return the configuration elements for the receiver.getId()Return the id of the receiver.Get the list of initially visible fieldsGet the markerGroups associated with the receiver.Return the markerTypes for the receiver.getName()Return the name for the receiver.Return the type for typeId.Get the table that maps type ids to markerTypes.voidInitialise the receiver from the configuration element.voidremoveExtension(IConfigurationElement element) Remove the element from the generator extensions
-
Constructor Details
-
ContentGeneratorDescriptor
Create a new ContentGeneratorDescriptor
-
-
Method Details
-
addExtensions
Add the extensions to the receiver.- Parameters:
extensions- Collection ofIConfigurationElement
-
allTypesSelected
Return whether or not all ofMarkerTypesModelare in the selectedTypes.- Returns:
- boolean
-
getAllFields
Get the all of the fields that this content generator is using.- Returns:
MarkerField[]
-
getCategoryName
Get the category name from the receiver.- Returns:
- categoryName
-
getFilterReferences
Return the configuration elements for the receiver.- Returns:
- IConfigurationElement[]
-
getId
Return the id of the receiver.- Returns:
- String
-
getInitialVisible
Get the list of initially visible fields- Returns:
MarkerField[]
-
getMarkerGroups
Get the markerGroups associated with the receiver.- Returns:
- Collection of
MarkerGroup
-
getMarkerTypes
Return the markerTypes for the receiver.- Returns:
- Collection of
MarkerType
-
getName
Return the name for the receiver.- Returns:
- String
-
getType
Return the type for typeId.- Returns:
MarkerTypeornullif it is not found.
-
getTypesTable
Get the table that maps type ids to markerTypes.- Returns:
- Map of
StringtoMarkerType
-
initializeFromConfigurationElement
Initialise the receiver from the configuration element. This is done as a post processing step.- Parameters:
registry- the MarkerSupportRegistry being used to initialise the receiver.
-
removeExtension
Remove the element from the generator extensions
-