@Override public void init(IEditorSite site, IEditorInput input) throws PartInitException { // Perform normal initialization. super.init(site, input); // Show the 'presentation' action set with the 'Toggle Block Selection // Mode' and 'Show Whitespace Characters' actions. IWorkbenchPage page = site.getPage(); page.showActionSet("org.eclipse.ui.edit.text.actionSet.presentation"); }