Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Redrawing wizard pages
Redrawing wizard pages [message #328693] Mon, 02 June 2008 10:28 Go to next message
Eclipse UserFriend
Originally posted by: breadlord.gmail.com

I'm currently writing a wizard that is backed by a domain object, in
order to populate the List that a page uses as it's selection mechanism
I'm overriding the getNextPage method of the previous page, and
supplying it with a call to a custom onPageOpen method, which populates
the List with the current data.

The problem I have is that the list is still showing empty on first
display if I max / minimize the page then the List shows the content as
in the domain object. The redraw methods don't seem to be working. I've
tried running them on all the composites I can think of with no outcome.

How can I force the createPartControl to either not fire until the page
is opened, or a redraw of the List / whole page from within my
onPageOpen method?

I'm running on ubuntu (gnome + gtk) in case this is a problem with the
underlying refresh mechanism.
Re: Redrawing wizard pages [message #328699 is a reply to message #328693] Mon, 02 June 2008 13:28 Go to previous message
Eclipse UserFriend
Originally posted by: breadlord.gmail.com

Tom Bradshaw wrote:
> I'm currently writing a wizard that is backed by a domain object, in
> order to populate the List that a page uses as it's selection mechanism
> I'm overriding the getNextPage method of the previous page, and
> supplying it with a call to a custom onPageOpen method, which populates
> the List with the current data.
>
> The problem I have is that the list is still showing empty on first
> display if I max / minimize the page then the List shows the content as
> in the domain object. The redraw methods don't seem to be working. I've
> tried running them on all the composites I can think of with no outcome.
>
> How can I force the createPartControl to either not fire until the page
> is opened, or a redraw of the List / whole page from within my
> onPageOpen method?
>
> I'm running on ubuntu (gnome + gtk) in case this is a problem with the
> underlying refresh mechanism.

Apologies. Idiot mistake. Wasn't calling container.layout();
Previous Topic:RC2 can't access update manager
Next Topic:Can I open several workspaces with one running Eclipse instance
Goto Forum:
  


Current Time: Thu Dec 26 20:27:55 GMT 2024

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

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

Back to the top