public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
        ContentAssistant assistant = new ContentAssistant();
        //setup the content assistance, which is
        //sensitive to the partition that it is in.
        assistant.setContentAssistProcessor(
            new DefaultCompletionProcessor(editor), IDocument.DEFAULT_CONTENT_TYPE);
        assistant.setContentAssistProcessor(
            new RuleCompletionProcessor(editor), DRLPartionScanner.RULE_PART_CONTENT);
        assistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
        return assistant;
    }
public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) {
        ContentAssistant assistant = new ContentAssistant();
        
        
        assistant.setContentAssistProcessor(
            new DefaultCompletionProcessor(editor), IDocument.DEFAULT_CONTENT_TYPE);
        assistant.setContentAssistProcessor(
            new RuleCompletionProcessor(editor), DRLPartionScanner.RULE_PART_CONTENT);
        assistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
        return assistant;
    }
public IContentAssistant getContentAssistant ( ISourceViewer sourceViewer ) { ContentAssistant assistant = new ContentAssistant ( ) ; //setup the content assistance, which is //sensitive to the partition that it is in. assistant . setContentAssistProcessor ( new DefaultCompletionProcessor ( editor ) , IDocument . DEFAULT_CONTENT_TYPE ) ; assistant . setContentAssistProcessor ( new RuleCompletionProcessor ( editor ) , DRLPartionScanner . RULE_PART_CONTENT ) ; assistant . setProposalPopupOrientation ( IContentAssistant . PROPOSAL_OVERLAY ) ; return assistant ; }
Get the appropriate content assistance, for each partition.
Get the appropriate content assistance for each partition .