org.eclipse.wst.dtd.ui
Class StructuredTextViewerConfigurationDTD
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.eclipse.ui.editors.text.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
Method Summary |
java.lang.String[] |
getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider[] |
getLineStyleProviders(org.eclipse.jface.text.source.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, getQuickAssistAssistant, getReconciler, getStatusLineLabelProvider, getTextHover, getUndoManager |
Methods inherited from class org.eclipse.ui.editors.text.TextSourceViewerConfiguration |
getHyperlinkDetectors, getHyperlinkStateMask, getIndentPrefixes, getOverviewRulerAnnotationHover, getTabWidth, getTextHover |
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration |
getAutoEditStrategies, getAutoIndentStrategy, getDefaultPrefixes, getDoubleClickStrategy |
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(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Overrides:
getConfiguredContentTypes
in class org.eclipse.jface.text.source.SourceViewerConfiguration
getLineStyleProviders
public org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider[] getLineStyleProviders(org.eclipse.jface.text.source.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