Xcos GUI: fix create a link from another link 86/17486/1
authorClément DAVID <clement.david@scilab-enterprises.com>
Fri, 20 Nov 2015 16:51:36 +0000 (17:51 +0100)
committerClément DAVID <clement.david@scilab-enterprises.com>
Fri, 20 Nov 2015 16:51:41 +0000 (17:51 +0100)
commit7894efae7e68eaf5d8b8b1f194707abb47625481
treeb93ce7d838fe291634cce9ad067713b16303868c
parent20ec03bd3249c3c0c8765e26a6b74119fcb6527b
Xcos GUI: fix create a link from another link

The `linkKlass.newInstance()` method is not visible anymore on Xcos 6. We
have to create an MVC ID and then pass it to the constructor.

Change-Id: I1a0b07e63bb2cea4d2238a408cb346ed8742763d
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/XcosDiagram.java