Dynamically creating Objects with no graphical/tooling def. [message #174287] |
Tue, 26 February 2008 03:22  |
Eclipse User |
|
|
|
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.
|
|
|
Re: Dynamically creating Objects with no graphical/tooling def. [message #175208 is a reply to message #174287] |
Mon, 03 March 2008 13:01  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.12163 seconds