}
final IHandlerActivation activation = handlerService.activateHandler(
handlerSubmission.getCommandId(), new LegacyHandlerWrapper(
handlerSubmission.getHandler()),
new LegacyHandlerSubmissionExpression(handlerSubmission
.getActivePartId(), handlerSubmission.getActiveShell(),
handlerSubmission.getActiveWorkbenchPartSite()));
if (activationsBySubmission == null) {
activationsBySubmission = new HashMap();
}