ICommandService commandService =\r
(ICommandService)textEditor.getSite().getService(ICommandService.class);\r
for(Command command: commandService.getDefinedCommands()) {\r
ICommandService commandService =\r
(ICommandService)textEditor.getSite().getService(ICommandService.class);\r
for(Command command: commandService.getDefinedCommands()) {\r
IHandlerService handlerService =\r
(IHandlerService)textEditor.getSite().getService(IHandlerService.class);\r
handlerService.executeCommand(command.getId(), null);\r
IHandlerService handlerService =\r
(IHandlerService)textEditor.getSite().getService(IHandlerService.class);\r
handlerService.executeCommand(command.getId(), null);\r