Skip to main content



      Home
Home » Modeling » Graphiti » graphiti diagram editor xmi persistence encoding (how to set xmi encoding from ascii to utf-8)
graphiti diagram editor xmi persistence encoding [message #1097784] Fri, 30 August 2013 02:44 Go to next message
Eclipse UserFriend
i am a newbie in eclipse graphiti developing.now i used diagram editor to edit my graphitical model by emf,but when i saved it,i only got xml file with ascii encoding.i tried my best to find a way to make the utf-8 encoding while still use diagram editor,but i could not. is there a method to achieve this by some graphiti api? i really appreciate your help.


....
Re: graphiti diagram editor xmi persistence encoding [message #1097984 is a reply to message #1097784] Fri, 30 August 2013 08:35 Go to previous messageGo to next message
Eclipse UserFriend
The EMF XMLResource offers an option OPTION_ENCODING you can set for saving
in DefaultPersistencyBehavior (probably you need to subclass that).

Michael
Re: graphiti diagram editor xmi persistence encoding [message #1098383 is a reply to message #1097984] Fri, 30 August 2013 22:00 Go to previous message
Eclipse UserFriend
Thank you Michael for your immediately help。
Previous Topic:Restrain features in the Diagram View Example
Next Topic:how to get file path created by wizard after the wizard execute
Goto Forum:
  


Current Time: Wed Jul 23 04:21:36 EDT 2025

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

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

Back to the top