[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Question about linked emf and gmf editors

I have this working as I want via one of my relations to the UML ecore,
hence it does appear that GMF models do not need contain all the node
mappings in gmfmap that the EMF model provides.

This seems to indicate a bug in my implementation of the SBVR ecore
(generated from xsd - I don't need perfection at this stage just a
strawman placeholder so can probably live with this)

regards
Steve

Bill Hinge wrote:
Hi

I've linked my EMF & GMF editors together as per Rich's book and
examples but I have a couple of questions if I may.


I have just created a basic SBVR ecore to add some business logic to my editor, I want the user to create the business logic strings using only the EMF editor, ie I don't want to display SBVR nodes in GMF. I can do this OK on the tree editor but my diagram editor crashes as soon as I switch to it. I assume this is because I don't have SBVR nodes in my gmfmap files etc.

So long as I stick to non SBVR nodes I can use either editor just fine.

Is it possible to have SBVR nodes non editable in GMF ie no tool
or visual but editable in EMF? ie GMF only contains a subset.

(I have a containment from my main model to a subcomponent in my
draft SBVR ecore)

I'm guessing a workaround maybe to create some dummy nodes that are
invisible but I was hoping not to have dummy nodes on the tools
palette

regards
Steve