Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Forcing rendering
Forcing rendering [message #211624] Tue, 14 March 2006 11:03 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: Forcing rendering [message #212314 is a reply to message #211653] Tue, 21 March 2006 11:13 Go to previous message
Eclipse UserFriend
Originally posted by: james.willans.xactium.com

Thanks Randy.
Previous Topic:Property Validation and the Shapes Diagram
Next Topic:Serial Version InvalidClassException
Goto Forum:
  


Current Time: Sun Nov 27 20:25:48 GMT 2022

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

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

Back to the top