Examples of applyStereotype()


Examples of org.eclipse.uml2.uml.Abstraction.applyStereotype()

    // put the link in the same container as the target : requirement
    tempSatisfy.getSuppliers().add(target);
    tempSatisfy.getClients().add(source);
    tempSatisfy.setName(id);
    Stereotype satisfyStereotype= tempSatisfy.getApplicableStereotype(SATISFY_STEREOTYPE);
    tempSatisfy.applyStereotype(satisfyStereotype);
  }

}
View Full Code Here

Examples of org.eclipse.uml2.uml.Element.applyStereotype()

    } else if (appliedStereotypes != null && appliedStereotypes.contains(stereotype)) {
      final String message = "The stereotype " + stereotype.getQualifiedName()
          + " is already applied on " + element.toString();
      Activator.log(Status.INFO, message, null);
    } else {
      element.applyStereotype(stereotype);
    }
  }

  /**
   * Delete the Associated Stereotype with the given element.
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.