/*
* 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();