Examples of DiagramAssociation


Examples of com.ktu.fd2.uml.DiagramAssociation

  /*
   * Paima diagramos konfiguracija ir jai sukuria nauja .uml faila.
   */
  public static void CreateUmlFromFeatureConfiguration(Diagram diagram){
   
    DiagramAssociation diagramAssociation = diagram.getDiagramAssociations();
   
    //DiagramImpl fdDiagram = (DiagramImpl) ReadFile(diagram.getFeaturePath());
    //fd2.Diagram fdModel = (fd2.Diagram) ReadFile(diagram.getFeaturePath().replace("_diagram", ""));
   
    org.eclipse.uml2.uml.Package uml = (org.eclipse.uml2.uml.Package) ReadFile(diagram.getClassPath().replace("class", ""));
   
    ArrayList<AssociatedElement> associatedElements = diagramAssociation.getElements();
   
    for (AssociatedElement association : associatedElements){
      String classElement = association.getClassElement();
      //String fdElement = association.getFeatureElement();
      boolean include = association.isChecked();
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.