//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;
}