super.createActions();
// All useful actions are already defined in the parent classes. The
// only one missing is the action necessary for activating content
// assist with Ctrl+Space.
IAction action = new ContentAssistAction(
TextEditorMessages.getBundle(), "ContentAssistAction.", this);
String id = ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS;
action.setActionDefinitionId(id);
setAction(id, action);
// Quick Outline
action = new TextOperationAction(TextEditorMessages.getBundle(),
"ShowOutline.", this,
ProjectionViewerWithOutline.OPCODE_SHOW_OUTLINE, true);
action.setActionDefinitionId(ProjectionViewerWithOutline.ACTIONID_SHOW_OUTLINE);
setAction(ProjectionViewerWithOutline.ACTIONID_SHOW_OUTLINE, action);
}