menu.appendToGroup(ITextEditorActionConstants.GROUP_EDIT, new CommandContributionItem(new CommandContributionItemParameter(getSite(), null, DisplayHelp.ID, null, null, null, null, "Display help", null, null, CommandContributionItem.STYLE_PUSH, null, true)));
}
public void shiftRight() throws ExecutionException, NotDefinedException, NotEnabledException, NotHandledException {
IHandlerService handlerService = (IHandlerService) getSite().getService(IHandlerService.class);
handlerService.executeCommand("org.eclipse.ui.edit.text.shiftRight", null);
}
public void shiftLeft() throws ExecutionException, NotDefinedException, NotEnabledException, NotHandledException {
IHandlerService handlerService = (IHandlerService) getSite().getService(IHandlerService.class);
handlerService.executeCommand("org.eclipse.ui.edit.text.shiftLeft", null);