Package org.eclipse.ui.internal.handlers

Examples of org.eclipse.ui.internal.handlers.LegacyHandlerWrapper


    } 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) {
View Full Code Here


    while (entryItr.hasNext()) {
      final Map.Entry entry = (Map.Entry) entryItr.next();
      final Object handler = entry.getValue();
      if (handler instanceof org.eclipse.ui.commands.IHandler) {
        final String commandId = (String) entry.getKey();
        handlersByCommandId.put(commandId, new LegacyHandlerWrapper(
            (org.eclipse.ui.commands.IHandler) handler));
      }
    }

    commandManager.setHandlersByCommandId(handlersByCommandId);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.handlers.LegacyHandlerWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.