Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with EditHelperAdvice
Problem with EditHelperAdvice [message #114120] Sat, 24 March 2007 10:12 Go to next message
Eclipse UserFriend
Originally posted by: schmelly.uni-paderborn.de

Hello together,

i try to implement some custom behaviour before or after an element in
my diagram is dragged around. For this purpose i implemented my own
EditHelperAdvice which extends AbstractEditHelperAdvice and installed it
via the elementTypes extension point.

However, not all getAfter*Command() or getBefore*Command() methods are
called as expected.
E.g. getAfterConfigureCommand() is called as expected, whereas
getAfterMoveCommand() or getAfterDestroyCommand() are not called.

any ideas why?


bet regards,
David
Re: Problem with EditHelperAdvice [message #114143 is a reply to message #114120] Sat, 24 March 2007 11:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: schmelly.uni-paderborn.de

nevermind, i misunderstood the Delete/Move Requests. They are fired if a
child of the current element type was destroyed or moved.
Re: Problem with EditHelperAdvice [message #114150 is a reply to message #114143] Sat, 24 March 2007 12:15 Go to previous message
Eclipse UserFriend
Originally posted by: schmelly.uni-paderborn.de

actually i still have a problem.

what i want to achieve is, that whenever some node A ist dragged in my
diagram, some node b should be set to the same y-coordinate (node A and
B are connected with each other, in fact they are message start and end
points in some sequence diagram).

it seems that i cant handle this in an EditHelperAdvice since there is
no appropriate request generated.

are there any other solutions for my problem beside modifying the
generated code?


best regards,
David
Previous Topic:Problems using M5
Next Topic:Ways to navigate to the DiagramDocumentEditor instance
Goto Forum:
  


Current Time: Thu May 08 12:03:29 EDT 2025

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

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

Back to the top