Fix datatipRemove(datatipHandler). It was failing in the jenkins instance 85/13085/1
authorSylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>
Wed, 6 Nov 2013 08:47:49 +0000 (09:47 +0100)
committerSylvestre Ledru <sylvestre.ledru@scilab-enterprises.com>
Wed, 6 Nov 2013 08:47:49 +0000 (09:47 +0100)
commit864f5458600c6408794535f4a9d6365536618885
treec416423325b6fbdba24fe3052832eee048e8132e
parentf353bdbb7afe3eee8e889724cdcf3aa59175c70e
Fix datatipRemove(datatipHandler). It was failing in the jenkins instance
with the code:

            x=linspace(0,1,100)';
            y=x.^3;
            clf()
            plot(x,y);
            e=gce();p=e.children(1);//get the handle on the polyline
            t1=datatipCreate(p,80);
            datatipCreate(p,40);
            datatipRemove(p,1)
            datatipRemove(t1)

Change-Id: If0c92136d61b419bae4f98a1e1ad8879f8aef501
scilab/modules/gui/src/java/org/scilab/modules/gui/datatip/DatatipDelete.java