svn commit: r18865 - trunk/src/argouml-app/src/org/argouml/uml
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: thn
Date: 2010-12-03 01:10:05-0800
New Revision: 18865
Modified:
trunk/src/argouml-app/src/org/argouml/uml/ActionAddStereotype.java
trunk/src/argouml-app/src/org/argouml/uml/StereotypeUtility.java
Log:
UML2 only: update the roots in projects when (un)applying stereotypes.
Modified: trunk/src/argouml-app/src/org/argouml/uml/ActionAddStereotype.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ActionAddStereotype.java?view=diff&pathrev=18865&r1=18864&r2=18865
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ActionAddStereotype.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ActionAddStereotype.java 2010-12-03 01:10:05-0800
@@ -130,6 +130,9 @@
Model.getCoreHelper().addStereotype(modelElement, stereotype);
}
}
+ for (Project p : ProjectManager.getManager().getOpenProjects()) {
+ p.updateRoots();
+ }
}
/*
Modified: trunk/src/argouml-app/src/org/argouml/uml/StereotypeUtility.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/StereotypeUtility.java?view=diff&pathrev=18865&r1=18864&r2=18865
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/StereotypeUtility.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/StereotypeUtility.java 2010-12-03 01:10:05-0800
@@ -362,6 +362,9 @@
}
}
}
+ for (Project p : ProjectManager.getManager().getOpenProjects()) {
+ p.updateRoots();
+ }
}
/**
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2687496
To unsubscribe from this discussion, e-mail: [[email protected]].