Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » HELP! SELECTIO FIGURE (SHAPE)( SELECTIO FIGURE (SHAPE))
icon14.gif  HELP! SELECTIO FIGURE (SHAPE) [message #1169178] Sun, 03 November 2013 16:31 Go to next message
Eclipse UserFriend
hello friends

I need to change the style of the selection of the elements (nodes), I tried to find where to place this part of the code, but can not find.

Anyone know how to achieve change the style of the selection?

attached a picture that shows this problem

many thanks
  • Attachment: ques.jpg
    (Size: 35.82KB, Downloaded 219 times)
Re: HELP! SELECTIO FIGURE (SHAPE) [message #1169964 is a reply to message #1169178] Mon, 04 November 2013 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

the selection is handeled in the selection edit policies. Edit policies are installed in into your edit part in the createDefaultEditPolicies() method. Just use installEditPolicy(SelectionEditPolicy.SELECTION_FEEDBACK_ROLE, new MySelectionEditPolicy());

Ralph
Re: HELP! SELECTIO FIGURE (SHAPE) [message #1170723 is a reply to message #1169964] Mon, 04 November 2013 15:59 Go to previous messageGo to next message
Eclipse UserFriend
hi Ralph Gerbig

I try but I do not, not how to make me accept the createDefaultEditPolicies politics, can you give me some example, or a help?

thanks master
Re: HELP! SELECTIO FIGURE (SHAPE) [message #1170838 is a reply to message #1169964] Mon, 04 November 2013 17:50 Go to previous message
Eclipse UserFriend
hi Ralph Gerbig

I try but I do not, not how to make me accept the createDefaultEditPolicies politics, can you give me some example, or a help?

thanks master



Ralph Gerbig wrote on Mon, 04 November 2013 05:03
Hi,

the selection is handeled in the selection edit policies. Edit policies are installed in into your edit part in the createDefaultEditPolicies() method. Just use installEditPolicy(SelectionEditPolicy.SELECTION_FEEDBACK_ROLE, new MySelectionEditPolicy());

Ralph
Previous Topic:Customized property widget
Next Topic:Extend External Label representation and only show it by hovering the mouse
Goto Forum:
  


Current Time: Tue Jul 22 18:45:15 EDT 2025

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

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

Back to the top