svn commit: r15403 - trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2008-07-29 10:33:02-0700
New Revision: 15403
Modified:
trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java
Log:
Issue 5255: Introduce deleteExtent method and use it when removing projects and profiles
Modified: trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java?view=diff&rev=15403&p1=trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java&p2=trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java&r1=15402&r2=15403
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java (original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/UmlFactory.java 2008-07-29 10:33:02-0700
@@ -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
@@ -151,6 +151,15 @@
* @param elem The element to be deleted
*/
void delete(Object elem);
+
+ /**
+ * Delete the entire extent which contains the given element. Typically
+ * this is the collection of elements which were read in from a single
+ * XMI file.
+ *
+ * @param element an element in extent to be deleted.
+ */
+ void deleteExtent(Object element);
/**
* Check whether a model element has been deleted.<p>