public class FormattingContextProperties extends Object
IFormattingContext objects to register specific
properties needed during the formatting process of a content formatter
implementing IContentFormatterExtension.IFormattingContext,
IFormattingStrategyExtension,
IContentFormatterExtension| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_DOCUMENT
Property key of the document property.
|
static String |
CONTEXT_MEDIUM
Property key of the medium property.
|
static String |
CONTEXT_PARTITION
Property key of the partition property.
|
static String |
CONTEXT_PREFERENCES
Property key of the preferences property.
|
static String |
CONTEXT_REGION
Property key of the region property.
|
public static final String CONTEXT_DOCUMENT
java.lang#Boolean. If set to true the whole
document is formatted.
Value: "formatting.context.document"
public static final String CONTEXT_PARTITION
org.eclipse.jface.text#TypedPosition. The partition
a context based formatting strategy should format.
Value: "formatting.context.partition"
public static final String CONTEXT_PREFERENCES
java.util#Map. The formatting preferences mapping preference
keys to values.
Value: "formatting.context.preferences"
public static final String CONTEXT_REGION
org.eclipse.jface.text#IRegion.
The region to format. If set, CONTEXT_DOCUMENT should be false
for this to take effect.
Value: "formatting.context.region"
public static final String CONTEXT_MEDIUM
org.eclipse.jface.text#IDocument.
The document to format.
Value: "formatting.context.medium"
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.