Home » Eclipse Projects » Remote Application Platform (RAP) » MouseTrackListener?
| |
Re: MouseTrackListener? [message #554745 is a reply to message #554736] |
Tue, 24 August 2010 09:51 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Markus,
both MouseTrackListener / MouseTrackAdapter classes have been added ONLY
for an easy single sourcing. See bug:
303391: Add MouseTrackListener / MouseTrackAdapter types
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303391
There are no references to them. I'm sorry to say, but it's very hard to
create a reasonable implementation due to many client/server turnarounds
needed.
Best,
Ivan
On 08/24/2010 12:29 PM, Markus Kr�ger wrote:
> Some addition:
>
> If it is not ready to use yet, when is it planned to be?
>
> Is there a workaround to open a shell on mouse over of a button for creating
> a custom tooltip?
>
> Thanks,
> Markus
>
> "Markus Kr�ger"<krueger@ion.ag> schrieb im Newsbeitrag
> news:i50385$5v1$1@build.eclipse.org...
>> Hi,
>>
>> how can I use the MouseTrackListener (i.e. on a label or button)?
>> I see the listener is available in RAP, but I can not see any references.
>> Is this not implemented, yet?
>>
>> Regards,
>> Markus
>>
>
|
|
|
Re: MouseTrackListener? [message #554746 is a reply to message #554745] |
Tue, 24 August 2010 10:15 |
Markus rüger Messages: 369 Registered: July 2009 |
Senior Member |
|
|
Ok, thanks for the info. Is there maybe a possible workaround to open a
shell on mouse over of a button for creating
a custom tooltip?
"Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
news:i504nq$ihu$1@build.eclipse.org...
> Hi Markus,
>
> both MouseTrackListener / MouseTrackAdapter classes have been added ONLY
> for an easy single sourcing. See bug:
> 303391: Add MouseTrackListener / MouseTrackAdapter types
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=303391
> There are no references to them. I'm sorry to say, but it's very hard to
> create a reasonable implementation due to many client/server turnarounds
> needed.
>
> Best,
> Ivan
>
> On 08/24/2010 12:29 PM, Markus Kr?ger wrote:
>> Some addition:
>>
>> If it is not ready to use yet, when is it planned to be?
>>
>> Is there a workaround to open a shell on mouse over of a button for
>> creating
>> a custom tooltip?
>>
>> Thanks,
>> Markus
>>
>> "Markus Kr?ger"<krueger@ion.ag> schrieb im Newsbeitrag
>> news:i50385$5v1$1@build.eclipse.org...
>>> Hi,
>>>
>>> how can I use the MouseTrackListener (i.e. on a label or button)?
>>> I see the listener is available in RAP, but I can not see any
>>> references.
>>> Is this not implemented, yet?
>>>
>>> Regards,
>>> Markus
>>>
>>
|
|
|
Re: MouseTrackListener? [message #554753 is a reply to message #554746] |
Tue, 24 August 2010 10:24 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
The only thing that I can imagine is to create a custom widget
(Button) that informs the server for mouse over event.
On 08/24/2010 1:15 PM, Markus Kr�ger wrote:
> Ok, thanks for the info. Is there maybe a possible workaround to open a
> shell on mouse over of a button for creating
> a custom tooltip?
>
> "Ivan Furnadjiev"<ivan@eclipsesource.com> schrieb im Newsbeitrag
> news:i504nq$ihu$1@build.eclipse.org...
>> Hi Markus,
>>
>> both MouseTrackListener / MouseTrackAdapter classes have been added ONLY
>> for an easy single sourcing. See bug:
>> 303391: Add MouseTrackListener / MouseTrackAdapter types
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=303391
>> There are no references to them. I'm sorry to say, but it's very hard to
>> create a reasonable implementation due to many client/server turnarounds
>> needed.
>>
>> Best,
>> Ivan
>>
>> On 08/24/2010 12:29 PM, Markus Kr?ger wrote:
>>> Some addition:
>>>
>>> If it is not ready to use yet, when is it planned to be?
>>>
>>> Is there a workaround to open a shell on mouse over of a button for
>>> creating
>>> a custom tooltip?
>>>
>>> Thanks,
>>> Markus
>>>
>>> "Markus Kr?ger"<krueger@ion.ag> schrieb im Newsbeitrag
>>> news:i50385$5v1$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> how can I use the MouseTrackListener (i.e. on a label or button)?
>>>> I see the listener is available in RAP, but I can not see any
>>>> references.
>>>> Is this not implemented, yet?
>>>>
>>>> Regards,
>>>> Markus
>>>>
>
|
|
|
Re: MouseTrackListener? [message #554754 is a reply to message #554753] |
Tue, 24 August 2010 10:45 |
Markus rüger Messages: 369 Registered: July 2009 |
Senior Member |
|
|
Is there some example custom widget I can start with?
"Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
news:i506ln$59q$1@build.eclipse.org...
> The only thing that I can imagine is to create a custom widget (Button)
> that informs the server for mouse over event.
>
> On 08/24/2010 1:15 PM, Markus Kr?ger wrote:
>> Ok, thanks for the info. Is there maybe a possible workaround to open a
>> shell on mouse over of a button for creating
>> a custom tooltip?
>>
>> "Ivan Furnadjiev"<ivan@eclipsesource.com> schrieb im Newsbeitrag
>> news:i504nq$ihu$1@build.eclipse.org...
>>> Hi Markus,
>>>
>>> both MouseTrackListener / MouseTrackAdapter classes have been added ONLY
>>> for an easy single sourcing. See bug:
>>> 303391: Add MouseTrackListener / MouseTrackAdapter types
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=303391
>>> There are no references to them. I'm sorry to say, but it's very hard to
>>> create a reasonable implementation due to many client/server turnarounds
>>> needed.
>>>
>>> Best,
>>> Ivan
>>>
>>> On 08/24/2010 12:29 PM, Markus Kr?ger wrote:
>>>> Some addition:
>>>>
>>>> If it is not ready to use yet, when is it planned to be?
>>>>
>>>> Is there a workaround to open a shell on mouse over of a button for
>>>> creating
>>>> a custom tooltip?
>>>>
>>>> Thanks,
>>>> Markus
>>>>
>>>> "Markus Kr?ger"<krueger@ion.ag> schrieb im Newsbeitrag
>>>> news:i50385$5v1$1@build.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> how can I use the MouseTrackListener (i.e. on a label or button)?
>>>>> I see the listener is available in RAP, but I can not see any
>>>>> references.
>>>>> Is this not implemented, yet?
>>>>>
>>>>> Regards,
>>>>> Markus
>>>>>
>>
|
|
| | |
Re: MouseTrackListener? [message #555008 is a reply to message #555000] |
Wed, 25 August 2010 07:26 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Markus,
It's great that you found a workaround of your problem. Now on the topic
- ControlDecoration. To implement the ControlDecoration we created a
separate internal widget -
org.eclipse.swt.internal.widgets.ControlDecorator. Its has it's own
client side widget - widget org.eclipse.rwt.widgets.ControlDecorator,
which represent the decoration icon. We show/hide the tooltip on this
widget entirely on the client side (no mouse track events, no
client/server turnaround).
Best,
Ivan
On 08/25/2010 9:52 AM, Markus Kr�ger wrote:
> I found a very dirty workaround for providing some better formatted tooltip
> information on a field.
> If you use fielddecorators, than you get a tooltip on them that can actually
> work with html-tags.
> That way you can at least provide some better formatted information in a
> tooltip on the decorator icon, but this works
> for me.
>
> The strange thing is that I can not understand, why a MouseTrackListener can
> not be implemented, because for
> field decorator there must be some mechanism that reacts on mouseover. At
> least the method "hover" could be implemented the same way, and that would
> be better than nothing.
>
> Maybe someone of the RAP team can provide some info on how the
> tooltip/mouseover on decorator work and why this mechanism can not be
> adapted to the MouseTrackListener?
>
> Regards,
> Markus
>
> "Markus Kr�ger"<krueger@ion.ag> schrieb im Newsbeitrag
> news:i5063d$u6v$1@build.eclipse.org...
>> Ok, thanks for the info. Is there maybe a possible workaround to open a
>> shell on mouse over of a button for creating
>> a custom tooltip?
>>
>> "Ivan Furnadjiev"<ivan@eclipsesource.com> schrieb im Newsbeitrag
>> news:i504nq$ihu$1@build.eclipse.org...
>>> Hi Markus,
>>>
>>> both MouseTrackListener / MouseTrackAdapter classes have been added ONLY
>>> for an easy single sourcing. See bug:
>>> 303391: Add MouseTrackListener / MouseTrackAdapter types
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=303391
>>> There are no references to them. I'm sorry to say, but it's very hard to
>>> create a reasonable implementation due to many client/server turnarounds
>>> needed.
>>>
>>> Best,
>>> Ivan
>>>
>>> On 08/24/2010 12:29 PM, Markus Kr?ger wrote:
>>>> Some addition:
>>>>
>>>> If it is not ready to use yet, when is it planned to be?
>>>>
>>>> Is there a workaround to open a shell on mouse over of a button for
>>>> creating
>>>> a custom tooltip?
>>>>
>>>> Thanks,
>>>> Markus
>>>>
>>>> "Markus Kr?ger"<krueger@ion.ag> schrieb im Newsbeitrag
>>>> news:i50385$5v1$1@build.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> how can I use the MouseTrackListener (i.e. on a label or button)?
>>>>> I see the listener is available in RAP, but I can not see any
>>>>> references.
>>>>> Is this not implemented, yet?
>>>>>
>>>>> Regards,
>>>>> Markus
>>>>>
>>
>
|
|
|
Re: MouseTrackListener? [message #555323 is a reply to message #555008] |
Thu, 26 August 2010 10:04 |
Markus rüger Messages: 369 Registered: July 2009 |
Senior Member |
|
|
Ah ok, so what you actually suggested me to do (create a custom button) is
already done with the control decoration.
Thank you very much for the information. This makes it better to understand
why it works there.
Regards,
Markus
"Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
news:i52gio$fuq$1@build.eclipse.org...
> Hi Markus,
>
> It's great that you found a workaround of your problem. Now on the topic -
> ControlDecoration. To implement the ControlDecoration we created a
> separate internal widget -
> org.eclipse.swt.internal.widgets.ControlDecorator. Its has it's own client
> side widget - widget org.eclipse.rwt.widgets.ControlDecorator, which
> represent the decoration icon. We show/hide the tooltip on this widget
> entirely on the client side (no mouse track events, no client/server
> turnaround).
>
> Best,
> Ivan
>
> On 08/25/2010 9:52 AM, Markus Kr?ger wrote:
>> I found a very dirty workaround for providing some better formatted
>> tooltip
>> information on a field.
>> If you use fielddecorators, than you get a tooltip on them that can
>> actually
>> work with html-tags.
>> That way you can at least provide some better formatted information in a
>> tooltip on the decorator icon, but this works
>> for me.
>>
>> The strange thing is that I can not understand, why a MouseTrackListener
>> can
>> not be implemented, because for
>> field decorator there must be some mechanism that reacts on mouseover. At
>> least the method "hover" could be implemented the same way, and that
>> would
>> be better than nothing.
>>
>> Maybe someone of the RAP team can provide some info on how the
>> tooltip/mouseover on decorator work and why this mechanism can not be
>> adapted to the MouseTrackListener?
>>
>> Regards,
>> Markus
>>
>> "Markus Kr?ger"<krueger@ion.ag> schrieb im Newsbeitrag
>> news:i5063d$u6v$1@build.eclipse.org...
>>> Ok, thanks for the info. Is there maybe a possible workaround to open a
>>> shell on mouse over of a button for creating
>>> a custom tooltip?
>>>
>>> "Ivan Furnadjiev"<ivan@eclipsesource.com> schrieb im Newsbeitrag
>>> news:i504nq$ihu$1@build.eclipse.org...
>>>> Hi Markus,
>>>>
>>>> both MouseTrackListener / MouseTrackAdapter classes have been added
>>>> ONLY
>>>> for an easy single sourcing. See bug:
>>>> 303391: Add MouseTrackListener / MouseTrackAdapter types
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=303391
>>>> There are no references to them. I'm sorry to say, but it's very hard
>>>> to
>>>> create a reasonable implementation due to many client/server
>>>> turnarounds
>>>> needed.
>>>>
>>>> Best,
>>>> Ivan
>>>>
>>>> On 08/24/2010 12:29 PM, Markus Kr?ger wrote:
>>>>> Some addition:
>>>>>
>>>>> If it is not ready to use yet, when is it planned to be?
>>>>>
>>>>> Is there a workaround to open a shell on mouse over of a button for
>>>>> creating
>>>>> a custom tooltip?
>>>>>
>>>>> Thanks,
>>>>> Markus
>>>>>
>>>>> "Markus Kr?ger"<krueger@ion.ag> schrieb im Newsbeitrag
>>>>> news:i50385$5v1$1@build.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> how can I use the MouseTrackListener (i.e. on a label or button)?
>>>>>> I see the listener is available in RAP, but I can not see any
>>>>>> references.
>>>>>> Is this not implemented, yet?
>>>>>>
>>>>>> Regards,
>>>>>> Markus
>>>>>>
>>>
>>
|
|
|
Goto Forum:
Current Time: Fri Nov 08 23:31:02 GMT 2024
Powered by FUDForum. Page generated in 0.02746 seconds
|