Examples of HandlerService


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

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

    }
    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

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

    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

Examples of org.jboss.as.webservices.service.HandlerService

            final String handlerChainType = address.getElement(address.size() - 2).getKey();
            final String handlerChainId = address.getElement(address.size() - 2).getValue();
            final String handlerName = address.getElement(address.size() - 1).getValue();
            final String handlerClass = operation.require(CLASS).asString();

            final HandlerService service = new HandlerService(handlerName, handlerClass, counter.incrementAndGet());
            final ServiceTarget target = context.getServiceTarget();
            final ServiceName configServiceName = getConfigServiceName(configType, configName);
            final ServiceRegistry registry = context.getServiceRegistry(false);
            if (registry.getService(configServiceName) == null) {
                throw WSLogger.ROOT_LOGGER.missingConfig(configName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.