GEF finished drawing ???? [message #165883] |
Thu, 27 January 2005 11:30 |
Eclipse User |
|
|
|
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)
Hi, is there any possibility to know when GEF finished drawing my model ???
scenario #1:
1) I am opening an editor with some input :
page.openEditor(input, editorId);
2) after this I am sure that my input is drawed on editor
scenarion #2:
1) I have opened editor already, I am changing its input:
page.getActiveEditor().setInput(input);
2) how to be sure that GEF finished drawing my input ?
When I am getting a "screenshot" of editor in first scenario - I have image
with everything of my model,
doing the same in second scenarion - there are no all of my elements on
image....
Please help me to know when the editor is drawed.
Sory for my english :)
--
========================
Wojciech Jancz
Programista
Zak
|
|
|
Re: GEF finished drawing ???? [message #165937 is a reply to message #165883] |
Thu, 27 January 2005 16:05 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Painting is done lazily. If you want to force it to happen, call
EditPartViewer.flush().
"WojT" <wjancz@\/\/asko.pl(change \/\/ with w)> wrote in message
news:ctajd3$vba$1@www.eclipse.org...
> Hi, is there any possibility to know when GEF finished drawing my model
> ???
> scenario #1:
> 1) I am opening an editor with some input :
> page.openEditor(input, editorId);
> 2) after this I am sure that my input is drawed on editor
>
> scenarion #2:
> 1) I have opened editor already, I am changing its input:
> page.getActiveEditor().setInput(input);
> 2) how to be sure that GEF finished drawing my input ?
>
> When I am getting a "screenshot" of editor in first scenario - I have
> image
> with everything of my model,
> doing the same in second scenarion - there are no all of my elements on
> image....
>
> Please help me to know when the editor is drawed.
>
> Sory for my english :)
>
> --
>
> ========================
> Wojciech Jancz
> Programista
>
> Zak
|
|
|
Re: GEF finished drawing ???? [message #166071 is a reply to message #165937] |
Fri, 28 January 2005 07:43 |
Eclipse User |
|
|
|
Originally posted by: wjancz.\/\/asko.pl(change \/\/ with w)
> Painting is done lazily. If you want to force it to happen, call
> EditPartViewer.flush().
Geeezzz.. that was very simple...
I spent three days looking for solution.. :)
Thank You very much.
...::WojT::..
|
|
|
Re: GEF finished drawing ???? [message #166102 is a reply to message #166071] |
Fri, 28 January 2005 16:30 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
If you invoke call hierarchy on IFigure.paint(), you can trace back to this
method in just 3 steps: repairDamage, performUpdate, EditPartViewer#flush.
"WojT" <wjancz@\/\/asko.pl(change \/\/ with w)> wrote in message
news:ctcqev$eq6$1@www.eclipse.org...
>> Painting is done lazily. If you want to force it to happen, call
>> EditPartViewer.flush().
>
> Geeezzz.. that was very simple...
> I spent three days looking for solution.. :)
> Thank You very much.
>
> ..::WojT::..
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03734 seconds