svn commit: r12849 - trunk/src_new/org/argouml/notation/providers/uml/AttributeNotationUml.java

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

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

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

Modified: trunk/src_new/org/argouml/notation/providers/uml/AttributeNotationUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/notation/providers/uml/AttributeNotationUml.java?view=diff&rev=12849&p1=trunk/src_new/org/argouml/notation/providers/uml/AttributeNotationUml.java&p2=trunk/src_new/org/argouml/notation/providers/uml/AttributeNotationUml.java&r1=12848&r2=12849
==============================================================================
--- trunk/src_new/org/argouml/notation/providers/uml/AttributeNotationUml.java	(original)
+++ trunk/src_new/org/argouml/notation/providers/uml/AttributeNotationUml.java	2007-06-15 11:47:49-0700
@@ -40,7 +40,6 @@
 import org.argouml.model.InvalidElementException;
 import org.argouml.model.Model;
 import org.argouml.notation.providers.AttributeNotation;
-import org.argouml.ui.targetmanager.TargetManager;
 import org.argouml.util.MyTokenizer;
 
 /**
@@ -117,14 +116,12 @@
         if (end == -1) {
             //no text? remove attr!
             project.moveToTrash(attribute);
-            TargetManager.getInstance().setTarget(classifier);
             return;
         }
         String s = text.substring(start, end).trim();
         if (s.length() == 0) {
             //no non-whitechars in text? remove attr!
             project.moveToTrash(attribute);
-            TargetManager.getInstance().setTarget(classifier);
             return;
         }
         parseAttribute(s, attribute);
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.