Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » EditPolicy installed by parent of AffixedChild or ExternalLabel
EditPolicy installed by parent of AffixedChild or ExternalLabel [message #510687] Thu, 28 January 2010 05:45
Eclipse UserFriend
Hi,

When a node has affixed children or external labels, its EditPart
installs the following edit policy:

installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy());

Is there a specific reason why the edit policy installation is made in
the parent edit part rather than letting the children manage their own
edit policies ?

It seems that the code generated for edges is slightly different, in
such a case the EditPolicy.PRIMARY_DRAG_ROLE is directly installed on
the label, not on its parent.

regards,

Yann
Previous Topic:editingDomain not ready
Next Topic:GMF Editor resolving SVG-Images to Resource
Goto Forum:
  


Current Time: Mon Jul 07 06:42:11 EDT 2025

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

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

Back to the top