Forcing rendering [message #211624] |
Tue, 14 March 2006 11:03 |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
I'm aware that there is some new mechanism to support Animation.
Independent of this, I want to be able to execute the following code in
the model:
for(int i=0;i<10;i++) {
for(int z=0;z<10;z++) {
node.move(i,z);
firePropertyChange("newLocation",null,null)
}
}
such that when the edit part receives the property change it forces the
render of the new node location. This will have an animation like effect.
Currently the code executes and the node instantaneously moves from its
original location to (10,10).
James
|
|
|
Re: Forcing rendering [message #211653 is a reply to message #211624] |
Tue, 14 March 2006 16:58 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
See EditPartViewer#flush()
"James Willans" <james.willans@xactium.com> wrote in message
news:1250e41339601f6885607673954b6846$1@www.eclipse.org...
> I'm aware that there is some new mechanism to support Animation.
> Independent of this, I want to be able to execute the following code in
> the model:
>
> for(int i=0;i<10;i++) {
> for(int z=0;z<10;z++) {
> node.move(i,z);
> firePropertyChange("newLocation",null,null)
> }
> }
>
> such that when the edit part receives the property change it forces the
> render of the new node location. This will have an animation like effect.
> Currently the code executes and the node instantaneously moves from its
> original location to (10,10).
>
> James
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04344 seconds