Package org.eclipse.jface.text.formatter
Class FormattingContextProperties
java.lang.Object
org.eclipse.jface.text.formatter.FormattingContextProperties
Keys used by
IFormattingContext
objects to register specific
properties needed during the formatting process of a content formatter
implementing IContentFormatterExtension
.- Since:
- 3.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property key of the document property.static final String
Property key of the medium property.static final String
Property key of the partition property.static final String
Property key of the preferences property.static final String
Property key of the region property. -
Method Summary
-
Field Details
-
CONTEXT_DOCUMENT
Property key of the document property. The property must implementjava.lang#Boolean
. If set totrue
the whole document is formatted.Value:
"formatting.context.document"
- See Also:
-
CONTEXT_PARTITION
Property key of the partition property. The property must implementorg.eclipse.jface.text#TypedPosition
. The partition a context based formatting strategy should format.Value:
"formatting.context.partition"
- See Also:
-
CONTEXT_PREFERENCES
Property key of the preferences property. The property value must implementjava.util.Map<String, String>
. The formatting preferences mapping preference keys to values.Value:
"formatting.context.preferences"
- See Also:
-
CONTEXT_REGION
Property key of the region property. The property must implementorg.eclipse.jface.text#IRegion
. The region to format. If set,CONTEXT_DOCUMENT
should befalse
for this to take effect.Value:
"formatting.context.region"
- See Also:
-
CONTEXT_MEDIUM
Property key of the medium property. The property must implementorg.eclipse.jface.text#IDocument
. The document to format.Value:
"formatting.context.medium"
- See Also:
-