Examples of ICommandProxy


Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    }
    if (createdViews.size() > 1) {
      // perform a layout of the container
      DeferredLayoutCommand layoutCmd = new DeferredLayoutCommand(host()
          .getEditingDomain(), createdViews, host());
      executeCommand(new ICommandProxy(layoutCmd));
    }

    makeViewsImmutable(createdViews);
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    }
    if (createdViews.size() > 1) {
      // perform a layout of the container
      DeferredLayoutCommand layoutCmd = new DeferredLayoutCommand(host()
          .getEditingDomain(), createdViews, host());
      executeCommand(new ICommandProxy(layoutCmd));
    }

    makeViewsImmutable(createdViews);
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    if (command != null) {
      if (!(command instanceof CompositeTransactionalCommand)) {
        command = new CompositeTransactionalCommand(getEditingDomain(),
            command.getLabel()).compose(command);
      }
      return new ICommandProxy(command);
    }
    return editPolicyCommand;
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

  /**
   * @generated
   */
  protected final Command getGEFWrapper(ICommand cmd) {
    return new ICommandProxy(cmd);
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    }
    if (createdViews.size() > 1) {
      // perform a layout of the container
      DeferredLayoutCommand layoutCmd = new DeferredLayoutCommand(host()
          .getEditingDomain(), createdViews, host());
      executeCommand(new ICommandProxy(layoutCmd));
    }

    makeViewsImmutable(createdViews);
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    }
    if (createdViews.size() > 1) {
      // perform a layout of the container
      DeferredLayoutCommand layoutCmd = new DeferredLayoutCommand(host()
          .getEditingDomain(), createdViews, host());
      executeCommand(new ICommandProxy(layoutCmd));
    }

    makeViewsImmutable(createdViews);
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    }
    if (createdViews.size() > 1) {
      // perform a layout of the container
      DeferredLayoutCommand layoutCmd = new DeferredLayoutCommand(host()
          .getEditingDomain(), createdViews, host());
      executeCommand(new ICommandProxy(layoutCmd));
    }

    makeViewsImmutable(createdViews);
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    Style link = view.getStyle(NotationPackage.eINSTANCE
        .getHintedDiagramLinkStyle());
    if (false == link instanceof HintedDiagramLinkStyle) {
      return null;
    }
    return new ICommandProxy(new OpenDiagramCommand(
        (HintedDiagramLinkStyle) link));
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    Style link = view.getStyle(NotationPackage.eINSTANCE
        .getHintedDiagramLinkStyle());
    if (false == link instanceof HintedDiagramLinkStyle) {
      return null;
    }
    return new ICommandProxy(new OpenDiagramCommand(
        (HintedDiagramLinkStyle) link));
  }
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

    if (createdViews.size() > 1) {
      // perform a layout of the container
      DeferredLayoutCommand layoutCmd = new DeferredLayoutCommand(host()
          .getEditingDomain(), createdViews, host());
      executeCommand(new ICommandProxy(layoutCmd));
    }

    createdViews.addAll(createdConnectionViews);
    makeViewsImmutable(createdViews);
  }
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.