Author: tfmorris
Date: 2007-05-04 10:10:59-0700
New Revision: 12527
Modified:
trunk/src_new/org/argouml/uml/diagram/ui/ModeCreateGraphEdge.java
Log:
Change deprecated use of isConnectionValid
Modified: trunk/src_new/org/argouml/uml/diagram/ui/ModeCreateGraphEdge.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/ui/ModeCreateGraphEdge.java?view=diff&rev=12527&p1=trunk/src_new/org/argouml/uml/diagram/ui/ModeCreateGraphEdge.java&p2=trunk/src_new/org/argouml/uml/diagram/ui/ModeCreateGraphEdge.java&r1=12526&r2=12527
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/ui/ModeCreateGraphEdge.java (original)
+++ trunk/src_new/org/argouml/uml/diagram/ui/ModeCreateGraphEdge.java 2007-05-04 10:10:59-0700
@@ -1,5 +1,5 @@
// $Id$
-// Copyright (c) 2005-2006 The Regents of the University of California. All
+// Copyright (c) 2005-2007 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
@@ -238,7 +238,7 @@
protected abstract Object getMetaType();
/**
- * Called after the adge has been drawn from a source and dropped to a
+ * Called after the edge has been drawn from a source and dropped to a
* destination. Return true if this drop is valid.
* The default is true, subclasses should override this with their own
* logic.
@@ -250,6 +250,7 @@
return Model.getUmlFactory().isConnectionValid(
getMetaType(),
source.getOwner(),
- dest.getOwner());
+ dest.getOwner(),
+ true);
}
}
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.