Class XMLConfiguration
- java.lang.Object
-
- org.eclipse.jface.text.source.SourceViewerConfiguration
-
- de.uka.ipd.sdq.pcm.gmf.resource.editors.XMLConfiguration
-
public class XMLConfiguration extends SourceViewerConfiguration
An xml configuration.
-
-
Constructor Summary
Constructors Constructor Description XMLConfiguration(ColorManager colorManager)
Initiates the configuration using a ColorManager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getConfiguredContentTypes(ISourceViewer sourceViewer)
ITextDoubleClickStrategy
getDoubleClickStrategy(ISourceViewer sourceViewer, String contentType)
IPresentationReconciler
getPresentationReconciler(ISourceViewer sourceViewer)
protected XMLScanner
getXMLScanner()
protected XMLTagScanner
getXMLTagScanner()
-
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, getOverviewRulerAnnotationHover, getQuickAssistAssistant, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager
-
-
-
-
Constructor Detail
-
XMLConfiguration
public XMLConfiguration(ColorManager colorManager)
Initiates the configuration using a ColorManager.- Parameters:
colorManager
- a ColorManager
-
-
Method Detail
-
getConfiguredContentTypes
public String[] getConfiguredContentTypes(ISourceViewer sourceViewer)
- 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
protected XMLScanner getXMLScanner()
- Returns:
- the xml scanner
-
getXMLTagScanner
protected XMLTagScanner getXMLTagScanner()
- Returns:
- the xml tag scanner
-
getPresentationReconciler
public IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer)
- Overrides:
getPresentationReconciler
in classSourceViewerConfiguration
- Parameters:
sourceViewer
- the source viewer- Returns:
- the presentation reconciler
-
-