public class MarkerAnnotationPreferences extends Object
markerAnnotationSpecification
extension point.
The extensions are represented as instances of AnnotationPreference
.Constructor and Description |
---|
MarkerAnnotationPreferences()
Creates a new marker annotation preferences to access
marker annotation preferences.
|
Modifier and Type | Method and Description |
---|---|
List |
getAnnotationPreferenceFragments()
Returns all extensions provided for the
markerAnnotationSpecification
extension point including fragments. |
List |
getAnnotationPreferences()
Returns all extensions provided for the
markerAnnotationSpecification extension point. |
static void |
initializeDefaultValues(IPreferenceStore store)
Initializes the given preference store with the default marker annotation values.
|
static void |
useAnnotationsPreferencePage(IPreferenceStore store)
Removes the marker annotation values which are shown on the
general Annotations page from the given store and prevents
setting the default values in the future.
|
static void |
useQuickDiffPreferencePage(IPreferenceStore store)
Removes the Quick Diff marker annotation values which are shown on the
general Quick Diff page from the given store and prevents
setting the default values in the future.
|
public MarkerAnnotationPreferences()
public static void initializeDefaultValues(IPreferenceStore store)
store
- the preference store to be initializedpublic static void useAnnotationsPreferencePage(IPreferenceStore store) throws IllegalStateException
Note: In order to work this method must be called before any
call to initializeDefaultValues(IPreferenceStore)
This method is not part of the API and must only be called
by EditorsUI
store
- the preference store to be initializedIllegalStateException
- if not called by EditorsUI
public static void useQuickDiffPreferencePage(IPreferenceStore store) throws IllegalStateException
Note: In order to work this method must be called before any
call to initializeDefaultValues(IPreferenceStore)
This method is not part of the API and must only be called
by EditorsUI
store
- the preference store to be initializedIllegalStateException
- if not called by EditorsUI
public List getAnnotationPreferences()
markerAnnotationSpecification
extension point.markerAnnotationSpecification
extension point
(element type: AnnotationPreference
)public List getAnnotationPreferenceFragments()
markerAnnotationSpecification
extension point including fragments. Fragments share the preference part
with a marker annotation specifications provided for a super type but do
change the presentation part.markerAnnotationSpecification
extension point including fragments (element type: AnnotationPreference
)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.