Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Renaming an Element in diagram
Renaming an Element in diagram [message #1047594] Tue, 23 April 2013 12:28
Philipp El is currently offline Philipp ElFriend
Messages: 14
Registered: September 2012
Junior Member

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
try { FileOutputStream(new"outputfile.fs")), null) FileOutputStream(new"outputfile.fs")), null);

But the problem is that only the diagram elements will be saved.

Thank you very much!
Best regards,


[Updated on: Tue, 23 April 2013 12:40]

Report message to a moderator

Previous Topic:How to create multiple figures within a single "FigureDescriptor" ?
Next Topic:Project Explorer Drag and Drop disable
Goto Forum:

Current Time: Sun Apr 05 15:52:52 GMT 2020

Powered by FUDForum. Page generated in 0.02943 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top