[EMF Forms] Generic Editor and RAP [message #1789877] |
Thu, 31 May 2018 05:40  |
Eclipse User |
|
|
|
Hi Everyone,
have been using EMF Forms and its generic editor with great joy for last couple of months. Now I got curious if I can make a RAP version of my Generic editor adaptation. I have found this twitter post saying it should run in RAP:
https://twitter.com/jayjaybillings/status/747800829005012992
However, after a couple of hours of struggle, I gave up, but mostly due to my inexperience in RAP.
As I am using version 1.15 of EMF Forms, I was hoping for a couple if hints:
- has anyone tried this? Maybe there are some pointers to examples?
- in the bug / feature list of EMF Forms I have seen some "remove dependency to..." tasks which could be RAP related. Is the 1.15 version perhaps too old, and the same experiment could be better done with a newer version?
Thanks, and best regards!
Nikola
[Updated on: Thu, 31 May 2018 06:13] by Moderator
|
|
|
Re: [EMF Forms] Generic Editor and RAP [message #1789952 is a reply to message #1789877] |
Fri, 01 June 2018 03:31   |
Eclipse User |
|
|
|
Hi Nikola,
most of the code should work out of the box, i.e. everything inside the editor. If you look at the GenericEditor class, you will see, that this is not a lot of code, it basically puts things together.
However, the GenericEditor itself has direct workspace dependencies, as it loads a file. This part probably needs to be adapted for the RAP use case.
If you can fill in the data another way, there should not be too much work adapting the editor class, in this case, you need to override the way, that the file is loaded and stored.
Do you have a "online" workspace in your application, which also allows to select files?
Best regards,
Jonas
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03808 seconds