]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Fixes for connection ElementFactory implementations after change r24388
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 9 Mar 2012 09:27:24 +0000 (09:27 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 9 Mar 2012 09:27:24 +0000 (09:27 +0000)
commite877a3a211d2909120c8c25c86f17277d3a6822b
tree632f0de6213f6f543fa304f6d6dfbecb1076ec0e
parent351343a46d2c548eaa11072a5c427e14a832b170
Fixes for connection ElementFactory implementations after change r24388
which fixed the way ConnectionRequest invokes ElementFactory create/getClass methods.
The problem was caused by invalidly implemented create method which assumed that it receives an element instance,
not an element type as it should receive.

fixes #3276

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24392 ac1ea38d-2e2b-0410-8846-a27921b304fc
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/connections/DependencyConnectionFactory.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/connections/FlowConnectionFactoryOld.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements2/connections/RouteFlowConnectionFactory.java