Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » CanonicalEditPolicy listening to whole business model tree
CanonicalEditPolicy listening to whole business model tree [message #536122] Thu, 27 May 2010 07:21
Eclipse UserFriend
Originally posted by:

In our use case, the business model consists of a tree of elements where
elements can be added or removed dynamically. in contrast, the
notational model has a flat hierarchy with a diagram and one level of
child elements. these notational child elements correspond to attributes
in a business model element. in order to delete a child element in the
notational model when the business model element is deleted, we have
installed a canonical edit policy. the canonical edit policy has to
listen on every business model element. currently, we use an
EContentAdapter which calls the refresh of the CanonicalEditPolicy
directly. is this a good way to do it or is there a more gmf-style (in
the CanonicalEditPolicy or in the DiagramEventBroker or ...) way for this?

thanks for any information,
Previous Topic:customize a property sheet
Next Topic:GMF Merge
Goto Forum:

Current Time: Mon Jun 17 23:25:11 GMT 2024

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

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

Back to the top