Java - Eclipse-RCP

Command, manueller Aufruf

org.eclipse.ui.commands.ICommandService


ICommandService cs = (ICommandService)PlatformUI.getWorkbench().getService(ICommandService.class);
try {
   cs.getCommand("MyCommandID").executeWithChecks(new ExecutionEvent());
} catch (Exception e) {
   e.printStackTrace();
}

Eigene Werkzeuge
Werkzeuge

gratis Counter by GOWEB
seit 9.10.2007