Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Access to the Diagram Model
Access to the Diagram Model [message #566918] Tue, 21 April 2009 16:54
Ken Sayers is currently offline Ken SayersFriend
Messages: 40
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
every diagram.

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.

Previous Topic:TemplateFactory.load help
Next Topic:Access to the Diagram Model
Goto Forum:

Current Time: Sat Jun 23 20:04:42 GMT 2018

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

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

Back to the top