svn commit: r12851 - trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2007-06-15 11:51:50-0700
New Revision: 12851
Modified:
trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java
Log:
Reduce the dependency from the Notation subsystem on the GUI.
Modified: trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java?view=diff&rev=12851&p1=trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java&p2=trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java&r1=12850&r2=12851
==============================================================================
--- trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java (original)
+++ trunk/src_new/org/argouml/notation/providers/uml/OperationNotationUml.java 2007-06-15 11:51:50-0700
@@ -41,7 +41,6 @@
import org.argouml.model.InvalidElementException;
import org.argouml.model.Model;
import org.argouml.notation.providers.OperationNotation;
-import org.argouml.ui.targetmanager.TargetManager;
import org.argouml.util.MyTokenizer;
/**
@@ -107,14 +106,12 @@
if (end == -1) {
//no text? remove op!
currentProject.moveToTrash(operation);
- TargetManager.getInstance().setTarget(classifier);
return;
}
String s = text.substring(start, end).trim();
if (s.length() == 0) {
//no non-whitechars in text? remove op!
currentProject.moveToTrash(operation);
- TargetManager.getInstance().setTarget(classifier);
return;
}
parseOperation(s, operation);