Package fd2.diagram.edit.commands

Examples of fd2.diagram.edit.commands.ExcludesRelationCreateCommand


    if (Fd2ElementTypes.RequireRelation_4006 == req.getElementType()) {
      return getGEFWrapper(new RequireRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.ExcludesRelation_4010 == req.getElementType()) {
      return getGEFWrapper(new ExcludesRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.OneManyRelationTargetFeatureNodes_4004 == req
        .getElementType()) {
      return null;
View Full Code Here


    if (Fd2ElementTypes.RequireRelation_4006 == req.getElementType()) {
      return getGEFWrapper(new RequireRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.ExcludesRelation_4010 == req.getElementType()) {
      return getGEFWrapper(new ExcludesRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.OneManyRelationTargetFeatureNodes_4004 == req
        .getElementType()) {
      return getGEFWrapper(new OneManyRelationTargetFeatureNodesCreateCommand(
View Full Code Here

    if (Fd2ElementTypes.RequireRelation_4006 == req.getElementType()) {
      return getGEFWrapper(new RequireRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.ExcludesRelation_4010 == req.getElementType()) {
      return getGEFWrapper(new ExcludesRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.OneManyRelationTargetFeatureNodes_4004 == req
        .getElementType()) {
      return null;
View Full Code Here

    if (Fd2ElementTypes.RequireRelation_4006 == req.getElementType()) {
      return getGEFWrapper(new RequireRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.ExcludesRelation_4010 == req.getElementType()) {
      return getGEFWrapper(new ExcludesRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.OneManyRelationTargetFeatureNodes_4004 == req
        .getElementType()) {
      return getGEFWrapper(new OneManyRelationTargetFeatureNodesCreateCommand(
View Full Code Here

  /**
   * @generated
   */
  protected Command getCreateCommand(CreateElementRequest req) {
    if (Fd2ElementTypes.ExclusiveCaseRelation_3003 == req.getElementType()) {
      return getGEFWrapper(new ExclusiveCaseRelationCreateCommand(req));
    }
    if (Fd2ElementTypes.CaseOrRelation_3002 == req.getElementType()) {
      return getGEFWrapper(new CaseOrRelationCreateCommand(req));
    }
    return super.getCreateCommand(req);
View Full Code Here

  /**
   * @generated
   */
  protected Command getCreateCommand(CreateElementRequest req) {
    if (Fd2ElementTypes.FeatureNode_2001 == req.getElementType()) {
      return getGEFWrapper(new FeatureNodeCreateCommand(req));
    }
    return super.getCreateCommand(req);
  }
View Full Code Here

   */
  protected Command getStartCreateRelationshipCommand(
      CreateRelationshipRequest req) {
    if (Fd2ElementTypes.OneManyRelationTargetFeatureNodes_4004 == req
        .getElementType()) {
      return getGEFWrapper(new OneManyRelationTargetFeatureNodesCreateCommand(
          req, req.getSource(), req.getTarget()));
    }
    return null;
  }
View Full Code Here

   */
  protected Command getReorientReferenceRelationshipCommand(
      ReorientReferenceRelationshipRequest req) {
    switch (getVisualID(req)) {
    case OneManyRelationTargetFeatureNodesEditPart.VISUAL_ID:
      return getGEFWrapper(new OneManyRelationTargetFeatureNodesReorientCommand(
          req));
    }
    return super.getReorientReferenceRelationshipCommand(req);
  }
View Full Code Here

   */
  protected Command getReorientReferenceRelationshipCommand(
      ReorientReferenceRelationshipRequest req) {
    switch (getVisualID(req)) {
    case OneManyRelationTargetFeatureNodesEditPart.VISUAL_ID:
      return getGEFWrapper(new OneManyRelationTargetFeatureNodesReorientCommand(
          req));
    }
    return super.getReorientReferenceRelationshipCommand(req);
  }
View Full Code Here

    if (Fd2ElementTypes.MandatoryRelation_4008 == req.getElementType()) {
      return getGEFWrapper(new MandatoryRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.OptionalRelation_4009 == req.getElementType()) {
      return getGEFWrapper(new OptionalRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
    }
    if (Fd2ElementTypes.RequireRelation_4006 == req.getElementType()) {
      return getGEFWrapper(new RequireRelationCreateCommand(req, req
          .getSource(), req.getTarget()));
View Full Code Here

TOP

Related Classes of fd2.diagram.edit.commands.ExcludesRelationCreateCommand

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.