Package org.eclipse.ui.internal.expressions

Examples of org.eclipse.ui.internal.expressions.WorkbenchWindowExpression


    IWorkbenchWindow window = (IWorkbenchWindow) serviceLocator
        .getService(IWorkbenchWindow.class);
    if (window == null)
      throw new NullPointerException("Window cannot be null"); //$NON-NLS-1$

    restrictionExpression = new WorkbenchWindowExpression(window);

    this.parent = (WorkbenchMenuService) menuService;
    this.serviceLocator = serviceLocator;
  }
View Full Code Here


  public TrimContributionManager(WorkbenchWindow window) {
    wbWindow = window;
    layout = (TrimLayout) wbWindow.getShell().getLayout();
    menuService = (InternalMenuService) window.getService(
        IMenuService.class);
    restrictionExpression = new WorkbenchWindowExpression(wbWindow);
  }
View Full Code Here

   * window.
   */
  private final void initializeDefaultServices() {
    serviceLocator.registerService(IWorkbenchWindow.class, this);
   
    final Expression defaultExpression = new WorkbenchWindowExpression(this);

    final IHandlerService parentHandlerService = (IHandlerService) serviceLocator
        .getService(IHandlerService.class);
    final IHandlerService handlerService = new SlaveHandlerService(
        parentHandlerService, defaultExpression);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.expressions.WorkbenchWindowExpression

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.