if (!type.equals("action")) {
CompletionProcessor processor = new CompletionProcessor(type, sourceViewer, editor);
assistant.setContentAssistProcessor(processor, type);
}
}
ActionCompletionProcessor processor = new ActionCompletionProcessor(sourceViewer, editor);
assistant.setContentAssistProcessor(processor, "action");
return assistant;
}