svn commit: r13007 - trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-07-09 13:19:26-0700
New Revision: 13007

Modified:
   trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java

Log:
Issue 4789 - Introduce interface for ArgoDiagram to decouple users from the implementation

Modified: trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java?view=diff&rev=13007&p1=trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java&p2=trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java&r1=13006&r2=13007
==============================================================================
--- trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java	(original)
+++ trunk/tests/org/argouml/ui/targetmanager/TestTargetManager.java	2007-07-09 13:19:26-0700
@@ -37,6 +37,7 @@
 import org.argouml.model.InitializeModel;
 import org.argouml.model.Model;
 import org.argouml.uml.diagram.ArgoDiagram;
+import org.argouml.uml.diagram.ArgoDiagramImpl;
 import org.tigris.gef.presentation.Fig;
 import org.tigris.gef.presentation.FigNode;
 import org.tigris.gef.presentation.FigRect;
@@ -452,7 +453,7 @@
 	final Object owner = new Object();
 	final Fig fig = new FigRect(0, 0, 12, 12); fig.setOwner(owner);
 	Object test = new Object();
-	ArgoDiagram diag = new ArgoDiagram() {
+	ArgoDiagram diag = new ArgoDiagramImpl() {
 	    public Fig getContainingFig(Object obj) {
 		if (obj == owner)
 		    return fig;
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.