|
From: <de...@us...> - 2003-04-01 16:14:23
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/visu
In directory sc8-pr-cvs1:/tmp/cvs-serv26243/fudaa/src/org/fudaa/fudaa/lido/visu
Modified Files:
LidoVisuLignedeau.java LidoVisuProfilTravers.java
LidoVisuResultatEnLong.java
Log Message:
maj
Index: LidoVisuLignedeau.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/visu/LidoVisuLignedeau.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** LidoVisuLignedeau.java 18 Mar 2003 18:16:19 -0000 1.3
--- LidoVisuLignedeau.java 1 Apr 2003 16:13:44 -0000 1.4
***************
*** 59,63 ****
p_=_p;
isModeResultat_=res;
! System.out.println("ligne d'eau");
init();
}
--- 59,63 ----
p_=_p;
isModeResultat_=res;
! // System.out.println("ligne d'eau");
init();
}
***************
*** 82,85 ****
--- 82,86 ----
if( graphe_!=null ) graphe_.getGraphe().titre=t;
}
+
private void init()
***************
*** 198,202 ****
cp.add(BorderLayout.CENTER, graphe_);
cp.add(BorderLayout.SOUTH, pnCtrl_);
! pack();
}
--- 199,203 ----
cp.add(BorderLayout.CENTER, graphe_);
cp.add(BorderLayout.SOUTH, pnCtrl_);
! //pack();
}
***************
*** 243,247 ****
public void show()
{
- System.err.println("lidoVisuLignedeau.show()");
graphe_.commitData();
updateVisu();
--- 244,247 ----
***************
*** 447,454 ****
private void updateVisu()
{
cbFond_.setSelected(graphe_.isFondVisible());
- if(FudaaLib.DEBUG) System.out.println("maj rive gauche");
cbRivGa_.setSelected((graphe_.getRive()&GAUCHE)==GAUCHE);
- if(FudaaLib.DEBUG) System.out.println("maj rive droite");
cbRivDr_.setSelected((graphe_.getRive()&DROITE)==DROITE);
cbLidoI_.setSelected(graphe_.isLigneDeauIVisible());
--- 447,457 ----
private void updateVisu()
{
+ if(isBuildMode())
+ {
+ if(FudaaLib.DEBUG) System.out.println("mode construction");
+ return;
+ }
cbFond_.setSelected(graphe_.isFondVisible());
cbRivGa_.setSelected((graphe_.getRive()&GAUCHE)==GAUCHE);
cbRivDr_.setSelected((graphe_.getRive()&DROITE)==DROITE);
cbLidoI_.setSelected(graphe_.isLigneDeauIVisible());
Index: LidoVisuProfilTravers.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/visu/LidoVisuProfilTravers.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** LidoVisuProfilTravers.java 18 Mar 2003 18:16:19 -0000 1.3
--- LidoVisuProfilTravers.java 1 Apr 2003 16:13:44 -0000 1.4
***************
*** 258,262 ****
getContentPane().add(BorderLayout.CENTER, tab_);
! pack();
}
--- 258,262 ----
getContentPane().add(BorderLayout.CENTER, tab_);
! //pack();
}
***************
*** 356,359 ****
--- 356,360 ----
public void propertyChange(PropertyChangeEvent p)
{
+ if(isBuildMode()) return;
graphe_.fullRepaint();
}
Index: LidoVisuResultatEnLong.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/visu/LidoVisuResultatEnLong.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** LidoVisuResultatEnLong.java 18 Mar 2003 18:16:19 -0000 1.4
--- LidoVisuResultatEnLong.java 1 Apr 2003 16:13:45 -0000 1.5
***************
*** 203,207 ****
cp.add(BorderLayout.CENTER, graphe_);
cp.add(BorderLayout.SOUTH, pnCtrl_);
! pack();
}
--- 203,207 ----
cp.add(BorderLayout.CENTER, graphe_);
cp.add(BorderLayout.SOUTH, pnCtrl_);
! //pack();
}
***************
*** 243,246 ****
--- 243,247 ----
public void propertyChange(PropertyChangeEvent p)
{
+ if(isBuildMode()) return;
graphe_.fullRepaint();
updateVisu();
|