Author: mvw
Date: 2008-03-09 12:01:44-0800
New Revision: 14186

Modified:
   trunk/src/model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java

Log:
Fix for issue 2148: Extends and includes may be contained in packages, as are 
their related UseCases.

Modified: trunk/src/model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java?view=diff&rev=14186&p1=trunk/src/model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java&p2=trunk/src/model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java&r1=14185&r2=14186
==============================================================================
--- trunk/src/model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java        
(original)
+++ trunk/src/model-mdr/src/org/argouml/model/mdr/CoreHelperMDRImpl.java        
2008-03-09 12:01:44-0800
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 2005-2007 The Regents of the University of California. All
+// Copyright (c) 2005-2008 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -1312,6 +1312,9 @@
                             || modelElement instanceof UmlAssociation
                             || modelElement instanceof Generalization
                             || modelElement instanceof Dependency
+                            /* The next 2 needed for issue 2148: */
+                            || modelElement instanceof Extend
+                            || modelElement instanceof Include
                             || modelElement instanceof Constraint
                             || modelElement instanceof Collaboration
                             || modelElement instanceof StateMachine

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to