org.eclipse.wst.dtd.ui
Class StructuredTextViewerConfigurationDTD
java.lang.Object
TextSourceViewerConfiguration
org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration
org.eclipse.wst.dtd.ui.StructuredTextViewerConfigurationDTD
- public class StructuredTextViewerConfigurationDTD
- extends StructuredTextViewerConfiguration
Configuration for a source viewer which shows DTD content.
Clients can subclass and override just those methods which must be specific
to their needs.
- Since:
- 1.0
- See Also:
StructuredTextViewerConfiguration
,
Serialized Form
Method Summary |
java.lang.String[] |
getConfiguredContentTypes(ISourceViewer sourceViewer)
|
org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider[] |
getLineStyleProviders(ISourceViewer sourceViewer,
java.lang.String partitionType)
Returns the line style providers that will be used for syntax
highlighting in the given source viewer.
|
Methods inherited from class org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration |
getAnnotationHover, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getHyperlinkPresenter, getInformationControlCreator, getInformationPresenter, getPresentationReconciler, getReconciler, getTextHover, getUndoManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructuredTextViewerConfigurationDTD
public StructuredTextViewerConfigurationDTD()
- Create new instance of StructuredTextViewerConfigurationDTD
getConfiguredContentTypes
public java.lang.String[] getConfiguredContentTypes(ISourceViewer sourceViewer)
getLineStyleProviders
public org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider[] getLineStyleProviders(ISourceViewer sourceViewer,
java.lang.String partitionType)
- Description copied from class:
StructuredTextViewerConfiguration
- Returns the line style providers that will be used for syntax
highlighting in the given source viewer.
Not fully API since return type LineStyleProvider is not API.
- Overrides:
getLineStyleProviders
in class StructuredTextViewerConfiguration
- Parameters:
sourceViewer
- the source viewer to be configured by this configurationpartitionType
- the partition type for which the lineStyleProviders are
applicable
- Returns:
- LineStyleProvders or null if should not be supported