Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom save
Custom save [message #211933] Mon, 24 November 2008 16:09 Go to next message
Alexandr Zaitsev is currently offline Alexandr ZaitsevFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,

How can I save model into 2 files, one XML that correspond to XSD and one
XML with graphical info - coordinates etc?
Re: Custom save [message #211993 is a reply to message #211933] Tue, 25 November 2008 01:48 Go to previous messageGo to next message
Jevon  is currently offline Jevon Friend
Messages: 164
Registered: July 2009
Senior Member
By default, GMF saves model files into two files already, one XML that
corresponds to XSD (e.g. foo.my) and another XMI with the graphical
notation (e.g. foo.my_diagram).

If .gmfgen > Gen Editor Generator > Same File for Diagram and Model is
selected, then both of these files would be saved into one.

Jevon

Alex wrote:
> Hi,
>
> How can I save model into 2 files, one XML that correspond to XSD and
> one XML with graphical info - coordinates etc?
>
Re: Custom save [message #212000 is a reply to message #211993] Tue, 25 November 2008 08:46 Go to previous message
Alexandr Zaitsev is currently offline Alexandr ZaitsevFriend
Messages: 6
Registered: July 2009
Junior Member
OK, .
1) By default graphical diagram opens by selecting file with
*.foo_diagram ext and XML editor opens for second file. Is it possible to
open diagram editor for both files?
2) By default in XMI file for connections source and target saves with
IDs, but I know in EMF it is possible to save them with position
references, where can I change it?
3) I tried to change default generation of position references but I
didn't understand where, when and how it makes. Can You help me to
understand this?
Previous Topic:Repainting Variable Custom Figures
Next Topic:Not able to get hidden NoteEditParts.
Goto Forum:
  


Current Time: Thu Apr 25 02:02:54 GMT 2024

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

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

Back to the top