Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dynamically creating Objects with no graphical/tooling def.
Dynamically creating Objects with no graphical/tooling def. [message #174287] Tue, 26 February 2008 08:22 Go to next message
Neeraj Bhusare is currently offline Neeraj BhusareFriend
Messages: 177
Registered: July 2009
Location: Canada
Senior Member
I am following mindmap and the BPMN editor examples to come up with a
similar editor. One thing I noticed in both these editors is that every
object/node has a associated graphical and a tooling definition. What if
the object is part of the domain model and has no graphical and a tooling
definition, and is supposed to get generated dynamically. To be more
specific, lets say in the BPMN editor, a "Process" gets generated
dynamically. By this I mean when I drop a Pool, a process instance gets
generated (with no graphical representation) in a Pool and I should be
able to drop other objects(tasks...) into the process. The serialization
of the model contains the process nested into the pool and graphical
objects nested in the process.
I have tried playing around with the the mapping definition model, but
couldn't achieve the above. I tried making changes in the BPMN editor, and
could reach to a point where I could find the process getting generated
dynamically and also nested in the pool, but the tasks that are dropped in
the pool/process are not nested in the process.

Looking forward for some pointers.


Twitter : @NeerajBhusare
Blog : https://nbhusare.github.io/
Best regards, Neeraj
Re: Dynamically creating Objects with no graphical/tooling def. [message #175208 is a reply to message #174287] Mon, 03 March 2008 18:01 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello neeraj,

From now it is posible to work with dynamic instances of EMF model in GMF,
but you still have to generate diagram code working with it, so I doubt your
use case is covered by current version of GMF. I suggest you to think about
static meta-model describing all your diagram elements.

-----------------
Alex Shatalin
Previous Topic:Creating a connection programatically or via core properties
Next Topic:Opening an editor child other than what was double clicked?
Goto Forum:
  


Current Time: Thu Mar 28 15:35:23 GMT 2024

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

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

Back to the top