Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » eobject straight in jetemitters
eobject straight in jetemitters [message #187706] Mon, 19 May 2008 12:41
paolo russian is currently offline paolo russianFriend
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
Previous Topic:Saving model to other format
Next Topic:Creating a link inside a command
Goto Forum:
  


Current Time: Fri Apr 26 12:50:34 GMT 2024

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

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

Back to the top