IMenuListener [message #12579] |
Tue, 27 March 2007 06:59  |
Eclipse User |
|
|
|
Hi,
is it possible for You to make the IMenuListener work? I need it to update
the action state as the menu gets shown.
Regards,
Markus
|
|
|
|
|
|
|
|
|
|
|
|
Re: IMenuListener [message #14638 is a reply to message #14517] |
Thu, 29 March 2007 11:19  |
Eclipse User |
|
|
|
Originally posted by: jkrause.innoopract.com
Thanks for the positive feedback! And I would love to see your
application at work. If you can't make it public I would be happy to
receive a private email as well.
Jochen
Markus Krüger wrote:
> Thant's not a problem. Just thought it may be a bug since it also happens if
> I do not register a menu listener, but maybe you add some default menu
> listerner.
> That woul explain why it behaves this way although I did not register a menu
> listener.
>
> Thanks for the answer.,
>
> Markus
>
> P.s.: You guys do a really good job with RAP! Maybe I can give you a
> Demoaccess to my RAP application somtime to show what my questions were all
> about.
>
> "Ralf Sternberg" <rsternberg@innoopract.com> schrieb im Newsbeitrag
> news:eug8nl$c97$1@build.eclipse.org...
>> Hi Markus,
>>
>> Markus Krüger schrieb:
>>> 1. May it be possible that the menu is no redrawn evertime it gets shown?
>>> Is this correct this way? I assume this because as I click on a menu I
>>> first see three dots "..." for a very short time and then my actions.
>> When a MenuListener is registered to a Menu, an AJAX request must be sent
>> before the menu is shown to allow the listener to do take its actions.
>> Until the response is received, only one preliminary menu item is shown
>> ("...") to show the user that the menu is loading.
>>
>> Showing the entire menu before the response comes back would show the menu
>> in an inconsistent state for a short time, e.g. with some items still
>> enabled that are then disabled by the menu listener.
>>
>> I think the preliminary item is a good compromise between correctness and
>> responsiveness. Or do you think it disturbs users?
>>
>> Regards,
>> Ralf
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02768 seconds