|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.source.SourceViewerConfiguration
org.eclipse.ui.editors.text.TextSourceViewerConfiguration
org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration
org.eclipse.wst.html.ui.StructuredTextViewerConfigurationHTML
public class StructuredTextViewerConfigurationHTML
Configuration for a source viewer which shows HTML content.
Clients can subclass and override just those methods which must be specific to their needs.
StructuredTextViewerConfiguration| Constructor Summary | |
|---|---|
StructuredTextViewerConfigurationHTML()
Create new instance of StructuredTextViewerConfigurationHTML |
|
| Method Summary | |
|---|---|
org.eclipse.jface.text.IAutoEditStrategy[] |
getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
java.lang.String[] |
getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.formatter.IContentFormatter |
getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Returns the content formatter ready to be used with the given source viewer. |
org.eclipse.jface.text.ITextDoubleClickStrategy |
getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
java.lang.String[] |
getIndentPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
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. |
org.eclipse.jface.viewers.ILabelProvider |
getStatusLineLabelProvider(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.ITextHover |
getTextHover(org.eclipse.jface.text.source.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, getQuickAssistAssistant, getReconciler, getUndoManager |
| Methods inherited from class org.eclipse.ui.editors.text.TextSourceViewerConfiguration |
|---|
getHyperlinkDetectors, getHyperlinkStateMask, getOverviewRulerAnnotationHover, getTabWidth, getTextHover |
| Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration |
|---|
getAutoIndentStrategy, getDefaultPrefixes |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StructuredTextViewerConfigurationHTML()
| Method Detail |
|---|
public org.eclipse.jface.text.IAutoEditStrategy[] getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
getAutoEditStrategies in class org.eclipse.jface.text.source.SourceViewerConfigurationpublic java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getConfiguredContentTypes in class org.eclipse.jface.text.source.SourceViewerConfigurationpublic org.eclipse.jface.text.formatter.IContentFormatter getContentFormatter(org.eclipse.jface.text.source.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 StructuredTextViewerConfigurationsourceViewer - the source viewer to be configured by this configuration
null if formatting should
not be supported
public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
getDoubleClickStrategy in class org.eclipse.jface.text.source.SourceViewerConfiguration
public java.lang.String[] getIndentPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
getIndentPrefixes in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
public org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider[] getLineStyleProviders(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String partitionType)
StructuredTextViewerConfigurationNot fully API since return type LineStyleProvider is not API.
getLineStyleProviders in class StructuredTextViewerConfigurationsourceViewer - the source viewer to be configured by this configurationpartitionType - the partition type for which the lineStyleProviders are
applicable
public org.eclipse.jface.viewers.ILabelProvider getStatusLineLabelProvider(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getStatusLineLabelProvider in class StructuredTextViewerConfiguration
public org.eclipse.jface.text.ITextHover getTextHover(org.eclipse.jface.text.source.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 | |||||||||