[Scilab-Dev] xcos

Johan Wesselink johanwesselink23 at gmail.com
Tue Aug 28 22:40:13 CEST 2018


Good day,

I was having a look into some superblock problems.
In version 6.0.1. there are many problems with the super block.

I have checkout the latest version of the GIT repository and can build and
debug it using eclipse.

On this moment I am interested in Bug 14670 Super block can be opened more
then once.
I already discovered that the xcos/block/actian/BlockParametersAction.java
contains the method ActionPerformed on line 96 that actually generates the
diagram.
I am a little bit curious for the architecture.
I see that a XcosDiagram is created using the UID, Kind and Id of cell that
is the SUPER_f block. This is created diagram is then added to the root
diagram.
Maybe a very simplistic view, but is it possible to get the root diagram
and search for a sub diagram with the same UID, Kind and Id. And so, if
this is present does that mean that the diagram is already created and that
it only should be shown?
Or do not understand how it works.

Sincerely
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20180828/424dc795/attachment.htm>


More information about the dev mailing list