Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Plate figure of an editpart
Plate figure of an editpart [message #44827] Mon, 11 September 2006 09:35
Eclipse UserFriend
Hi,
Can you explain what is the purpose of DefaultSizeNodeFigure, every
editpart use it as a plate figure, why? I was told that this has been
discussed before, but I failed to find any post here..
I'm going to add an editpolicy that change figure's background color when
mouse enters, here getHostFigure() returns the plate figure, if I add
mousemotionlistener this figure, nothing would happened. Instead, I had to
get the real figure above this plate figure (using
getChildren().get(0))and add listener to it, isn't it inconvenience?

Regards,
Zhang Hao
Previous Topic:How to delete the view without element instantly?
Next Topic:safeProvides always return false when droping elements from tree
Goto Forum:
  


Current Time: Mon Jul 14 05:44:18 EDT 2025

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

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

Back to the top