|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.source.SourceViewerConfiguration
it.uniroma3.plasm.editors.PlasmSourceViewerConfiguration
This class bundles the whole configuration space of a source viewer. Instances of this class are passed to the configure method of ISourceViewer.
Constructor Summary | |
PlasmSourceViewerConfiguration(PlasmColorProvider colorProvider)
Default constructor: it only associate the internal color provider with a PLaSM color provider |
Method Summary | |
java.lang.String[] |
getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Default getter for the ConfiguredContentTypes from sourceViewer |
org.eclipse.jface.text.ITextDoubleClickStrategy |
getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
Default getter for the doubleClickStyrategy associated with PLaSM environment |
org.eclipse.jface.text.presentation.IPresentationReconciler |
getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Define the Presentation Reconciler. |
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration |
getAnnotationHover, getAutoIndentStrategy, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getIndentPrefixes, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlasmSourceViewerConfiguration(PlasmColorProvider colorProvider)
colorProvider
- a color provider with PLaSM colorsMethod Detail |
public java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
sourceViewer
- the SourceViewer associated with current editor
public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |