org.drools.eclipse.dsl.editor
Class DSLRuleSourceViewerConfig

java.lang.Object
  extended by org.eclipse.jface.text.source.SourceViewerConfiguration
      extended by org.drools.eclipse.editors.DRLSourceViewerConfig
          extended by org.drools.eclipse.dsl.editor.DSLRuleSourceViewerConfig

public class DSLRuleSourceViewerConfig
extends DRLSourceViewerConfig

Source viewer config wires up the syntax highlighting, partitioning and content assistance.


Constructor Summary
DSLRuleSourceViewerConfig(DSLRuleEditor editor)
           
 
Method Summary
 org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
          Get the appropriate content assistance, for each partition.
 
Methods inherited from class org.drools.eclipse.editors.DRLSourceViewerConfig
getAnnotationHover, getConfiguredContentTypes, getEditor, getHyperlinkDetectors, getHyperlinkPresenter, getOverviewRulerAnnotationHover, getPresentationReconciler, getReconciler, getScanner
 
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAutoEditStrategies, getAutoIndentStrategy, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentFormatter, getDefaultPrefixes, getDoubleClickStrategy, getHyperlinkStateMask, getIndentPrefixes, getIndentPrefixesForTab, getInformationControlCreator, getInformationPresenter, getQuickAssistAssistant, getTabWidth, getTextHover, getTextHover, getUndoManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSLRuleSourceViewerConfig

public DSLRuleSourceViewerConfig(DSLRuleEditor editor)
Method Detail

getContentAssistant

public org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Get the appropriate content assistance, for each partition.

Overrides:
getContentAssistant in class DRLSourceViewerConfig


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.