svn commit: r12850 - trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: mvw
Date: 2007-06-15 11:49:22-0700
New Revision: 12850

Modified:
   trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java

Log:
Reduce the dependency from the Notation subsystem on the GUI.

Modified: trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java?view=diff&rev=12850&p1=trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java&p2=trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java&r1=12849&r2=12850
==============================================================================
--- trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java	(original)
+++ trunk/src_new/org/argouml/notation/providers/uml/ExtensionPointNotationUml.java	2007-06-15 11:49:22-0700
@@ -30,7 +30,6 @@
 import org.argouml.kernel.ProjectManager;
 import org.argouml.model.Model;
 import org.argouml.notation.providers.ExtensionPointNotation;
-import org.argouml.ui.targetmanager.TargetManager;
 
 /**
  * The notation for an extension point for UML.
@@ -94,7 +93,6 @@
         // the fields of the extension point to the values in newEp.
         if (newEp == null) {
             ProjectManager.getManager().getCurrentProject().moveToTrash(ep);
-            TargetManager.getInstance().setTarget(useCase);
         } else {
             Model.getCoreHelper().setName(ep, Model.getFacade().getName(newEp));
             Model.getUseCasesHelper().setLocation(ep,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.