Update of /cvsroot/fudaa//fudaa_devel/dodico/src/org/fudaa/dodico/hydraulique1d
In directory sc8-pr-cvs1:/tmp/cvs-serv23217/dodico/src/org/fudaa/dodico/hydraulique1d
Modified Files:
DExtremite.java
Log Message:
Correction édition de l'éditeur du noyau transcritique
Index: DExtremite.java
===================================================================
RCS file: /cvsroot/fudaa//fudaa_devel/dodico/src/org/fudaa/dodico/hydraulique1d/DExtremite.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** DExtremite.java 2 Dec 2003 19:54:40 -0000 1.4
--- DExtremite.java 9 Jan 2004 16:10:58 -0000 1.5
***************
*** 140,144 ****
public void point1(SPoint2D s) {
if (point1_==s) return;
! if ((point1_.x==s.x)&&(point1_.y==s.y)) return;
point1_= s;
CDodico.findUsine().fireObjetModifie(toString(), tie(), "point1");
--- 140,147 ----
public void point1(SPoint2D s) {
if (point1_==s) return;
! if ((point1_ != null)&&(s != null)) {
! if ( (point1_.x == s.x) && (point1_.y == s.y))
! return;
! }
point1_= s;
CDodico.findUsine().fireObjetModifie(toString(), tie(), "point1");
***************
*** 150,154 ****
public void point2(SPoint2D s) {
if (point2_==s) return;
! if ((point2_.x==s.x)&&(point2_.y==s.y)) return;
point2_= s;
CDodico.findUsine().fireObjetModifie(toString(), tie(), "point2");
--- 153,160 ----
public void point2(SPoint2D s) {
if (point2_==s) return;
! if ((point2_ != null)&&(s != null)) {
! if ( (point2_.x == s.x) && (point2_.y == s.y))
! return;
! }
point2_= s;
CDodico.findUsine().fireObjetModifie(toString(), tie(), "point2");
***************
*** 160,164 ****
public void pointMilieu(SPoint2D s) {
if (pointMilieu_==s) return;
! if ((pointMilieu_.x==s.x)&&(pointMilieu_.y==s.y)) return;
pointMilieu_= s;
CDodico.findUsine().fireObjetModifie(toString(), tie(), "pointMilieu");
--- 166,173 ----
public void pointMilieu(SPoint2D s) {
if (pointMilieu_==s) return;
! if ((pointMilieu_ != null)&&(s != null)) {
! if ( (pointMilieu_.x == s.x) && (pointMilieu_.y == s.y))
! return;
! }
pointMilieu_= s;
CDodico.findUsine().fireObjetModifie(toString(), tie(), "pointMilieu");
|