Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:45
Yann Tanguy is currently offline Yann TanguyFriend
Messages: 80
Registered: July 2009
Member
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: Sat Apr 17 23:47:40 GMT 2021

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