Login | Register
My pages Projects Community openCollabNet

Discussions > Commit Messages > svn commit: r17435 - trunk/src/argouml-app/src/org/argouml/profile/UserDefinedProfile.java

argouml
Discussion topic

Back to topic list

svn commit: r17435 - trunk/src/argouml-app/src/org/argouml/profile/UserDefinedProfile.java

Author thn
Full name Thomas Neustupny
Date 2009-10-30 11:06:04 PDT
Message Author: thn
Date: 2009-10-30 11:06:02-0700
New Revision: 17435

Modified:
   trunk/src/argouml-ap​p/src/org/argouml/pr​ofile/UserDefinedPro​file.java

Log:
a first step to make a loaded UML2 user profile applicable: post process it after loading to the profile configuration

Modified: trunk/src/argouml-ap​p/src/org/argouml/pr​ofile/UserDefinedPro​file.java
Url: http://argouml.tigri​s.org/source/browse/​argouml/trunk/src/ar​gouml-app/src/org/ar​gouml/profile/UserDe​finedProfile.java?vi​ew=diff&pathrev=​17435&r1=17434​&r2=17435
====================​====================​====================​==================
--- trunk/src/argouml-ap​p/src/org/argouml/pr​ofile/UserDefinedPro​file.java (original)
+++ trunk/src/argouml-ap​p/src/org/argouml/pr​ofile/UserDefinedPro​file.java 2009-10-30 11:06:02-0700
@@ -269,6 +269,10 @@
         Collection ret = new ArrayList();
         for (Object object : profilePackages) {
             if (Model.getFacade().i​sAPackage(object)) {
+ if (Model.getFacade().i​sAProfile(object)) {
+ object = Model.getExtensionMe​chanismsHelper()
+ .makeProfileApplicable(object);
+ }
                 ret.add(object);
             }
         }

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r17435 - trunk/src/argouml-app/src/org/argouml/profile/UserDefinedProfile.java thn Thomas Neustupny 2009-10-30 11:06:04 PDT
Messages per page: