Class XMLConfiguration
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
de.uka.ipd.sdq.pcm.gmf.resource.editors.XMLConfiguration
An xml configuration.
-
Constructor Summary
ConstructorDescriptionXMLConfiguration
(ColorManager colorManager) Initiates the configuration using a ColorManager. -
Method Summary
Modifier and TypeMethodDescriptionString[]
getConfiguredContentTypes
(ISourceViewer sourceViewer) getDoubleClickStrategy
(ISourceViewer sourceViewer, String contentType) getPresentationReconciler
(ISourceViewer sourceViewer) protected XMLScanner
protected XMLTagScanner
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getCodeMiningProviders, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getIndentPrefixesForTab, getInformationControlCreator, getInformationPresenter, getLineSpacing, getOverviewRulerAnnotationHover, getQuickAssistAssistant, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager
-
Constructor Details
-
XMLConfiguration
Initiates the configuration using a ColorManager.- Parameters:
colorManager
- a ColorManager
-
-
Method Details
-
getConfiguredContentTypes
- Overrides:
getConfiguredContentTypes
in classSourceViewerConfiguration
- Parameters:
sourceViewer
- an ISourcesViewer- Returns:
- a string with the content types
-
getDoubleClickStrategy
public ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer, String contentType) - Overrides:
getDoubleClickStrategy
in classSourceViewerConfiguration
- Parameters:
sourceViewer
- the source viewercontentType
- the content type- Returns:
- the double click strategy
-
getXMLScanner
- Returns:
- the xml scanner
-
getXMLTagScanner
- Returns:
- the xml tag scanner
-
getPresentationReconciler
- Overrides:
getPresentationReconciler
in classSourceViewerConfiguration
- Parameters:
sourceViewer
- the source viewer- Returns:
- the presentation reconciler
-