Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:44 Go to next message
xiao yu zhou is currently offline xiao yu zhouFriend
Messages: 20
Registered: August 2013
Junior Member
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 12:35 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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] Sat, 31 August 2013 02:00 Go to previous message
xiao yu zhou is currently offline xiao yu zhouFriend
Messages: 20
Registered: August 2013
Junior Member
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: Fri Apr 26 21:58:55 GMT 2024

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

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

Back to the top