Skip to main content



      Home
Home » Eclipse Projects » JFace » Form.setMessage question
Form.setMessage question [message #4982] Thu, 14 May 2009 08:10 Go to next message
Eclipse UserFriend
Hi,

my app uses messages in form heading quite heavily and I noticed that for
every MessageManager.addMessage or MessageManager.removeManager calls we
end up in Form.setMessage method where we update the heading (includes
layout/redraw always) and then we re layout the whole form. I wonder
whether this form re-layout is really necessary as it attributes to almost
2/3 of the time that we are spending in Form.setMessage?

Thanks,
Vadim

Windows XP SP2, Java 1.6.0_12, Eclipse 3.5.0 M7
Re: Form.setMessage question [message #6095 is a reply to message #4982] Fri, 15 May 2009 13:28 Go to previous messageGo to next message
Eclipse UserFriend
Hi Vadim,

Can you please file a bug for this in Bugzilla? The component is
Eclipse>Platform>User Assistance.

Boris

"Vadim Mironov" <vadik.mironov@gmail.com> wrote in message
news:8dfd782a852b8b8a6b4692d1085911d9$1@www.eclipse.org...
> Hi,
>
> my app uses messages in form heading quite heavily and I noticed that for
> every MessageManager.addMessage or MessageManager.removeManager calls we
> end up in Form.setMessage method where we update the heading (includes
> layout/redraw always) and then we re layout the whole form. I wonder
> whether this form re-layout is really necessary as it attributes to almost
> 2/3 of the time that we are spending in Form.setMessage?
> Thanks,
> Vadim
>
> Windows XP SP2, Java 1.6.0_12, Eclipse 3.5.0 M7
>
Re: Form.setMessage question [message #6181 is a reply to message #6095] Fri, 15 May 2009 15:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Boris Bokowski wrote:
> Hi Vadim,
>
> Can you please file a bug for this in Bugzilla? The component is
> Eclipse>Platform>User Assistance.

The problem described in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=215997 is also happening
when setting the form header messages (because of the layout of the
entire form), so if you enter a bug about it please post the link here
so we can follow the progress.

Eric



> "Vadim Mironov" <vadik.mironov@gmail.com> wrote in message
> news:8dfd782a852b8b8a6b4692d1085911d9$1@www.eclipse.org...
>> Hi,
>>
>> my app uses messages in form heading quite heavily and I noticed that for
>> every MessageManager.addMessage or MessageManager.removeManager calls we
>> end up in Form.setMessage method where we update the heading (includes
>> layout/redraw always) and then we re layout the whole form. I wonder
>> whether this form re-layout is really necessary as it attributes to almost
>> 2/3 of the time that we are spending in Form.setMessage?
>> Thanks,
>> Vadim
>>
>> Windows XP SP2, Java 1.6.0_12, Eclipse 3.5.0 M7
>>
>
>
Re: Form.setMessage question [message #7627 is a reply to message #6181] Mon, 18 May 2009 03:30 Go to previous messageGo to next message
Eclipse UserFriend
Eric, Boris, thank you very much for replies. Just created
https://bugs.eclipse.org/bugs/show_bug.cgi?id=276660 Eric, shall I link
this one to link that you've posted below or simple comment will do there?
Re: Form.setMessage question [message #7709 is a reply to message #7627] Mon, 18 May 2009 13:29 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Vadim Mironov wrote:
> Eric, Boris, thank you very much for replies. Just created
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=276660 Eric, shall I link
> this one to link that you've posted below or simple comment will do there?
>

I think a comment will suffice. The table layout problem is different
(so there is no blocks/depends-on relationship), but it is made more
obvious when calling setMessage() on the form containing a table.

Thanks,
Eric
Previous Topic:Re: CCombo updates in Eclipse 3.4.
Next Topic:Observe elements to update labels in TreeViewer
Goto Forum:
  


Current Time: Wed May 07 19:10:25 EDT 2025

Powered by FUDForum. Page generated in 0.03984 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top