drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/dsl/editor/DSLRuleSourceViewerConfig.java
public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
        ContentAssistant assistant = new ContentAssistant();
        assistant.setContentAssistProcessor(
            new DefaultCompletionProcessor(getEditor()), IDocument.DEFAULT_CONTENT_TYPE);
        assistant.setContentAssistProcessor(
            new DSLRuleCompletionProcessor(getEditor()), DRLPartionScanner.RULE_PART_CONTENT);
        assistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
        assistant.setAutoActivationDelay(0);
        return assistant;
    }
public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
        ContentAssistant assistant = new ContentAssistant();
        assistant.setContentAssistProcessor(
            new DefaultCompletionProcessor(getEditor()), IDocument.DEFAULT_CONTENT_TYPE);
        assistant.setContentAssistProcessor(
            new DSLRuleCompletionProcessor(getEditor()), DRLPartionScanner.RULE_PART_CONTENT);
        assistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
        assistant.setAutoActivationDelay(0);
        return assistant;
    }
public IContentAssistant getContentAssistant ( ISourceViewer sourceViewer ) { ContentAssistant assistant = new ContentAssistant ( ) ; assistant . setContentAssistProcessor ( new DefaultCompletionProcessor ( getEditor ( ) ) , IDocument . DEFAULT_CONTENT_TYPE ) ; assistant . setContentAssistProcessor ( new DSLRuleCompletionProcessor ( getEditor ( ) ) , DRLPartionScanner . RULE_PART_CONTENT ) ; assistant . setProposalPopupOrientation ( IContentAssistant . PROPOSAL_OVERLAY ) ; assistant . setAutoActivationDelay ( 0 ) ; return assistant ; }
Get the appropriate content assistance, for each partition.
Get the appropriate content assistance for each partition .