|Access to the Diagram Model [message #566918]
||Tue, 21 April 2009 16:54
| Ken Sayers
Registered: July 2009
I have an emf model. I use Eugenia to generate a GMF editor for it. I use
"synchronize=false" so that I can have multiple diagrams for one emf
model. I use EWL to do several house keeping tasks in the model so that I
can avoid having to use the EMF editor for things that don't appear on the
The last thing I need the EMF editor for is to drag entities from the
model onto a diagram. This can happen because the model is not
"synchronized" iwith the diagram so that not everything in the model is on
I need to accomplish two things:
1. add an entity from the model to the diagram. This can be done by
dragging and dropping from the emf editor. I'd like to do it from EWL.
That means I need access to the diagram model from EWL. Is that possible?
2. add any connections that link the added entity to other things already
on the graph. Again, I need access to the diagram model.
I assume I can get all this accomplished in code, but I am looking for a
higher level solution. If none is available, pointers to where to start
with the code would be helpful.
Any help is greatly appreciated.
Powered by FUDForum
. Page generated in 0.35778 seconds