Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » HELP! SELECTIO FIGURE (SHAPE)( HELP! SELECTIO FIGURE (SHAPE))
icon14.gif   HELP! SELECTIO FIGURE (SHAPE) [message #1176729] Fri, 08 November 2013 14:12 Go to next message
javs javs is currently offline javs javsFriend
Messages: 27
Registered: November 2013
Junior Member
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 132 times)
Re: HELP! SELECTIO FIGURE (SHAPE) [message #1176747 is a reply to message #1176729] Fri, 08 November 2013 14:28 Go to previous messageGo to next message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 225
Registered: July 2009
Location: L√ľnen
Senior Member
SelectionEditPolicy#showSelection() is responsible of showing the selection feedback. Within SelectionHandlesEditPolicy this delegates to createSelectionHandles(), which within NonResizableEditPolicy delegates to createMoveHandle(List handles), which creates the move handle (rectangle) you see in your screenshot. You can interfere there and set a new border on the move handle that got created (the line border you see by default is set in MoveHandle#initializ()).
icon14.gif  Re: HELP! SELECTIO FIGURE (SHAPE) [message #1177237 is a reply to message #1176747] Fri, 08 November 2013 21:40 Go to previous messageGo to next message
javs javs is currently offline javs javsFriend
Messages: 27
Registered: November 2013
Junior Member
as for the handles do not fit close to the figure? well as in the attached image


greetings from Colombia, thank you very much



Alexander Nyssen wrote on Fri, 08 November 2013 09:28
SelectionEditPolicy#showSelection() is responsible of showing the selection feedback. Within SelectionHandlesEditPolicy this delegates to createSelectionHandles(), which within NonResizableEditPolicy delegates to createMoveHandle(List handles), which creates the move handle (rectangle) you see in your screenshot. You can interfere there and set a new border on the move handle that got created (the line border you see by default is set in MoveHandle#initializ()).
  • Attachment: ques.jpg
    (Size: 35.82KB, Downloaded 148 times)
Re: HELP! SELECTIO FIGURE (SHAPE) [message #1406721 is a reply to message #1177237] Mon, 11 August 2014 00:05 Go to previous messageGo to next message
Juan Ting is currently offline Juan TingFriend
Messages: 3
Registered: August 2014
Junior Member
Hello/Hola javs javs

Did you manage to modify the selection figure? Can you tell us how you did it?
I just want to remove it.

Gracias por adelantado

Un abrazo.
icon14.gif  Re: HELP! SELECTIO FIGURE (SHAPE) [message #1406990 is a reply to message #1406721] Mon, 11 August 2014 16:00 Go to previous message
javs javs is currently offline javs javsFriend
Messages: 27
Registered: November 2013
Junior Member
Hola

me puede contactar en el correo ingjavs001@gmail.com
Previous Topic:How to control palette visibility with GraphicalEditorWithFlyoutPalette
Next Topic:I've got the selection, I need to make invisible old!
Goto Forum:
  


Current Time: Wed Nov 22 13:01:30 GMT 2017

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

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