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 09:12 Go to next message
javs javs is currently offline javs javs
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 40 times)
Re: HELP! SELECTIO FIGURE (SHAPE) [message #1176747 is a reply to message #1176729] Fri, 08 November 2013 09:28 Go to previous messageGo to next message
Alexander Nyßen is currently offline Alexander Nyßen
Messages: 44
Registered: July 2009
Location: Lünen
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 16:40 Go to previous messageGo to next message
javs javs is currently offline javs javs
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 53 times)
Re: HELP! SELECTIO FIGURE (SHAPE) [message #1406721 is a reply to message #1177237] Sun, 10 August 2014 20:05 Go to previous messageGo to next message
Juan Ting is currently offline Juan Ting
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 12:00 Go to previous message
javs javs is currently offline javs javs
Messages: 27
Registered: November 2013
Junior Member
Hola

me puede contactar en el correo ingjavs001@gmail.com
Previous Topic:EditPart Policy and Figure Mouse Listener Conflict
Next Topic:Getting coordinates from automatic layout
Goto Forum:
  


Current Time: Tue Sep 02 02:46:10 EDT 2014

Powered by FUDForum. Page generated in 0.02728 seconds