Inside SWT

Thursday, May 21, 2009

You heard Ian!

Everyone that makes a donation of US$35 or more receives special ‘Friends’ benefits. So pay up and become "Friends with Benefits" with Eclipse!

Remember, "Friends get it sooner and faster."

Steve

5 Comments:

  • Hi,

    If you don't mind, I have a question.
    Please don't mind if you do not like any question like this posted here.
    I have a dialog that has some initial data to load and there is some other data that can be known once a job finishes running.
    This job can not be scheduled as it depends upon the current choice of the user. And based on that user will run certain things.
    So, am not sure how to refresh this open dialog, once the job is done?
    If you don't mind would you direct me to some useful references?

    Thank you and sorry for posting a irrelevant question. I will be glad if you delete in case it's inappropriate.

    Thank you.

    By Anonymous Anonymous, at 4:04 PM  

  • I'm not sure I can answer this question other than, "refresh the dialog" (i.e make the calls that either set the data or make the control ask you again)

    I know this is not helpful (sorry). Please ask again on the SWT news group.

    By Blogger Steve, at 4:52 PM  

  • Hi Steve,

    Thank you very much for the reply.
    I have thought of the same solution, like, calling a method on dialog to refresh the UI. But before that wanted to know whether there is any method that can redraw the UI by default. Hope it will solve the issue. :-). Sorry, to spam your blog :-).

    Thanks once again.

    By Anonymous Anonymous, at 1:55 AM  

  • There is no single method that can "redraw" the UI. You are mixing two concepts, "drawing" as in the low level paint/damage cycle used to draw the widgets and "drawing" as the operatings that cause the widgets to get refilled with data. Are you looking for operations on the JFace tree or table viewer?

    You will need to move to specifics (and to the SWT or Platform news group) in order to advance.

    Steve

    By Blogger Steve, at 6:38 AM  

  • Thanks Steve, I will do the same... :-).

    By Anonymous Anonymous, at 11:51 PM  

Post a Comment

<< Home