|
From: jistrawn <jis...@us...> - 2006-11-03 18:16:12
|
Update of /cvsroot/modelwizard/source/Chameleon Plugin/src/net/sourceforge/modelWizard/chameleon/exporters In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28762/src/net/sourceforge/modelWizard/chameleon/exporters Modified Files: SubModelGenerator.java Log Message: Removed abstract associations from sub-model Index: SubModelGenerator.java =================================================================== RCS file: /cvsroot/modelwizard/source/Chameleon Plugin/src/net/sourceforge/modelWizard/chameleon/exporters/SubModelGenerator.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** SubModelGenerator.java 31 Oct 2006 22:50:15 -0000 1.10 --- SubModelGenerator.java 3 Nov 2006 18:16:05 -0000 1.11 *************** *** 452,456 **** if (p.getAssociation() != null) { ! addDependencies(rqdElements, (Classifier) p.getAssociation(), false); } --- 452,463 ---- if (p.getAssociation() != null) { ! ! // remove the copying of any abstract associations (including dependencies, here...) ! Association assoc = p.getAssociation(); ! if(assoc.isAbstract()) { ! continue; ! } ! ! addDependencies(rqdElements, (Classifier) assoc, false); } |