|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTextSourceViewerConfiguration
org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration
org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML
Configuration for a source viewer which shows XML content.
Clients can subclass and override just those methods which must be specific to their needs.
StructuredTextViewerConfiguration
,
Serialized FormConstructor Summary | |
---|---|
StructuredTextViewerConfigurationXML()
Create new instance of StructuredTextViewerConfigurationXML |
Method Summary | |
---|---|
IAutoEditStrategy[] |
getAutoEditStrategies(ISourceViewer sourceViewer,
java.lang.String contentType)
|
java.lang.String[] |
getConfiguredContentTypes(ISourceViewer sourceViewer)
|
IContentFormatter |
getContentFormatter(ISourceViewer sourceViewer)
Returns the content formatter ready to be used with the given source viewer. |
ITextDoubleClickStrategy |
getDoubleClickStrategy(ISourceViewer sourceViewer,
java.lang.String contentType)
|
IHyperlinkDetector[] |
getHyperlinkDetectors(ISourceViewer sourceViewer)
|
java.lang.String[] |
getIndentPrefixes(ISourceViewer sourceViewer,
java.lang.String contentType)
|
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. |
ITextHover |
getTextHover(ISourceViewer sourceViewer,
java.lang.String contentType,
int stateMask)
|
Methods inherited from class org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration |
---|
getAnnotationHover, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getHyperlinkPresenter, getInformationControlCreator, getInformationPresenter, getPresentationReconciler, getReconciler, getUndoManager |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StructuredTextViewerConfigurationXML()
Method Detail |
public IAutoEditStrategy[] getAutoEditStrategies(ISourceViewer sourceViewer, java.lang.String contentType)
public java.lang.String[] getConfiguredContentTypes(ISourceViewer sourceViewer)
public IContentFormatter getContentFormatter(ISourceViewer sourceViewer)
StructuredTextViewerConfiguration
It is not recommended that clients override this method as it may
become final
in the future and replaced by an extensible
framework.
getContentFormatter
in class StructuredTextViewerConfiguration
sourceViewer
- the source viewer to be configured by this configuration
null
if formatting should
not be supportedpublic ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer, java.lang.String contentType)
public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer)
public java.lang.String[] getIndentPrefixes(ISourceViewer sourceViewer, java.lang.String contentType)
public org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider[] getLineStyleProviders(ISourceViewer sourceViewer, java.lang.String partitionType)
StructuredTextViewerConfiguration
Not fully API since return type LineStyleProvider is not API.
getLineStyleProviders
in class StructuredTextViewerConfiguration
sourceViewer
- the source viewer to be configured by this configurationpartitionType
- the partition type for which the lineStyleProviders are
applicable
public ITextHover getTextHover(ISourceViewer sourceViewer, java.lang.String contentType, int stateMask)
getTextHover
in class StructuredTextViewerConfiguration
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |