eobject straight in jetemitters [message #187706] |
Mon, 19 May 2008 12:41 |
paolo russian Messages: 34 Registered: July 2009 |
Member |
|
|
hello model driven folks :)
I have my GMF app that feeds a handmade parser class, this reads the saved
xml diagram and for each of the widget found it calls in a jsfjet
jetemitter class to generate whatever code you may want.
At the moment, our parser populates an hashtable with "key, value" to keep
track of each of our custom property the user sets in the property view
for the gmf nodes in the diagram, but this is leading us to various
limits, due to the "vertical" direction of the parsing, while in certain
cases (in example some richfaces datagrid) you will need an horizontal
parsing, so what we wish to do is to pass to the various jsfjet directly
the corresponding eobjectimpl being found on the diagram saved. That way
if we change something in the ecore (new properties 4 instance) this
property is ready available in the jsfjet without modifying all the code
in between.
Anyone have some hints in managing this, or have dealt before with such a
thing? Maybe our one it's just a bad idea or it'd be better to do all a
different way... what I need is a suggestion :) thanks!
Paolo
|
|
|
Powered by
FUDForum. Page generated in 0.03271 seconds