Package org.eclipse.ui.internal.expressions

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


  /**
   * Initialize the slave services for this site.
   */
  private void initializeDefaultServices() {
    final Expression defaultExpression = new ActivePartExpression(
        multiPageEditor);

    final IHandlerService parentService = (IHandlerService) serviceLocator
        .getService(IHandlerService.class);
    final IHandlerService slave = new NestableHandlerService(parentService,
View Full Code Here


  /**
   * Initialize the slave services for this site.
   */
  private void initializeDefaultServices() {
    final IWorkbenchPart parentPart = parentSite.getPart();
    final Expression defaultExpression = new ActivePartExpression(
        parentPart);

    final IHandlerService parentService = (IHandlerService) parentSite
        .getService(IHandlerService.class);
    final IHandlerService slave = new NestableHandlerService(parentService,
View Full Code Here

   */
  private void initializeDefaultServices() {
    serviceLocator.registerService(IWorkbenchPartSite.class, this);
    final IHandlerService parentService = (IHandlerService) serviceLocator
        .getService(IHandlerService.class);
    final Expression defaultExpression = new ActivePartExpression(part);
    final IHandlerService slave = new SlaveHandlerService(parentService,
        defaultExpression);
    serviceLocator.registerService(IHandlerService.class, slave);

    final IContextService parentContextService = (IContextService) serviceLocator
View Full Code Here

TOP

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

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.