} else if (handlerSubmission.getPriority() == Priority.MEDIUM) {
sourcePriorities |= ISources.LEGACY_MEDIUM;
}
final IHandlerActivation activation = handlerService.activateHandler(
handlerSubmission.getCommandId(), new LegacyHandlerWrapper(
handlerSubmission.getHandler()),
new LegacyHandlerSubmissionExpression(handlerSubmission
.getActivePartId(), handlerSubmission.getActiveShell(),
handlerSubmission.getActiveWorkbenchPartSite()));
if (activationsBySubmission == null) {