Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms] Non-ASCII viewmodel generation
[EMF Forms] Non-ASCII viewmodel generation [message #1787606] Tue, 29 May 2018 22:45 Go to next message
Akira Tanaka is currently offline Akira TanakaFriend
Messages: 74
Registered: March 2010
Hello EMF Forms experts,

Is there any way to apply EMF Forms to non-ASCII encoded ecore models? In my case, I was able to create non-ASCII (Japanese with UTF-8 setting) ecore model, which contains non-ASCII EClass name as well as non-ASCII attribute names. I was then able to generate model code and edit project (EMF works!). However, when i tried to generate EMF Form's viewmodel project, I got an error in viewmodel. The viewmodel in textual form is an XML file with ASCII as default coding. Although just changing "ASCII" to "UTF-8" did not work, I exported the viewmodel file, did edit with external editor and saved it as UTF-8 encoded file, imported it back to viewmodel project, it worked (EClass name was successfully shown but no control for attributes were generated).

My question is "is there any way to specify/generate UTF-8 encoded viewmodel?" How can I achieve this?

Thank you for your help in advance.
Re: [EMF Forms] Non-ASCII viewmodel generation [message #1787619 is a reply to message #1787606] Wed, 30 May 2018 07:48 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 79
Registered: September 2016

if EMF itself works, there is probably no conceptional reason, why this shouldn't work for EMF Forms. Probably you need to check all loading/saving parts for the encoding. Could you report that as a BR? And: Do you consider a contribution or sponsored development for this issue?

Best regards,

Jonas Helming

Get professional Eclipse developer support:

Jonas Helming
Get professional Eclipse developer support:
Previous Topic:[EMF Forms] What happened to the JavaFX renderer between version 1.7.2 and 1.8.0?
Next Topic:[EMF Forms] Generic Editor and RAP
Goto Forum:

Current Time: Thu Sep 20 12:32:25 GMT 2018

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

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

Back to the top