i have two questions:
1.How can i rename an element in the diagram programatically?
Which Command have to be executed?
The Location of the view element should not change in the diagram.
how can i save the elements of the diagram (view representation) and the elements of teh data model in a file?
I have tried the following steps:
Filesystem fs = ... //elements of the data model
Diagram diagram = ... //diagram elements
fs.save(new FileOutputStream(new java.io.File("outputfile.fs")), null)
diagram.save(new FileOutputStream(new java.io.File("outputfile.fs")), null);
But the problem is that only the diagram elements will be saved.
Thank you very much!
[Updated on: Tue, 23 April 2013 12:40]
Report message to a moderator