[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Loading GMF namespaces for workflows in GMF-GEF editor output

Thanks Alex

I did create a workaround by copying notation.ecore to my local project
and referencing it, this solved the problem with the MWE Reader. It's
not a perfect soln as it could break if any underlying locally copied
ecores change. Hence I was just wondering if anyone else had come across
a similar situation in their use case. I'm just wondering if my use case
is covered by current implementations?

I did look at the GMF soln earlier but I found it slightly confusing due
to a lack of commenting in some of the GMF code, hopefully some examples
may be available in future? I agree that it's probably the long term soln but at this time I'm just looking for a quick imp soln.


I've almost got the MWE workflow working but having issues with my
templates using xpand2 (I get the red error symbols on my templates even
when configured via code completion, when run they are giving
some strange error). The encoding is a bit of a pain also.
I will post to the appropriate group however.


thanks again Steve

Alex Shatalin wrote:
Hello Bill,

I cannot help you with mwe - there should be a didicated newsgroup for it, but it looks like you have to expose location of http://www.eclipse.org/gmf/runtime/1.0.2/notation metamodel for an expand.

PS I did look at the GMF xpand way of code generation but it looked a
bit complex without documentation ;)
I suggest you using ANT task to run xpand transformation (a part of GMF) and use GMF xpand to generate code. :-)
Hope I'll be able to answer any questions concerning xpand execution in GMF.
As a starting point you can use org.eclipse.gmf.graphdef.editor/build.xml file.


-----------------
Alex Shatalin