Change mouse image on mouse-over [message #236494] |
Fri, 29 June 2007 11:19 |
Eclipse User |
|
|
|
Originally posted by: prashanto.chatterjee.softwareag.com
Hi Guys,
I have this specific requirement wherein I need to
(i) change the figure of an edit-part when the same recieves a mouse-over
event
(ii) change the mouse image
For part (i), I added requisite code in the corresponding EditPolicy inside
the 'showTargetFeedback' method.
However, I am not sure as to how do I change the mouse image. Is this
possible and If YES how do I go about achieving it?
Thanks in advance,
Prashanto Chatterjee
|
|
|
Re: Change mouse image on mouse-over [message #236499 is a reply to message #236494] |
Fri, 29 June 2007 11:28 |
Eclipse User |
|
|
|
Originally posted by: prashanto.chatterjee.softwareag.com
Please read 'mouse image' as mouse-cursor.
"Prashanto Chatterjee" <prashanto.chatterjee@softwareag.com> wrote in
message news:f62psk$pv0$1@build.eclipse.org...
> Hi Guys,
> I have this specific requirement wherein I need to
> (i) change the figure of an edit-part when the same recieves a mouse-over
> event
> (ii) change the mouse image
>
> For part (i), I added requisite code in the corresponding EditPolicy
> inside the 'showTargetFeedback' method.
>
> However, I am not sure as to how do I change the mouse image. Is this
> possible and If YES how do I go about achieving it?
>
> Thanks in advance,
> Prashanto Chatterjee
>
|
|
|
Re: Change mouse image on mouse-over [message #236539 is a reply to message #236494] |
Tue, 03 July 2007 10:49 |
Eclipse User |
|
|
|
Originally posted by: prashanto.chatterjee.softwareag.com
I got the solution.
Inside the 'showTargetFeedback' method of the corresponding edit-part, I set
the cursor of the figure to the HAND cursor. Similarly, inside the
eraseTargetFeedback method, I changed it back to the default cursor.
Cheers,
Prashanto
"Prashanto Chatterjee" <prashanto.chatterjee@softwareag.com> wrote in
message news:f62psk$pv0$1@build.eclipse.org...
> Hi Guys,
> I have this specific requirement wherein I need to
> (i) change the figure of an edit-part when the same recieves a mouse-over
> event
> (ii) change the mouse image
>
> For part (i), I added requisite code in the corresponding EditPolicy
> inside the 'showTargetFeedback' method.
>
> However, I am not sure as to how do I change the mouse image. Is this
> possible and If YES how do I go about achieving it?
>
> Thanks in advance,
> Prashanto Chatterjee
>
|
|
|
Powered by
FUDForum. Page generated in 0.02833 seconds