Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDevelopment of a UI with EMF forms without a data model
https://www.eclipse.org/forums/index.php/mv/msg/1100953/1815906/#msg_1815906
I'm a beginner in EMF and, as far as I know, the normal course of action, when developing a UI with EMF forms, is to render both data model (say, in UML) and EMF's view model.
I'm wondering whether I could develop a UI with EMF forms without a data model, actually, I'd like to generate a data model from such a UI...Is it possible? If so, links to detailed information or examples would be highly appreciated.
Thank you for your attention.
Regards,
Clever. ]]>Clever Alves2019-10-15T01:36:09-00:00Re: Development of a UI with EMF forms without a data model
https://www.eclipse.org/forums/index.php/mv/msg/1100953/1815909/#msg_1815909
The model need not be designed graphically, but it can be done with a UM-like graphical notation:
Or you could use a textual notation such as Xcore, or OCLInEcore
https://wiki.eclipse.org/Xcore https://wiki.eclipse.org/OCL/OCLinEcore]]>Ed Merks2019-10-15T04:29:18-00:00Re: Development of a UI with EMF forms without a data model
https://www.eclipse.org/forums/index.php/mv/msg/1100953/1815956/#msg_1815956
I'm new in the field, but I've already seen you're a great expert! Congratulations on your contributions to this amazing platform!
"https://www.eclipse.org/ecoretools/" => I think Ecore models would suit me best. By the way, as far as I know, Ecore features class diagrams just as UML. However, does Ecore also feature, say, sequence and activity diagrams (or something equivalent to what's offered by UML in this sense)?
Regards,
Clever.]]>Clever Alves2019-10-16T00:49:11-00:00Re: Development of a UI with EMF forms without a data model
https://www.eclipse.org/forums/index.php/mv/msg/1100953/1815960/#msg_1815960
https://download.eclipse.org/modeling/emf/emf/javadoc/2.10.0/org/eclipse/emf/ecore/package-summary.html]]>Ed Merks2019-10-16T03:47:01-00:00Re: Development of a UI with EMF forms without a data model
https://www.eclipse.org/forums/index.php/mv/msg/1100953/1816002/#msg_1816002
I've seen an Ecore model generates interfaces and implementations with getters and setters. Can I use, say, references, to automatically generate other application-specific methods (code form of UML's activity diagrams), as well as sequencing the program (code form of UML's sequence diagrams)?
Thank you for your attention.
Regards,
Clever.]]>Clever Alves2019-10-17T01:29:41-00:00Re: Development of a UI with EMF forms without a data model
https://www.eclipse.org/forums/index.php/mv/msg/1100953/1816004/#msg_1816004
But for someone not wanting to develop a UI form without a model that's wading very deeply into modeling territory.
]]>Ed Merks2019-10-17T03:53:41-00:00Re: Development of a UI with EMF forms without a data model
https://www.eclipse.org/forums/index.php/mv/msg/1100953/1816041/#msg_1816041
"In the simplest form, you can transform to EOperations with a "GenModel" body annotation which will generate the Java code in that annotation into the body of the correspondingly generate Java operation" => This apparently suits me best...Would you have a URL with an example?
At a later project phase, I aim to use JET to parse through the XML instance output, but I may not have enough time for that...would it make sense?