Xcos MVC: handle XCOS / ZCOS file loading 28/17328/3
authorClément DAVID <clement.david@scilab-enterprises.com>
Wed, 14 Oct 2015 15:04:12 +0000 (17:04 +0200)
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>
Wed, 21 Oct 2015 15:20:33 +0000 (17:20 +0200)
commitecc2f0ef4c1cd8ae9b204a01f31b8bb668db6e81
treec4d7f956b4e06d829810b06cce235a6ecba54abb
parent5eb1b0affb1c3a304a38b735d9c122f648d45cca
Xcos MVC: handle XCOS / ZCOS file loading

 * Restore the scicos decoders for mixed file loading
 * Manage the mirror property on the Java side
 * Implement partial var2vec / vec2var to handle old diagram loading

Change-Id: I0cb4cb92ee9ea80629c43926c93ee11c7849c3ef
41 files changed:
scilab/.gitignore
scilab/modules/xcos/src/java/org/scilab/modules/xcos/JavaControllerJNI.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/VectorOfDouble.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/VectorOfInt.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/VectorOfScicosID.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/VectorOfString.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/Xcos.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/DebugLevelAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/SetContextAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/SetupAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/BasicBlock.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/FlipAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/MirrorAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/io/ContextUpdate.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/explorer/BrowserTreeNodeData.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/ScicosParameters.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/XcosDiagram.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/model/XcosCell.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/graph/model/XcosCellFactory.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/ScilabTypeCoder.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/codec/XcosDiagramCodec.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/sax/CustomHandler.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/sax/JGraphXHandler.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/sax/RawDataHandler.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/AbstractElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BasicBlockInfo.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BlockElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BlockGraphicElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BlockModelElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/BlockPartsElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/DiagramElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/InputPortElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/LabelElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/LinkElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/OutputPortElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/io/scicos/ScicosParametersElement.java [new file with mode: 0644]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/PreLoadedElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/StyleElement.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/utils/BlockPositioning.java
scilab/modules/xcos/src/jni/JavaController.i
scilab/modules/xcos/src/jni/JavaController_wrap.cxx