if(nbAnimation == 0) {
nbAnimation++;
new LinearAnimator(this,new Point(x0,y1),new Point(x0,y1),1,3000).start();
return;
}
if(nbAnimation == 1) {
nbAnimation++;
new LinearAnimator(this,new Point(x0,y1),new Point(x1,y1),50,30).start();
return;
}
if(nbAnimation == 2) {
shell.getDisplay().asyncExec(new AERunnable() {
public void runSupport() {
shell.dispose();
}
});
}