Package org.eclipse.ui.texteditor
Class AnnotationPreferenceLookup
java.lang.Object
org.eclipse.ui.texteditor.AnnotationPreferenceLookup
Provides the strategy for finding the annotation preference for a given
 annotation.
- Since:
- 3.0
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new annotation preference lookup object.
- 
Method SummaryModifier and TypeMethodDescriptiongetAnnotationPreference(String annotationType) Returns the annotation preference defined for the given annotation type.getAnnotationPreference(Annotation annotation) Returns the annotation preference of a given annotation.getAnnotationPreferenceFragment(String annotationType) Returns the annotation preference fragment defined for the given annotation type.
- 
Constructor Details- 
AnnotationPreferenceLookuppublic AnnotationPreferenceLookup()Creates a new annotation preference lookup object.
 
- 
- 
Method Details- 
getAnnotationPreferenceReturns the annotation preference of a given annotation.- Parameters:
- annotation- the annotation
- Returns:
- the annotation preference for the given annotation or null
 
- 
getAnnotationPreferenceReturns the annotation preference defined for the given annotation type.- Parameters:
- annotationType- the annotation type
- Returns:
- the annotation preference for the given annotation type or null
 
- 
getAnnotationPreferenceFragmentReturns the annotation preference fragment defined for the given annotation type.For internal use only. Not intended to be called by clients. - Parameters:
- annotationType- the annotation type
- Returns:
- the defined annotation preference fragment
 
 
-