}
appContext.addVariable(ISources.ACTIVE_WORKBENCH_WINDOW_NAME, window);
appContext.addVariable(ISources.ACTIVE_WORKBENCH_WINDOW_SHELL_NAME,
window.getShell());
HandlerService realService = (HandlerService) serv;
partHandler = realService.findHandler(commandId, appContext);
if (partHandler == null) {
localHandler = true;
// if we can't find the handler, then at least we can
// call the action delegate run method
partHandler = new ActionDelegateHandlerProxy(element,