Split programmatically the main representation into several representations [message #1630970] |
Mon, 23 February 2015 09:09  |
Eclipse User |
|
|
|
Is it possible to split programmatically the main representation "representations.aird" into several representations files in the same project ?
use case scenario:
1. create a new ModelingProject with "models" folder
CustomModelingProject
|-- models
| |
|-- representations.aird
2. create a new model "model1.myextesion" and extract its representation from "representations.aird" to "model1.aird"
CustomModelingProject
|-- models
| |-- model1.myextesion
| |-- model1.aird
|-- representations.aird
I succeeded to reproduce this scenario using UI Sirius menu "Extract to .aird file ..."
Programmatically, I'm using SiriusControlCommand but without any success. The command is not executed because my semanticRoot object doesn't have a container (Not controllable) !
Why it works when I'm using the UI ? How this command can be used programmatically ?
[Updated on: Mon, 23 February 2015 09:09] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03895 seconds