Package org.eclipse.gmf.runtime.diagram.ui.commands

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


    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

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

    }
    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

    }
    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

      }
    }
    if (command.isEmpty() || command.size() != operationSet.size()) {
      return UnexecutableCommand.INSTANCE;
    }
    return new ICommandProxy(command);
  }
View Full Code Here

    }
    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

    }
    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

      }
    }
    if (command.isEmpty() || command.size() != operationSet.size()) {
      return UnexecutableCommand.INSTANCE;
    }
    return new ICommandProxy(command);
  }
View Full Code Here

      }
    }
    if (command.isEmpty() || command.size() != operationSet.size()) {
      return UnexecutableCommand.INSTANCE;
    }
    return new ICommandProxy(command);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy

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.