Package org.eclipse.ui.internal.handlers

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


      } else {
        contextService.updateShellKludge();
      }

      // Update the handlers.
      final HandlerService handlerService = (HandlerService) workbench
          .getService(IHandlerService.class);
      if ((widget instanceof Control) && (!widget.isDisposed())) {
        final Shell shell = ((Control) widget).getShell();
        handlerService.updateShellKludge(shell);
      } else {
        handlerService.updateShellKludge();
      }
    }

    KeySequence errorSequence = null;
    Collection errorMatch = null;
View Full Code Here


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

    final IHandlerService [] handlerService = new IHandlerService[1];
 
    StartupThreading.runWithoutExceptions(new StartupRunnable() {

      public void runWithException() {
        handlerService[0] = new HandlerService(
            commandService[0], evaluationService);
        handlerService[0].readRegistry();
      }});
   
    serviceLocator.registerService(IHandlerService.class, handlerService[0]);
View Full Code Here

TOP

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

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.