highlight on mouse rollover [message #196811] |
Tue, 27 September 2005 07:07  |
Eclipse User |
|
|
|
Originally posted by: alnospammajor.noboxspamspoon.com
can anyone point me at sample code that shows figures getting
highlighted as the mouse moves over them (and losing the highlight after).
i'd like to see a concrete example of the interactions between EditPart,
EditPolicy, DragTracker, et al that are required to accomplish this.
i don't seem to be able to find what i want in the standard samples, but
maybe i'm missing something.
a description of what to do would be acceptable, but pointer to code
would be preferred :-).
regards,
al
|
|
|
Re: highlight on mouse rollover [message #196839 is a reply to message #196811] |
Tue, 27 September 2005 10:01   |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
highlighting depends on the tool that is active. For the normal selection
tool, use the SELECTION_REQUEST, or SELECT_HOVER request ids. For dragging,
you need to look for MOVE or ADD requests.
"Al Major" <alnospammajor@noboxspamspoon.com> wrote in message
news:dhb94a$2gk$1@news.eclipse.org...
> can anyone point me at sample code that shows figures getting highlighted
> as the mouse moves over them (and losing the highlight after).
>
> i'd like to see a concrete example of the interactions between EditPart,
> EditPolicy, DragTracker, et al that are required to accomplish this.
>
> i don't seem to be able to find what i want in the standard samples, but
> maybe i'm missing something.
>
> a description of what to do would be acceptable, but pointer to code would
> be preferred :-).
>
> regards,
>
> al
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25235 seconds