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: 24
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 34 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 Nyssen is currently offline Alexander Nyssen
Messages: 40
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 message
javs javs is currently offline javs javs
Messages: 24
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 47 times)
Previous Topic:Zest Graph Viwer Dynamically Splitting the view .
Next Topic:[ZEST] Custom Node with large data sets
Goto Forum:
  


Current Time: Fri Jul 25 23:24:32 EDT 2014

Powered by FUDForum. Page generated in 0.01501 seconds