You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(89) |
Mar
(219) |
Apr
(82) |
May
(33) |
Jun
(11) |
Jul
(129) |
Aug
(357) |
Sep
(34) |
Oct
(37) |
Nov
(42) |
Dec
(182) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(74) |
Mar
(196) |
Apr
(205) |
May
(109) |
Jun
(268) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <de...@us...> - 2003-03-18 16:58:23
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/visu
In directory sc8-pr-cvs1:/tmp/cvs-serv32205/fudaa/src/org/fudaa/fudaa/lido/visu
Modified Files:
LidoVisuResultatEnLong.java
Log Message:
suppression variable inutile
suppression new String
Index: LidoVisuResultatEnLong.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/visu/LidoVisuResultatEnLong.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LidoVisuResultatEnLong.java 30 Jan 2003 12:54:33 -0000 1.1
--- LidoVisuResultatEnLong.java 18 Mar 2003 16:57:47 -0000 1.2
***************
*** 337,341 ****
implements ActionListener
{
! private Object item_;
private JComboBox cmContr;
private BuTextField tfContr;
--- 337,341 ----
implements ActionListener
{
! // private Object item_;
private JComboBox cmContr;
private BuTextField tfContr;
|
|
From: <de...@us...> - 2003-03-18 16:58:22
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lidometier
In directory sc8-pr-cvs1:/tmp/cvs-serv32205/fudaa/src/org/fudaa/fudaa/lidometier
Modified Files:
LidoImplementation.java
Log Message:
suppression variable inutile
suppression new String
Index: LidoImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lidometier/LidoImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LidoImplementation.java 30 Jan 2003 12:54:31 -0000 1.1
--- LidoImplementation.java 18 Mar 2003 16:57:46 -0000 1.2
***************
*** 73,77 ****
// private String args [] = new String [2];
private FudaaProjet projet_;
- private int recent_count=0;
private BuPreferencesFrame preferences_;
private FudaaProjetInformationsFrame fProprietes_;
--- 73,76 ----
***************
*** 81,85 ****
private DjaGridInteractive grilleReseau_;
// HACK IMMONDE POUR PASSER UN MAILLE PERMANENT
- private boolean isMaillePerm_=false;
private static final boolean enrResults_=
( (System.getProperty("project.loadresults")==null)||(System.getProperty("project.loadresults").equals("yes")) );
--- 80,83 ----
***************
*** 215,219 ****
//assistant_.setBorder(null);
BuMainPanel mp=getApp().getMainPanel();
- BuColumn lc=mp.getLeftColumn();
BuColumn rc=mp.getRightColumn();
--- 213,216 ----
***************
*** 282,286 ****
public void actionPerformed(ActionEvent _evt) {
try {
- JComponent source=(JComponent)_evt.getSource();
String action=_evt.getActionCommand();
String arg="";
--- 279,282 ----
***************
*** 585,595 ****
}
- private void aideIndex()
- {
- BuInformationsSoftware infSoft=getInformationsSoftware();
- String tm="Allez donc faire un tour ici:\n"+infSoft.http;
- BuDialogMessage dialogMesg=new BuDialogMessage(this,infSoft,tm);
- dialogMesg.activate();
- }
private void calculer()
--- 581,584 ----
***************
*** 1400,1405 ****
}
! private void appliqueAutoContraintes()
! {
//* SParametresCAL cal=(SParametresCAL)projet_.getParam(LidoResource.CAL);
//* SParametresPRO pro=(SParametresPRO)projet_.getParam(LidoResource.PRO);
--- 1389,1394 ----
}
! // private void appliqueAutoContraintes()
! // {
//* SParametresCAL cal=(SParametresCAL)projet_.getParam(LidoResource.CAL);
//* SParametresPRO pro=(SParametresPRO)projet_.getParam(LidoResource.PRO);
***************
*** 1445,1452 ****
//* }
//* }
! }
! private boolean verifieContraintesCalcul()
! {
//* // serveur LIDO
//* if( !connecte() ) {
--- 1434,1441 ----
//* }
//* }
! // }
! // private boolean verifieContraintesCalcul()
! // {
//* // serveur LIDO
//* if( !connecte() ) {
***************
*** 1637,1642 ****
//* }
//* }
! return true;
! }
private void lido2projet()
--- 1626,1631 ----
//* }
//* }
! // return true;
! // }
private void lido2projet()
|
|
From: <de...@us...> - 2003-03-18 16:58:22
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d2
In directory sc8-pr-cvs1:/tmp/cvs-serv32205/fudaa/src/org/fudaa/fudaa/reflux/d2
Modified Files:
HY2dInterfaceCalcul.java HY2dProjet.java
Log Message:
suppression variable inutile
suppression new String
Index: HY2dInterfaceCalcul.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d2/HY2dInterfaceCalcul.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HY2dInterfaceCalcul.java 30 Jan 2003 13:10:32 -0000 1.1
--- HY2dInterfaceCalcul.java 18 Mar 2003 16:57:13 -0000 1.2
***************
*** 445,449 ****
{
GrElement[] elements=mail.elements();
! GrNoeud[] noeuds =mail.noeuds();
GrElement[][] bords =mail.aretesContours();
--- 445,449 ----
{
GrElement[] elements=mail.elements();
! //GrNoeud[] noeuds =mail.noeuds();
GrElement[][] bords =mail.aretesContours();
***************
*** 465,470 ****
GrNoeud[] nds;
PRNature nature;
! IEvolutionConstante
! courbe;
Hashtable bordToNature; // IArete->PRNature
Hashtable bordToPA; // IArete->PRPropriete
--- 465,470 ----
GrNoeud[] nds;
PRNature nature;
! // IEvolutionConstante
! // courbe;
Hashtable bordToNature; // IArete->PRNature
Hashtable bordToPA; // IArete->PRPropriete
***************
*** 714,718 ****
{
GrNoeud[] noeuds = mail.noeuds();
! double[] coordonnees = new double[3];
paramINP.coordonnees = new SParametresRefluxCoordonnees[noeuds.length];
--- 714,718 ----
{
GrNoeud[] noeuds = mail.noeuds();
! //double[] coordonnees = new double[3];
paramINP.coordonnees = new SParametresRefluxCoordonnees[noeuds.length];
***************
*** 1075,1079 ****
GrNoeud[] nds=mail.noeuds();
! GrElement[] els=mail.elements();
boolean[] nTrs;
--- 1075,1079 ----
GrNoeud[] nds=mail.noeuds();
! //GrElement[] els=mail.elements();
boolean[] nTrs;
***************
*** 1134,1138 ****
Object[] supports;
! GrNoeud noeud;
Vector dDLTransitoire=new Vector();
int nbPTs;
--- 1134,1138 ----
Object[] supports;
! //GrNoeud noeud;
Vector dDLTransitoire=new Vector();
int nbPTs;
Index: HY2dProjet.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d2/HY2dProjet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HY2dProjet.java 30 Jan 2003 13:10:32 -0000 1.1
--- HY2dProjet.java 18 Mar 2003 16:57:14 -0000 1.2
***************
*** 157,163 ****
Hashtable nd2Bord;
- boolean bcrb=false;
- int nbNoeuds =0;
- int nbElements =0;
int nbNoeudArete=0; // Nombre de noeuds par arète (ce nombre est constant pour tous les elements,
// les versions avant 5.0 ne supportant pas des elements différents)
--- 157,160 ----
***************
*** 656,660 ****
PRSchemaResolution schema = null;
// Type des schémas
! int typeSchema = 0;
// Méthode de résolution
PRMethodeResolution methode = null;
--- 653,657 ----
PRSchemaResolution schema = null;
// Type des schémas
! // int typeSchema = 0;
// Méthode de résolution
PRMethodeResolution methode = null;
***************
*** 1224,1228 ****
int nbNoeuds =maillage().noeuds().length;
// Nombre de coefficients par méthode par type de probleme
! final int nbCoefMethode[][]={{0,4,4,4,4},{4}};
// Nombre de noeuds sur les contours
--- 1221,1225 ----
int nbNoeuds =maillage().noeuds().length;
// Nombre de coefficients par méthode par type de probleme
! // final int nbCoefMethode[][]={{0,4,4,4,4},{4}};
// Nombre de noeuds sur les contours
|
|
From: <de...@us...> - 2003-03-18 16:58:19
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d2transport
In directory sc8-pr-cvs1:/tmp/cvs-serv32205/fudaa/src/org/fudaa/fudaa/reflux/d2transport
Modified Files:
TT2dProjet.java TT2dInterfaceCalcul.java
Log Message:
suppression variable inutile
suppression new String
Index: TT2dProjet.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d2transport/TT2dProjet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TT2dProjet.java 30 Jan 2003 13:10:34 -0000 1.1
--- TT2dProjet.java 18 Mar 2003 16:57:11 -0000 1.2
***************
*** 300,307 ****
Reader rf=null;
FortranReader file=null;
- int fmt[];
int ival;
- double dval;
- String sval;
String nmFcPre=_racine+".pre";
--- 300,304 ----
***************
*** 470,474 ****
int iGrp;
GrElement elBd;
! PRNature nat;
file.readFields();
--- 467,471 ----
int iGrp;
GrElement elBd;
! // PRNature nat;
file.readFields();
***************
*** 539,543 ****
int iEl;
int iGrp;
- PRNature nat;
file.readFields();
--- 536,539 ----
***************
*** 1000,1004 ****
//------------------------------------------------------------------------
! GrPoint[] ptsSI=modeleCalcul().pointsSI();
PRSolutionsInitiales[] sis=modeleCalcul().solutionsInitiales();
--- 996,1000 ----
//------------------------------------------------------------------------
! // GrPoint[] ptsSI=modeleCalcul().pointsSI();
PRSolutionsInitiales[] sis=modeleCalcul().solutionsInitiales();
Index: TT2dInterfaceCalcul.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d2transport/TT2dInterfaceCalcul.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TT2dInterfaceCalcul.java 30 Jan 2003 13:10:34 -0000 1.1
--- TT2dInterfaceCalcul.java 18 Mar 2003 16:57:12 -0000 1.2
***************
*** 413,417 ****
PRNature nature;
! IEvolutionConstante courbe;
Hashtable hbd2Nat; // bord->Nature
Hashtable hbd2PA; // bord->Propriete d'arete
--- 413,417 ----
PRNature nature;
! //IEvolutionConstante courbe;
Hashtable hbd2Nat; // bord->Nature
Hashtable hbd2PA; // bord->Propriete d'arete
***************
*** 729,733 ****
{
! double[] coordonnees=new double[3];
_params.coordonnees=new SParametresRefluxCoordonnees[nds.length];
--- 729,733 ----
{
! //double[] coordonnees=new double[3];
_params.coordonnees=new SParametresRefluxCoordonnees[nds.length];
***************
*** 1119,1123 ****
GrNoeud[] nds=mail.noeuds();
! GrElement[] els=mail.elements();
double[] vals=new double[nds.length*2];
--- 1119,1123 ----
GrNoeud[] nds=mail.noeuds();
!
double[] vals=new double[nds.length*2];
***************
*** 1150,1154 ****
Object[] supports;
- GrNoeud noeud;
Vector dDLTransitoire=new Vector();
int nbPTs;
--- 1150,1153 ----
***************
*** 1377,1381 ****
GrNoeud[] nds=mail.noeuds();
- GrElement[] els=mail.elements();
GrPoint[] pts=new GrPoint[nds.length];
for (int i=0; i<pts.length; i++) pts[i]=nds[i].point;
--- 1376,1379 ----
***************
*** 1388,1392 ****
// Table associant un noeud à un élément pour les propriétés élémentaires
// données aux noeuds dans le fichier .phy
! Hashtable hnd2El=new Hashtable(nds.length);
int nbValPHY=7;
--- 1386,1390 ----
// Table associant un noeud à un élément pour les propriétés élémentaires
// données aux noeuds dans le fichier .phy
! //Hashtable hnd2El=new Hashtable(nds.length);
int nbValPHY=7;
|
|
From: <de...@us...> - 2003-03-18 16:58:19
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido
In directory sc8-pr-cvs1:/tmp/cvs-serv32205/fudaa/src/org/fudaa/fudaa/lido
Modified Files:
LidoFilleReseau.java LidoImplementation.java Lido.java
Log Message:
suppression variable inutile
suppression new String
Index: LidoFilleReseau.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/LidoFilleReseau.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LidoFilleReseau.java 30 Jan 2003 12:53:10 -0000 1.1
--- LidoFilleReseau.java 18 Mar 2003 16:57:39 -0000 1.2
***************
*** 287,291 ****
dlProfils.setActionPanel(EbliPreferences.DIALOG.SUPPRIMER);
dlProfils.addActionListener(this);
! int reponse=dlProfils.activate();
proTable_=null;
}
--- 287,291 ----
dlProfils.setActionPanel(EbliPreferences.DIALOG.SUPPRIMER);
dlProfils.addActionListener(this);
! dlProfils.activate();
proTable_=null;
}
***************
*** 418,422 ****
if( edit==null ) return;
edit.addPropertyChangeListener(this);
! ((java.awt.Component)edit).show();
}
}
--- 418,423 ----
if( edit==null ) return;
edit.addPropertyChangeListener(this);
! //((java.awt.Component)edit).show();
! ((java.awt.Component)edit).setVisible(true);
}
}
***************
*** 861,866 ****
throw new LidoReseauException("l'extremite libre "+libre.intValue()+" n'a pas de CL");
// on ajoute la CL au calque des etiquettes de CL
! double dirX=(noeud.extr[0].arete.e1.position.x-noeud.extr[0].arete.e2.position.x)/TAILLE_BIEFS;
! double dirY=(noeud.extr[0].arete.e1.position.y-noeud.extr[0].arete.e2.position.y)/TAILLE_BIEFS;
GrSegment s=new GrSegment();
s.o=noeud.extr[0].arete.e1.position;
--- 862,868 ----
throw new LidoReseauException("l'extremite libre "+libre.intValue()+" n'a pas de CL");
// on ajoute la CL au calque des etiquettes de CL
! //variables inutiles
! //double dirX=(noeud.extr[0].arete.e1.position.x-noeud.extr[0].arete.e2.position.x)/TAILLE_BIEFS;
! //double dirY=(noeud.extr[0].arete.e1.position.y-noeud.extr[0].arete.e2.position.y)/TAILLE_BIEFS;
GrSegment s=new GrSegment();
s.o=noeud.extr[0].arete.e1.position;
Index: LidoImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/LidoImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LidoImplementation.java 30 Jan 2003 12:52:57 -0000 1.1
--- LidoImplementation.java 18 Mar 2003 16:57:40 -0000 1.2
***************
*** 70,74 ****
// private String args [] = new String [2];
private FudaaProjet projet_;
! private int recent_count=0;
private BuPreferencesFrame preferences_;
private FudaaProjetInformationsFrame fProprietes_;
--- 70,74 ----
// private String args [] = new String [2];
private FudaaProjet projet_;
!
private BuPreferencesFrame preferences_;
private FudaaProjetInformationsFrame fProprietes_;
***************
*** 106,114 ****
isApp_.man =FudaaAidePreferencesPanel.getHelpUrl(LidoPreferences.LIDO);
isApp_.logo = LidoResource.LIDO.getIcon("lidologo");
! Calendar cal=Calendar.getInstance();
! // if( (cal.get(Calendar.YEAR)==2000)&&(cal.get(Calendar.MONTH)==Calendar.JANUARY) )
! // isApp_.banner = LidoResource.LIDO.getIcon("2000banner");
! // else
! isApp_.banner = LidoResource.LIDO.getIcon("lidobanner");
isApp_.authors = new String[] { "Axel von Arnim","Mickael Rubens" };
--- 106,110 ----
isApp_.man =FudaaAidePreferencesPanel.getHelpUrl(LidoPreferences.LIDO);
isApp_.logo = LidoResource.LIDO.getIcon("lidologo");
! isApp_.banner = LidoResource.LIDO.getIcon("lidobanner");
isApp_.authors = new String[] { "Axel von Arnim","Mickael Rubens" };
***************
*** 219,223 ****
//assistant_.setBorder(null);
BuMainPanel mp=getApp().getMainPanel();
- BuColumn lc=mp.getLeftColumn();
BuColumn rc=mp.getRightColumn();
--- 215,218 ----
***************
*** 258,262 ****
pict.setOpaque(false);
setPreferredSize(pict.getPreferredSize());
! Component gp=new BuMultiLabel(
"Bienvenue dans Lido !");
gp.setLocation(new Point((getPreferredSize().width-gp.getPreferredSize().width)/2, getPreferredSize().height-gp.getPreferredSize().height));
--- 253,257 ----
pict.setOpaque(false);
setPreferredSize(pict.getPreferredSize());
! Component gp=new BuLabelMultiLine(
"Bienvenue dans Lido !");
gp.setLocation(new Point((getPreferredSize().width-gp.getPreferredSize().width)/2, getPreferredSize().height-gp.getPreferredSize().height));
***************
*** 337,341 ****
public void actionPerformed(ActionEvent _evt) {
try {
- JComponent source=(JComponent)_evt.getSource();
String action=_evt.getActionCommand();
String arg="";
--- 332,335 ----
***************
*** 1234,1238 ****
setEnabledForAction("EXPORTLIG" , false);
setEnabledForAction("EXPORTENV", false);
- BuMainPanel mp=getMainPanel();
System.err.println("Transmission des parametres...");
iparams_.parametresRZO((SParametresRZO)projet_.getParam(LidoResource.RZO));
--- 1228,1231 ----
***************
*** 1285,1289 ****
protected void receptionResultats()
{
- BuMainPanel mp=getMainPanel();
System.err.println("Réception des resultats...");
if( iresults_==null ) {
--- 1278,1281 ----
***************
*** 1388,1392 ****
BuPanel pn=new BuPanel();
pn.setLayout(new BuVerticalLayout(5, true, false));
! pn.add(new BuMultiLabel(
"Vous allez passer en régime non permanent.\n"+
"Votre projet va etre sauvegardé dans le fichier:\n"
--- 1380,1384 ----
BuPanel pn=new BuPanel();
pn.setLayout(new BuVerticalLayout(5, true, false));
! pn.add(new BuLabelMultiLine(
"Vous allez passer en régime non permanent.\n"+
"Votre projet va etre sauvegardé dans le fichier:\n"
***************
*** 1397,1401 ****
pn.add(new BuLabel("Voulez-vous continuer?"), 2);
BuDialogConfirmation dm=new BuDialogConfirmation(getApp(), getInformationsSoftware(), pn);
! dm.resize(pn.getPreferredSize());
if( dm.activate()!=JOptionPane.YES_OPTION ) return;
--- 1389,1393 ----
pn.add(new BuLabel("Voulez-vous continuer?"), 2);
BuDialogConfirmation dm=new BuDialogConfirmation(getApp(), getInformationsSoftware(), pn);
! dm.setSize(pn.getPreferredSize());
if( dm.activate()!=JOptionPane.YES_OPTION ) return;
Index: Lido.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/Lido.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Lido.java 30 Jan 2003 12:53:03 -0000 1.1
--- Lido.java 18 Mar 2003 16:57:41 -0000 1.2
***************
*** 30,34 ****
public static void main(String args[]) {
! String login=null;
// Lecture des flags
FudaaCommandLineParser flags=new FudaaCommandLineParser();
--- 30,34 ----
public static void main(String args[]) {
! // String login=null;
// Lecture des flags
FudaaCommandLineParser flags=new FudaaCommandLineParser();
|
|
From: <de...@us...> - 2003-03-18 16:58:18
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/ihmhelper/gestion
In directory sc8-pr-cvs1:/tmp/cvs-serv32205/fudaa/src/org/fudaa/fudaa/lido/ihmhelper/gestion
Modified Files:
LidoPH_Singularite.java LidoPH_Loiclm.java LidoPH_Bief.java
Log Message:
suppression variable inutile
suppression new String
Index: LidoPH_Singularite.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/ihmhelper/gestion/LidoPH_Singularite.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LidoPH_Singularite.java 30 Jan 2003 12:52:37 -0000 1.1
--- LidoPH_Singularite.java 18 Mar 2003 16:57:03 -0000 1.2
***************
*** 152,156 ****
if( sel==null ) return null;
SParametresBiefSingLigneRZO[] sings=rzo_.blocSings.ligneSing;
- int n=0;
int j=0;
for(int i=0; i<sings.length; i++) {
--- 152,155 ----
Index: LidoPH_Loiclm.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/ihmhelper/gestion/LidoPH_Loiclm.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LidoPH_Loiclm.java 30 Jan 2003 12:52:42 -0000 1.1
--- LidoPH_Loiclm.java 18 Mar 2003 16:57:03 -0000 1.2
***************
*** 213,218 ****
SParametresCondLimPointLigneCLM[] points=cl.point;
! Vector newPoints=new Vector();
! int n=0;
boolean trouve=false;
for(int i=0; i<points.length; i++) {
--- 213,217 ----
SParametresCondLimPointLigneCLM[] points=cl.point;
! Vector newPoints=new Vector(points.length);
boolean trouve=false;
for(int i=0; i<points.length; i++) {
Index: LidoPH_Bief.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/lido/ihmhelper/gestion/LidoPH_Bief.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LidoPH_Bief.java 30 Jan 2003 12:52:36 -0000 1.1
--- LidoPH_Bief.java 18 Mar 2003 16:57:05 -0000 1.2
***************
*** 73,77 ****
double lastoffset=offset;
double max=profils[0].abscisse;
- int lastindex;
for(int i=1; i<profils.length; i++) {
if( profils[i].abscisse>max ) max=profils[i].abscisse;
--- 73,76 ----
|
|
From: <de...@us...> - 2003-03-18 16:58:10
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d3
In directory sc8-pr-cvs1:/tmp/cvs-serv32205/fudaa/src/org/fudaa/fudaa/reflux/d3
Modified Files:
HY3dInterfaceCalcul.java HY3dProjet.java
Log Message:
suppression variable inutile
suppression new String
Index: HY3dInterfaceCalcul.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d3/HY3dInterfaceCalcul.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HY3dInterfaceCalcul.java 30 Jan 2003 13:10:33 -0000 1.1
--- HY3dInterfaceCalcul.java 18 Mar 2003 16:57:26 -0000 1.2
***************
*** 428,432 ****
Vector supports;
int iNd;
- double val;
// On passe les sollicitations qui ne sont pas de type debit
--- 428,431 ----
***************
*** 635,639 ****
for (int i=0; i<prpsEls.length; i++) {
- int ind;
Vector supports;
double val;
--- 634,637 ----
***************
*** 819,823 ****
GrElement[] els=mail.elements();
! PRPropriete[] prpsEls=mdlPrp.proprietesElements();
PRGroupePT[] gpsPT=mdlCal.groupesPT();
PRBoucleTemps temps=gpsPT[0].temps();
--- 817,821 ----
GrElement[] els=mail.elements();
! //PRPropriete[] prpsEls=mdlPrp.proprietesElements();
PRGroupePT[] gpsPT=mdlCal.groupesPT();
PRBoucleTemps temps=gpsPT[0].temps();
Index: HY3dProjet.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/reflux/d3/HY3dProjet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HY3dProjet.java 30 Jan 2003 13:10:33 -0000 1.1
--- HY3dProjet.java 18 Mar 2003 16:57:27 -0000 1.2
***************
*** 232,239 ****
Reader rf=null;
FortranReader file=null;
- int fmt[];
int ival;
- double dval;
- String sval;
String nmFcPre=_racine+".pre";
--- 232,236 ----
***************
*** 394,398 ****
int iGrp;
GrElement elBd;
- PRNature nat;
file.readFields();
--- 391,394 ----
***************
*** 463,467 ****
int iEl;
int iGrp;
- PRNature nat;
file.readFields();
--- 459,462 ----
***************
*** 1247,1251 ****
for (int i=0; i<prpsEls.length; i++) {
- int ind;
Vector supports;
int ival;
--- 1242,1245 ----
|
|
From: <de...@us...> - 2003-03-18 16:53:34
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/editor
In directory sc8-pr-cvs1:/tmp/cvs-serv30973/fudaa/src/org/fudaa/fudaa/hydraulique1d/editor
Modified Files:
Hydraulique1dSectionsEditor.java
Hydraulique1dVarTempEditor.java
Hydraulique1dExtremLibreEditor.java
Hydraulique1dLoiHydrauliqueEditor.java
Hydraulique1dGraphesResultatsEditor.java
Log Message:
suppression variable inutile
suppression new String
Index: Hydraulique1dSectionsEditor.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/editor/Hydraulique1dSectionsEditor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Hydraulique1dSectionsEditor.java 30 Jan 2003 12:51:04 -0000 1.1
--- Hydraulique1dSectionsEditor.java 18 Mar 2003 16:53:28 -0000 1.2
***************
*** 61,67 ****
}
pnBas_.add(rbs_[0], n++);
! pnBas_.add(new BuMultiLabel("les abscisses des profils sont prises\ncomme abscisses de sections de calcul"), n++);
pnBas_.add(rbs_[1], n++);
! pnBas_.add(new BuMultiLabel("les abscisses des sections de calcul\nsont définies en séries"), n++);
// ON VIRE LES CAS 3 ET 4 CAR ILS NE SONT JAMAIS UTILISES DANS LIDO ET EN PLUS ILS DECONNENT
// pnBas_.add(rbs_[2], n++);
--- 61,67 ----
}
pnBas_.add(rbs_[0], n++);
! pnBas_.add(new BuLabelMultiLine("les abscisses des profils sont prises\ncomme abscisses de sections de calcul"), n++);
pnBas_.add(rbs_[1], n++);
! pnBas_.add(new BuLabelMultiLine("les abscisses des sections de calcul\nsont définies en séries"), n++);
// ON VIRE LES CAS 3 ET 4 CAR ILS NE SONT JAMAIS UTILISES DANS LIDO ET EN PLUS ILS DECONNENT
// pnBas_.add(rbs_[2], n++);
Index: Hydraulique1dVarTempEditor.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/editor/Hydraulique1dVarTempEditor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Hydraulique1dVarTempEditor.java 30 Jan 2003 12:51:09 -0000 1.1
--- Hydraulique1dVarTempEditor.java 18 Mar 2003 16:53:29 -0000 1.2
***************
*** 55,59 ****
int n=0;
! BuMultiLabel lbMilieu=new BuMultiLabel("Détermination des variables temporelles\npour un régime non permanent");
lbMilieu.setFont(lbMilieu.getFont().deriveFont(lbMilieu.getFont().getSize()+2));
lbMilieu.setForeground(Color.black);
--- 55,59 ----
int n=0;
! BuLabelMultiLine lbMilieu=new BuLabelMultiLine("Détermination des variables temporelles\npour un régime non permanent");
lbMilieu.setFont(lbMilieu.getFont().deriveFont(lbMilieu.getFont().getSize()+2));
lbMilieu.setForeground(Color.black);
Index: Hydraulique1dExtremLibreEditor.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/editor/Hydraulique1dExtremLibreEditor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Hydraulique1dExtremLibreEditor.java 30 Jan 2003 12:51:04 -0000 1.1
--- Hydraulique1dExtremLibreEditor.java 18 Mar 2003 16:53:29 -0000 1.2
***************
*** 53,57 ****
private ILimite limite_;
private IDonneesHydrauliques donneesHydro_;
! private LoiHydrauliqueDelegue[] loisDelegues_;
public Hydraulique1dExtremLibreEditor()
--- 53,57 ----
private ILimite limite_;
private IDonneesHydrauliques donneesHydro_;
! // private LoiHydrauliqueDelegue[] loisDelegues_; inutilise
public Hydraulique1dExtremLibreEditor()
Index: Hydraulique1dLoiHydrauliqueEditor.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/editor/Hydraulique1dLoiHydrauliqueEditor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Hydraulique1dLoiHydrauliqueEditor.java 30 Jan 2003 12:51:28 -0000 1.1
--- Hydraulique1dLoiHydrauliqueEditor.java 18 Mar 2003 16:53:29 -0000 1.2
***************
*** 98,102 ****
pnDebitTable.setBorder(new LineBorder(Color.black));
pnDebitTable.setLayout(new BuVerticalLayout(0, false, false));
! lbTab_=new BuMultiLabel(TAB_LABEL);
pnDebitTable.add(lbTab_, 0);
tbDebit_=new DebitTable();
--- 98,102 ----
pnDebitTable.setBorder(new LineBorder(Color.black));
pnDebitTable.setLayout(new BuVerticalLayout(0, false, false));
! lbTab_=new BuLabelMultiLine(TAB_LABEL);
pnDebitTable.add(lbTab_, 0);
tbDebit_=new DebitTable();
Index: Hydraulique1dGraphesResultatsEditor.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/editor/Hydraulique1dGraphesResultatsEditor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Hydraulique1dGraphesResultatsEditor.java 30 Jan 2003 12:51:11 -0000 1.1
--- Hydraulique1dGraphesResultatsEditor.java 18 Mar 2003 16:53:29 -0000 1.2
***************
*** 244,248 ****
String[] sections = new String[resBief.abscissesSections().length];
for (int i=0 ; i<sections.length ; i++) {
! sections[i] = new String(""+resBief.abscissesSections()[i]);
}
lstPasTpsSection_.setListData(sections);
--- 244,248 ----
String[] sections = new String[resBief.abscissesSections().length];
for (int i=0 ; i<sections.length ; i++) {
! sections[i] = ""+resBief.abscissesSections()[i];
}
lstPasTpsSection_.setListData(sections);
***************
*** 256,260 ****
String[] pasTemps = new String[pasTps.length];
for (int i=0 ; i<pasTps.length ; i++) {
! pasTemps[i] = new String(""+pasTps[i]);
}
lstPasTpsSection_.setListData(pasTemps);
--- 256,260 ----
String[] pasTemps = new String[pasTps.length];
for (int i=0 ; i<pasTps.length ; i++) {
! pasTemps[i] = ""+pasTps[i];
}
lstPasTpsSection_.setListData(pasTemps);
***************
*** 413,417 ****
for (int j = 0; j < indicesVar.length; j++) {
for (int k = 0; k < indicesPasTps.length; k++) {
! int iVar = indicesVar[j];
int iPasTps = indicesPasTps[k];
res[indiceCourbe][i] = vals[indicesVar[j]][indicesPasTps[k]][i];
--- 413,417 ----
for (int j = 0; j < indicesVar.length; j++) {
for (int k = 0; k < indicesPasTps.length; k++) {
! //int iVar = indicesVar[j]; inutile
int iPasTps = indicesPasTps[k];
res[indiceCourbe][i] = vals[indicesVar[j]][indicesPasTps[k]][i];
|
|
From: <de...@us...> - 2003-03-18 16:53:33
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d
In directory sc8-pr-cvs1:/tmp/cvs-serv30973/fudaa/src/org/fudaa/fudaa/hydraulique1d
Modified Files:
Hydraulique1dImport.java Hydraulique1dImportXMLPanneau.java
Log Message:
suppression variable inutile
suppression new String
Index: Hydraulique1dImport.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/Hydraulique1dImport.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Hydraulique1dImport.java 30 Jan 2003 12:53:16 -0000 1.1
--- Hydraulique1dImport.java 18 Mar 2003 16:53:29 -0000 1.2
***************
*** 81,85 ****
int motNb=0;
String line=null;
! String uniteTemps=null;
try {
--- 81,85 ----
int motNb=0;
String line=null;
! //String uniteTemps=null; Fred deniger variable inutile
try {
***************
*** 514,518 ****
int lineNb=0;
IProfil nouveauProfil=null;
! int nbPoints=0;
String etat="debut";
String nomPremierBief=null;
--- 514,518 ----
int lineNb=0;
IProfil nouveauProfil=null;
! //int nbPoints=0; variable inutile
String etat="debut";
String nomPremierBief=null;
***************
*** 603,608 ****
StringTokenizer st = new StringTokenizer(line);
IProfil res=null;
! String motCle = st.nextToken();
! String nomBief = st.nextToken();
String nomProfil = st.nextToken();
double abscisse = Double.parseDouble(st.nextToken());
--- 603,608 ----
StringTokenizer st = new StringTokenizer(line);
IProfil res=null;
! /*String motCle = */st.nextToken();
! /*String nomBief = */st.nextToken();
String nomProfil = st.nextToken();
double abscisse = Double.parseDouble(st.nextToken());
***************
*** 707,711 ****
else if ( etat.equals("Entete Section Par Serie")){
int indice = line.lastIndexOf("'");
! int nbZone = Integer.parseInt(line.substring(indice+1).trim());
res.creeSectionsParSeries();
IDefinitionSectionsParSeries sections = (IDefinitionSectionsParSeries)res.sections();
--- 707,712 ----
else if ( etat.equals("Entete Section Par Serie")){
int indice = line.lastIndexOf("'");
! //Variable inutile
! /*int nbZone = Integer.parseInt(line.substring(indice+1).trim());*/
res.creeSectionsParSeries();
IDefinitionSectionsParSeries sections = (IDefinitionSectionsParSeries)res.sections();
Index: Hydraulique1dImportXMLPanneau.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hydraulique1d/Hydraulique1dImportXMLPanneau.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Hydraulique1dImportXMLPanneau.java 30 Jan 2003 12:53:20 -0000 1.1
--- Hydraulique1dImportXMLPanneau.java 18 Mar 2003 16:53:29 -0000 1.2
***************
*** 105,109 ****
{
String action=_evt.getActionCommand();
! Object src=_evt.getSource();
if( action.equals("ANNULER") ) {
status_=CANCEL;
--- 105,109 ----
{
String action=_evt.getActionCommand();
! // Object src=_evt.getSource(); inutile
if( action.equals("ANNULER") ) {
status_=CANCEL;
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde
In directory sc8-pr-cvs1:/tmp/cvs-serv30081/fudaa/src/org/fudaa/fudaa/refonde
Modified Files:
RefondeCourbe.java RefondeContour.java RefondeGeometrie.java
RefondeCalqueContourInteraction.java RefondePolyligne.java
RefondeCalqueDessin.java RefondeRefonde.java
RefondeDomaineDigue.java RefondeCalqueAngleInteraction.java
RefondeDomaineFond.java RefondeFilleCalques.java
RefondeIsoSurfaces.java RefondeIsoLignes.java
RefondeDialogGroupeProprietes.java
RefondeModeleProprietes.java Refonde3DSimple.java
RefondePnPalette.java RefondeProjet.java
RefondeModeleCalcul.java RefondeImplementation.java
RefondeMaillage.java RefondeMiseEnPage.java
RefondePreferences.java RefondeDialogAngleSup.java
RefondeDialogAngle.java
Log Message:
suppression variable inutile
suppression new String
Index: RefondeCourbe.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeCourbe.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeCourbe.java 30 Jan 2003 13:09:44 -0000 1.1
--- RefondeCourbe.java 18 Mar 2003 16:51:47 -0000 1.2
***************
*** 20,24 ****
*/
public class RefondeCourbe {
! private int type_;
private double[] x_;
private double[] y_;
--- 20,24 ----
*/
public class RefondeCourbe {
! // private int type_;
private double[] x_;
private double[] y_;
Index: RefondeContour.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeContour.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RefondeContour.java 18 Feb 2003 16:39:32 -0000 1.2
--- RefondeContour.java 18 Mar 2003 16:51:48 -0000 1.3
***************
*** 292,296 ****
public boolean isPointInterne(GrPoint _pt) {
GeneralPath pg=new GeneralPath();
- Polygon t;
GrPoint[] pts;
--- 292,295 ----
Index: RefondeGeometrie.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeGeometrie.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RefondeGeometrie.java 18 Feb 2003 16:52:57 -0000 1.2
--- RefondeGeometrie.java 18 Mar 2003 16:51:49 -0000 1.3
***************
*** 41,45 ****
RefondeGeometrie geo=new RefondeGeometrie();
! String ext;
String fcName;
double x;
--- 41,45 ----
RefondeGeometrie geo=new RefondeGeometrie();
! // String ext;
String fcName;
double x;
***************
*** 49,53 ****
int indic;
int size;
! int nbctrs =0;
Vector vpls =null;
Vector ptsTopo=new Vector();
--- 49,53 ----
int indic;
int size;
! // int nbctrs =0;
Vector vpls =null;
Vector ptsTopo=new Vector();
***************
*** 285,291 ****
private void lire(File _fcGeom)
throws IOException {
! int EOF =StreamTokenizer.TT_EOF;
! int EOL =StreamTokenizer.TT_EOL;
! int NUMBER=StreamTokenizer.TT_NUMBER;
int WORD =StreamTokenizer.TT_WORD;
--- 285,291 ----
private void lire(File _fcGeom)
throws IOException {
! // int EOF =StreamTokenizer.TT_EOF;
! // int EOL =StreamTokenizer.TT_EOL;
! // int NUMBER=StreamTokenizer.TT_NUMBER;
int WORD =StreamTokenizer.TT_WORD;
***************
*** 294,298 ****
int ival=0;
! double dval=0;
String version="??";
--- 294,298 ----
int ival=0;
! // double dval=0;
String version="??";
***************
*** 508,512 ****
// l'interpolateur
GrPoint[] ptsTopo=new GrPoint[vptsTopo.size()]; vptsTopo.toArray(ptsTopo);
- GrMaillageElement triang;
for (int i=0; i<vdms.size(); i++) {
if (vdms.get(i) instanceof RefondeDomaineFond) {
--- 508,511 ----
Index: RefondeCalqueContourInteraction.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeCalqueContourInteraction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeCalqueContourInteraction.java 30 Jan 2003 13:09:43 -0000 1.1
--- RefondeCalqueContourInteraction.java 18 Mar 2003 16:51:49 -0000 1.2
***************
*** 70,74 ****
private int dstSel_; // Distance de tolérance pour la sélection en pixels
! private int mode_; // Mode de sélection courant
private boolean enCours_; // Sélection en cours
// private ListeGrPoint listePoints_; // Liste des points saisis en espace réel.
--- 70,74 ----
private int dstSel_; // Distance de tolérance pour la sélection en pixels
! //private int mode_; // Mode de sélection courant
private boolean enCours_; // Sélection en cours
// private ListeGrPoint listePoints_; // Liste des points saisis en espace réel.
***************
*** 76,81 ****
private Graphics g; // contexte graphique
private TraceGeometrie tg_; // Trace dans le contexte graphique en espace réel.
! private GrPoint ptExt_; // Point d'extrémité du tracé courant
! private GrPoint ptOrig_; // Point d'origine du tracé courant
private GrPolyligne plHelper_; // Polyligne d'aide pour le tracé. Elle contient les points saisis.
private int modificateur_; // Modificateur de sélection
--- 76,81 ----
private Graphics g; // contexte graphique
private TraceGeometrie tg_; // Trace dans le contexte graphique en espace réel.
! //private GrPoint ptExt_; // Point d'extrémité du tracé courant
! //private GrPoint ptOrig_; // Point d'origine du tracé courant
private GrPolyligne plHelper_; // Polyligne d'aide pour le tracé. Elle contient les points saisis.
private int modificateur_; // Modificateur de sélection
Index: RefondePolyligne.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondePolyligne.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondePolyligne.java 30 Jan 2003 13:09:45 -0000 1.1
--- RefondePolyligne.java 18 Mar 2003 16:51:49 -0000 1.2
***************
*** 113,117 ****
*/
public GrNoeud[] getNoeuds() {
! GrMaillageElement mail;
// La polyligne possède un maillage
--- 113,117 ----
*/
public GrNoeud[] getNoeuds() {
! // GrMaillageElement mail;
// La polyligne possède un maillage
Index: RefondeCalqueDessin.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeCalqueDessin.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeCalqueDessin.java 30 Jan 2003 13:09:45 -0000 1.1
--- RefondeCalqueDessin.java 18 Mar 2003 16:51:49 -0000 1.2
***************
*** 62,68 ****
if(isAttenue()) c2=attenueCouleur(c2);
- int w=getIconWidth();
- int h=getIconHeight();
-
_g.setColor(c1);
_g.drawRect(_x+3, _y+3, _x+13, _y+10);
--- 62,65 ----
Index: RefondeRefonde.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeRefonde.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RefondeRefonde.java 18 Feb 2003 16:48:41 -0000 1.2
--- RefondeRefonde.java 18 Mar 2003 16:51:50 -0000 1.3
***************
*** 412,416 ****
GrElement[] els;
RefondeDomaineFond dm=(RefondeDomaineFond)vdms.get(i);
! RefondeGroupeProprietes gp=dm.getGroupeProprietes();
els=dm.getMaillage().elements();
--- 412,416 ----
GrElement[] els;
RefondeDomaineFond dm=(RefondeDomaineFond)vdms.get(i);
! // RefondeGroupeProprietes gp=dm.getGroupeProprietes();
els=dm.getMaillage().elements();
***************
*** 449,453 ****
{
final int OUV_SOR=RefondeGroupeProprietes.HOULE_BORD_OUVERT_SORTIE;
! final int OUV_ENT=RefondeGroupeProprietes.HOULE_BORD_OUVERT_ENTREE;
final int SEM_REF=RefondeGroupeProprietes.HOULE_BORD_SEMI_REFLECHISSANT;
--- 449,453 ----
{
final int OUV_SOR=RefondeGroupeProprietes.HOULE_BORD_OUVERT_SORTIE;
! //final int OUV_ENT=RefondeGroupeProprietes.HOULE_BORD_OUVERT_ENTREE;
final int SEM_REF=RefondeGroupeProprietes.HOULE_BORD_SEMI_REFLECHISSANT;
Index: RefondeDomaineDigue.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeDomaineDigue.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeDomaineDigue.java 30 Jan 2003 13:09:45 -0000 1.1
--- RefondeDomaineDigue.java 18 Mar 2003 16:51:50 -0000 1.2
***************
*** 228,232 ****
for (int i=0; i<nbTroncons; i++) {
int nbNoeuds=nbElements_[i]+1;
! GrNoeud[] nds=new GrNoeud[nbNoeuds*2];
for (int j=0; j<nbNoeuds; j++) {
if (j==0 && (i==0 || pRect[i][0].distanceXY(pRect[i-1][1])<1.e-4 ||
--- 228,232 ----
for (int i=0; i<nbTroncons; i++) {
int nbNoeuds=nbElements_[i]+1;
! // GrNoeud[] nds=new GrNoeud[nbNoeuds*2];
for (int j=0; j<nbNoeuds; j++) {
if (j==0 && (i==0 || pRect[i][0].distanceXY(pRect[i-1][1])<1.e-4 ||
Index: RefondeCalqueAngleInteraction.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeCalqueAngleInteraction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeCalqueAngleInteraction.java 30 Jan 2003 13:09:46 -0000 1.1
--- RefondeCalqueAngleInteraction.java 18 Mar 2003 16:51:51 -0000 1.2
***************
*** 170,174 ****
GrPoint p2 =ppp.applique(getVersReel());
int icntr2=icntr;
! int iseg2 =iseg;
double sDeb;
double sFin;
--- 170,174 ----
GrPoint p2 =ppp.applique(getVersReel());
int icntr2=icntr;
! // int iseg2 =iseg;
double sDeb;
double sFin;
Index: RefondeDomaineFond.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeDomaineFond.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeDomaineFond.java 30 Jan 2003 13:09:46 -0000 1.1
--- RefondeDomaineFond.java 18 Mar 2003 16:51:52 -0000 1.2
***************
*** 146,150 ****
GrNoeud[] ndsPlLibre;
GrNoeud[][][] nds;
! GrNoeud[] ndsPl;
RefondeContour[] cts;
RefondeDomaineFond dmTrans=null;
--- 146,150 ----
GrNoeud[] ndsPlLibre;
GrNoeud[][][] nds;
! // GrNoeud[] ndsPl;
RefondeContour[] cts;
RefondeDomaineFond dmTrans=null;
***************
*** 283,287 ****
private GrMaillageElement maillerDomaine(boolean _contoursLibres) {
int nbLignes;
! GrPoint[] pts;
SPolyligne[] sPlsCntr;
SPolyligne[] sPls;
--- 283,287 ----
private GrMaillageElement maillerDomaine(boolean _contoursLibres) {
int nbLignes;
! // GrPoint[] pts;
SPolyligne[] sPlsCntr;
SPolyligne[] sPls;
Index: RefondeFilleCalques.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeFilleCalques.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RefondeFilleCalques.java 20 Feb 2003 14:29:58 -0000 1.3
--- RefondeFilleCalques.java 18 Mar 2003 16:51:53 -0000 1.4
***************
*** 62,66 ****
private Hashtable gr2Bd_;
// private BGroupeCalque gc_;
! private BGroupeCalque gcMai_;
private BuToggleButton btSel2Pts_;
private RefondeProjet prj_;
--- 62,66 ----
private Hashtable gr2Bd_;
// private BGroupeCalque gc_;
! // private BGroupeCalque gcMai_;
private BuToggleButton btSel2Pts_;
private RefondeProjet prj_;
***************
*** 282,286 ****
VecteurGrContour grSelects_=_evt.getObjects();
! Hashtable grClass=new Hashtable();
boolean active;
--- 282,286 ----
VecteurGrContour grSelects_=_evt.getObjects();
! // Hashtable grClass=new Hashtable();
boolean active;
Index: RefondeIsoSurfaces.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeIsoSurfaces.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeIsoSurfaces.java 30 Jan 2003 13:09:43 -0000 1.1
--- RefondeIsoSurfaces.java 18 Mar 2003 16:51:53 -0000 1.2
***************
*** 161,165 ****
int np;
! int pn=_p.npoints;
int[] px=_p.xpoints;
int[] py=_p.ypoints;
--- 161,165 ----
int np;
! // int pn=_p.npoints;
int[] px=_p.xpoints;
int[] py=_p.ypoints;
Index: RefondeIsoLignes.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeIsoLignes.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeIsoLignes.java 30 Jan 2003 13:09:44 -0000 1.1
--- RefondeIsoLignes.java 18 Mar 2003 16:51:54 -0000 1.2
***************
*** 161,167 ****
int[] xp=new int[2];
int[] yp=new int[2];
! int np;
! int pn=_p.npoints;
int[] px=_p.xpoints;
int[] py=_p.ypoints;
--- 161,167 ----
int[] xp=new int[2];
int[] yp=new int[2];
! // int np;
! // int pn=_p.npoints;
int[] px=_p.xpoints;
int[] py=_p.ypoints;
Index: RefondeDialogGroupeProprietes.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeDialogGroupeProprietes.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeDialogGroupeProprietes.java 30 Jan 2003 13:09:45 -0000 1.1
--- RefondeDialogGroupeProprietes.java 18 Mar 2003 16:51:55 -0000 1.2
***************
*** 507,511 ****
private void impose_itemStateChanged(ItemEvent _evt) {
BuCheckBox3States cbImpose=(BuCheckBox3States)_evt.getSource();
! int state=cbImpose.getState();
// On n'autorise pas le passage à mixte
/* if (state == MIXED) {
--- 507,511 ----
private void impose_itemStateChanged(ItemEvent _evt) {
BuCheckBox3States cbImpose=(BuCheckBox3States)_evt.getSource();
! // int state=cbImpose.getState();
// On n'autorise pas le passage à mixte
/* if (state == MIXED) {
***************
*** 521,525 ****
private void cas_itemStateChanged(ItemEvent _evt) {
BuCheckBox3States cbTransitoire=(BuCheckBox3States)_evt.getSource();
! int state=cbTransitoire.getState();
// changeCas(cbTransitoire, state);
}
--- 521,525 ----
private void cas_itemStateChanged(ItemEvent _evt) {
BuCheckBox3States cbTransitoire=(BuCheckBox3States)_evt.getSource();
! // int state=cbTransitoire.getState();
// changeCas(cbTransitoire, state);
}
Index: RefondeModeleProprietes.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeModeleProprietes.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RefondeModeleProprietes.java 18 Feb 2003 16:50:33 -0000 1.2
--- RefondeModeleProprietes.java 18 Mar 2003 16:51:55 -0000 1.3
***************
*** 24,30 ****
public class RefondeModeleProprietes {
// Pour la clareté du code
! private static final int EOF =StreamTokenizer.TT_EOF;
! private static final int EOL =StreamTokenizer.TT_EOL;
! private static final int NUMBER=StreamTokenizer.TT_NUMBER;
private static final int WORD =StreamTokenizer.TT_WORD;
--- 24,30 ----
public class RefondeModeleProprietes {
// Pour la clareté du code
! // private static final int EOF =StreamTokenizer.TT_EOF;
! // private static final int EOL =StreamTokenizer.TT_EOL;
! // private static final int NUMBER=StreamTokenizer.TT_NUMBER;
private static final int WORD =StreamTokenizer.TT_WORD;
***************
*** 139,143 ****
Reader rf=null;
! double val=0;
String version="??";
--- 139,143 ----
Reader rf=null;
! // double val=0;
String version="??";
***************
*** 228,232 ****
private void lire506(RefondeProjet _projet, StreamTokenizer _file)
throws IOException {
- double val=0;
RefondePropriete[] prps;
--- 228,231 ----
***************
*** 336,340 ****
double valPr;
int nbGp;
- double val;
int ival;
--- 335,338 ----
***************
*** 476,480 ****
double valPr;
int nbGp;
- double val;
int ival;
--- 474,477 ----
Index: Refonde3DSimple.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/Refonde3DSimple.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Refonde3DSimple.java 30 Jan 2003 13:09:44 -0000 1.1
--- Refonde3DSimple.java 18 Mar 2003 16:51:57 -0000 1.2
***************
*** 59,63 ****
int nbelements=elements.length;
int nbnoeuds=nbelements*3;
! int type_element=elements[0].type;
--- 59,63 ----
int nbelements=elements.length;
int nbnoeuds=nbelements*3;
! // int type_element=elements[0].type;
Index: RefondePnPalette.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondePnPalette.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondePnPalette.java 30 Jan 2003 13:09:46 -0000 1.1
--- RefondePnPalette.java 18 Mar 2003 16:51:59 -0000 1.2
***************
*** 382,386 ****
public ListePlagesCellRenderer() {
! BuGridLayout lyThis=new BuGridLayout(2,5,0,false,false);
lb_=new JLabel();
pn_=new JPanel();
--- 382,386 ----
public ListePlagesCellRenderer() {
! //BuGridLayout lyThis=new BuGridLayout(2,5,0,false,false);
lb_=new JLabel();
pn_=new JPanel();
Index: RefondeProjet.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeProjet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeProjet.java 30 Jan 2003 13:09:46 -0000 1.1
--- RefondeProjet.java 18 Mar 2003 16:52:05 -0000 1.2
***************
*** 66,70 ****
String fcName;
RefondeGeometrie geo;
! File fcGeo;
if (_projet.getName().endsWith(".10")) ext=".10";
--- 66,70 ----
String fcName;
RefondeGeometrie geo;
! // File fcGeo;
if (_projet.getName().endsWith(".10")) ext=".10";
***************
*** 511,518 ****
throws IOException {
Properties prs;
! String logiciel;
! String version;
! String format;
! String pr;
File fc;
--- 511,518 ----
throws IOException {
Properties prs;
! // String logiciel;
! // String version;
! // String format;
! // String pr;
File fc;
Index: RefondeModeleCalcul.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeModeleCalcul.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RefondeModeleCalcul.java 18 Feb 2003 16:52:13 -0000 1.2
--- RefondeModeleCalcul.java 18 Mar 2003 16:52:07 -0000 1.3
***************
*** 44,49 ****
// Pour la clareté du code
private static final int EOF =StreamTokenizer.TT_EOF;
! private static final int EOL =StreamTokenizer.TT_EOL;
! private static final int NUMBER=StreamTokenizer.TT_NUMBER;
private static final int WORD =StreamTokenizer.TT_WORD;
--- 44,49 ----
// Pour la clareté du code
private static final int EOF =StreamTokenizer.TT_EOF;
! // private static final int EOL =StreamTokenizer.TT_EOL;
! // private static final int NUMBER=StreamTokenizer.TT_NUMBER;
private static final int WORD =StreamTokenizer.TT_WORD;
***************
*** 275,279 ****
Reader rf=null;
- double val=0;
String version="??";
--- 275,278 ----
***************
*** 369,373 ****
private void lire506(RefondeProjet _projet, StreamTokenizer _file)
throws IOException {
- double val=0;
RefondeAngle ai;
--- 368,371 ----
***************
*** 409,413 ****
if (_file.nextToken()!=WORD) throw new IOException();
// profondeurOrigine_=Double.parseDouble(_file.sval);
! double dummy=Double.parseDouble(_file.sval);
// Cas de bord ouvert
--- 407,411 ----
if (_file.nextToken()!=WORD) throw new IOException();
// profondeurOrigine_=Double.parseDouble(_file.sval);
! //double dummy=Double.parseDouble(_file.sval);
// Cas de bord ouvert
***************
*** 512,516 ****
private void lire508(RefondeProjet _projet, StreamTokenizer _file)
throws RefondeIOException, IOException {
- double val=0;
int nbAiDigue;
int nbAtDigue;
--- 510,513 ----
***************
*** 555,559 ****
if (_file.nextToken()!=WORD) throw new IOException();
// profondeurOrigine_=Double.parseDouble(_file.sval);
! double dummy=Double.parseDouble(_file.sval);
// Cas de bord ouvert
--- 552,556 ----
if (_file.nextToken()!=WORD) throw new IOException();
// profondeurOrigine_=Double.parseDouble(_file.sval);
! // double dummy=Double.parseDouble(_file.sval);
// Cas de bord ouvert
***************
*** 778,782 ****
private void lire512(RefondeProjet _projet, StreamTokenizer _file)
throws RefondeIOException, IOException {
- double val=0;
int nbAiDigue;
int nbAtDigue;
--- 775,778 ----
***************
*** 1116,1120 ****
private void lire514(RefondeProjet _projet, StreamTokenizer _file)
throws RefondeIOException, IOException {
- double val=0;
int nbAiDigue;
int nbAtDigue;
--- 1112,1115 ----
***************
*** 1152,1156 ****
if (_file.nextToken()!=WORD) throw new IOException();
// profondeurOrigine_=Double.parseDouble(_file.sval);
! double dummy=Double.parseDouble(_file.sval);
// Cas de bord ouvert
--- 1147,1151 ----
if (_file.nextToken()!=WORD) throw new IOException();
// profondeurOrigine_=Double.parseDouble(_file.sval);
! // double dummy=Double.parseDouble(_file.sval);
// Cas de bord ouvert
***************
*** 1477,1481 ****
private void lire(RefondeProjet _projet, StreamTokenizer _file)
throws RefondeIOException, IOException {
- double val=0;
int nbAiDigue;
int nbAtDigue;
--- 1472,1475 ----
***************
*** 2133,2137 ****
RefondePolyligne[] pls=_doma.getContour().getPolylignes();
- RefondeAngle ai;
for (int i=0; i<pls.length; i++) {
--- 2127,2130 ----
***************
*** 2200,2204 ****
GrPolyligne plFerm;
- GrPolyligne plOuv;
GrPolyligne plTot;
--- 2193,2196 ----
***************
*** 2469,2476 ****
GrBoite bt;
- GrPoint ptCentre;
Vector cext;
double taille;
- double dist;
// Boite du contour exterieur
--- 2461,2466 ----
***************
*** 2522,2527 ****
pD0=_cext.sommets.renvoie(_ipD0);
! GrPoint p1=_cext.sommets.renvoie(_ip01);
! GrPoint p2=_cext.sommets.renvoie(_ip02);
ipC=_ip01;
--- 2512,2517 ----
pD0=_cext.sommets.renvoie(_ipD0);
! // GrPoint p1=_cext.sommets.renvoie(_ip01);
! // GrPoint p2=_cext.sommets.renvoie(_ip02);
ipC=_ip01;
Index: RefondeImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeImplementation.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RefondeImplementation.java 20 Feb 2003 14:29:58 -0000 1.3
--- RefondeImplementation.java 18 Mar 2003 16:52:08 -0000 1.4
***************
*** 86,90 ****
private BFileChooser diFcRef_ =null;
private RefondeTaskView taches_;
! private BVueCalque vc_;
private BArbreCalque ac_;
private RefondeInformations fnInfo_;
--- 86,90 ----
private BFileChooser diFcRef_ =null;
private RefondeTaskView taches_;
! // private BVueCalque vc_;
private BArbreCalque ac_;
private RefondeInformations fnInfo_;
***************
*** 95,99 ****
private BuPreferencesFrame preferences_;
private BuHelpFrame aide_;
! private RefondeDialogProprietesMaillage diPrpMaillage;
// private RefondeTacheOperation top=null;
// private RefondeMenuResultats mnRes_=null;
--- 95,99 ----
private BuPreferencesFrame preferences_;
private BuHelpFrame aide_;
! // private RefondeDialogProprietesMaillage diPrpMaillage;
// private RefondeTacheOperation top=null;
// private RefondeMenuResultats mnRes_=null;
***************
*** 617,621 ****
private void oprNouveauProjet() {
File fichier=diProjet_.getSelectedFile();
! String path =fichier.getPath();
try {
--- 617,621 ----
private void oprNouveauProjet() {
File fichier=diProjet_.getSelectedFile();
! // String path =fichier.getPath();
try {
***************
*** 767,771 ****
private void oprOuvrirProjet() {
File fichier=diProjet_.getSelectedFile();
! String path =fichier.getPath();
try {
--- 767,771 ----
private void oprOuvrirProjet() {
File fichier=diProjet_.getSelectedFile();
! // String path =fichier.getPath();
try {
***************
*** 1753,1757 ****
private void oprExporterPostfluxMaillage() {
File fichier =diFcRef_.getSelectedFile();
! String path =fichier.getPath();
try {
--- 1753,1757 ----
private void oprExporterPostfluxMaillage() {
File fichier =diFcRef_.getSelectedFile();
! // String path =fichier.getPath();
try {
***************
*** 1828,1832 ****
try {
File fichier =diFcRef_.getSelectedFile();
! String path =fichier.getPath();
statusBar.setMessage("Importation du maillage depuis "+fichier+"...");
--- 1828,1832 ----
try {
File fichier =diFcRef_.getSelectedFile();
! // String path =fichier.getPath();
statusBar.setMessage("Importation du maillage depuis "+fichier+"...");
Index: RefondeMaillage.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeMaillage.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeMaillage.java 30 Jan 2003 13:09:44 -0000 1.1
--- RefondeMaillage.java 18 Mar 2003 16:52:11 -0000 1.2
***************
*** 31,37 ****
public class RefondeMaillage {
// Pour la clareté du code
! private static final int EOF =StreamTokenizer.TT_EOF;
! private static final int EOL =StreamTokenizer.TT_EOL;
! private static final int NUMBER=StreamTokenizer.TT_NUMBER;
private static final int WORD =StreamTokenizer.TT_WORD;
--- 31,37 ----
public class RefondeMaillage {
// Pour la clareté du code
! // private static final int EOF =StreamTokenizer.TT_EOF;
! // private static final int EOL =StreamTokenizer.TT_EOL;
! // private static final int NUMBER=StreamTokenizer.TT_NUMBER;
private static final int WORD =StreamTokenizer.TT_WORD;
***************
*** 168,172 ****
RefondeMaillage mai=new RefondeMaillage();
GrMaillageElement ml;
! Vector vdms=_projet.getGeometrie().getDomaines();
GrElement[] els;
GrNoeud[] nds;
--- 168,172 ----
RefondeMaillage mai=new RefondeMaillage();
GrMaillageElement ml;
! // Vector vdms=_projet.getGeometrie().getDomaines();
GrElement[] els;
GrNoeud[] nds;
***************
*** 280,284 ****
Reader rf=null;
- double val=0;
String version="??";
--- 280,283 ----
***************
*** 356,360 ****
private void lire(RefondeProjet _projet, StreamTokenizer _file)
throws IOException, RefondeIOException, RefondeTacheInterruptionException {
- double val=0;
int nbNds;
int nbEls;
--- 355,358 ----
***************
*** 476,480 ****
// Propriétés de maillage
for (int i=0; i<nbPrs; i++) {
- int type;
RefondeTacheOperation.notifieArretDemande();
--- 474,477 ----
***************
*** 543,550 ****
private void ecrire(RefondeProjet _projet, File _fc) throws IOException {
RefondeGeometrie geo=_projet.getGeometrie();
! Vector vpls=geo.getPolylignes();
! Vector vcts=geo.getContours();
Vector vdms=geo.getDomaines();
! Vector vpts=geo.getPoints();
GrMaillageElement[] mls=getMaillages(_projet);
GrMaillageElement ml=creeSuperMaillage(mls);
--- 540,547 ----
private void ecrire(RefondeProjet _projet, File _fc) throws IOException {
RefondeGeometrie geo=_projet.getGeometrie();
! // Vector vpls=geo.getPolylignes();
! // Vector vcts=geo.getContours();
Vector vdms=geo.getDomaines();
! // Vector vpts=geo.getPoints();
GrMaillageElement[] mls=getMaillages(_projet);
GrMaillageElement ml=creeSuperMaillage(mls);
Index: RefondeMiseEnPage.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeMiseEnPage.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeMiseEnPage.java 30 Jan 2003 13:09:46 -0000 1.1
--- RefondeMiseEnPage.java 18 Mar 2003 16:52:11 -0000 1.2
***************
*** 137,141 ****
* unité d'impression représente 1/72ieme d'inch.
*/
! private static final double ImpToMM=UN_INCH_EN_MM/72;
/**
--- 137,141 ----
* unité d'impression représente 1/72ieme d'inch.
*/
! //private static final double ImpToMM=UN_INCH_EN_MM/72;
/**
***************
*** 254,258 ****
DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
! NodeList els;
Hashtable hidFn2Fn=new Hashtable(); // Table id fenetre -> Fenetre
Hashtable hfn2IdCq2Cq=new Hashtable(); // Table fenetre -> Hashtable hidCq2Cq
--- 254,258 ----
DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
! // NodeList els;
Hashtable hidFn2Fn=new Hashtable(); // Table id fenetre -> Fenetre
Hashtable hfn2IdCq2Cq=new Hashtable(); // Table fenetre -> Hashtable hidCq2Cq
***************
*** 1385,1389 ****
*/
public void initialise(RefondeImplementation _imp, PageFormat _pf) {
! DeRectangle r;
// Conversion des dimensions en 1/72 inches en mm.
--- 1385,1389 ----
*/
public void initialise(RefondeImplementation _imp, PageFormat _pf) {
! // DeRectangle r;
// Conversion des dimensions en 1/72 inches en mm.
Index: RefondePreferences.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondePreferences.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondePreferences.java 30 Jan 2003 13:09:43 -0000 1.1
--- RefondePreferences.java 18 Mar 2003 16:52:14 -0000 1.2
***************
*** 42,46 ****
throw new RuntimeException(""+_o+" is not a RefondeImplementation.");
! RefondeImplementation _appli=(RefondeImplementation)_o;
}
--- 42,46 ----
throw new RuntimeException(""+_o+" is not a RefondeImplementation.");
! //RefondeImplementation _appli=(RefondeImplementation)_o;
}
Index: RefondeDialogAngleSup.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeDialogAngleSup.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeDialogAngleSup.java 30 Jan 2003 13:09:44 -0000 1.1
--- RefondeDialogAngleSup.java 18 Mar 2003 16:52:15 -0000 1.2
***************
*** 28,34 ****
*/
public class RefondeDialogAngleSup extends FudaaDialog {
! private static final int SELECTED =BuCheckBox3States.STATE_SELECTED;
! private static final int DESELECTED=BuCheckBox3States.STATE_DESELECTED;
! private static final int MIXED =BuCheckBox3States.STATE_MIXED;
public JButton reponse;
--- 28,34 ----
*/
public class RefondeDialogAngleSup extends FudaaDialog {
! // private static final int SELECTED =BuCheckBox3States.STATE_SELECTED;
! // private static final int DESELECTED=BuCheckBox3States.STATE_DESELECTED;
! // private static final int MIXED =BuCheckBox3States.STATE_MIXED;
public JButton reponse;
Index: RefondeDialogAngle.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeDialogAngle.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeDialogAngle.java 30 Jan 2003 13:09:46 -0000 1.1
--- RefondeDialogAngle.java 18 Mar 2003 16:52:15 -0000 1.2
***************
*** 28,34 ****
*/
public class RefondeDialogAngle extends FudaaDialog {
! private static final int SELECTED =BuCheckBox3States.STATE_SELECTED;
! private static final int DESELECTED=BuCheckBox3States.STATE_DESELECTED;
! private static final int MIXED =BuCheckBox3States.STATE_MIXED;
public JButton reponse;
--- 28,34 ----
*/
public class RefondeDialogAngle extends FudaaDialog {
! // private static final int SELECTED =BuCheckBox3States.STATE_SELECTED;
! // private static final int DESELECTED=BuCheckBox3States.STATE_DESELECTED;
! // private static final int MIXED =BuCheckBox3States.STATE_MIXED;
public JButton reponse;
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/test
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/test
Modified Files:
TestVag3D.java TestMaillageGrVsModele.java
TestModeleMaillage.java TestMaille3D.java TestIrregulier.java
TestFrameVolume.java
Log Message:
suppression variable inutile
suppression new String
Index: TestVag3D.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/test/TestVag3D.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestVag3D.java 30 Jan 2003 13:30:18 -0000 1.1
--- TestVag3D.java 18 Mar 2003 16:45:43 -0000 1.2
***************
*** 110,114 ****
System.out.println("VagClient");
IParametresVag p=null;
- int essai=0;
//do
//{
--- 110,113 ----
***************
*** 121,125 ****
System.out.println("Trouvé : "+vag);
System.out.println("Creation de la connexion");
- IUsine usine=CDodico.creeUsineLocale();
ServeurPersonne sp=new ServeurPersonne("test-personne-vag", "test-organisme-vag");
--- 120,123 ----
Index: TestMaillageGrVsModele.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/test/TestMaillageGrVsModele.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestMaillageGrVsModele.java 30 Jan 2003 13:30:22 -0000 1.1
--- TestMaillageGrVsModele.java 18 Mar 2003 16:45:44 -0000 1.2
***************
*** 268,276 ****
if(type_==GR_TYPE)
{
! cqMaillage_.setMaillage(FudaaMaillageElement.s2Gr(duRes.maillage()));
}
else if(type_==MODELE_TYPE)
{
! cqZMaillage_.setModele(new ModeleSMaillageElement(duRes.maillage()));
}
}
--- 268,276 ----
if(type_==GR_TYPE)
{
! cqMaillage_.ajoute(FudaaMaillageElement.s2Gr(duRes.maillage()));
}
else if(type_==MODELE_TYPE)
{
! cqZMaillage_.ajoute(new ModeleSMaillageElement(duRes.maillage()));
}
}
Index: TestModeleMaillage.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/test/TestModeleMaillage.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestModeleMaillage.java 30 Jan 2003 13:30:19 -0000 1.1
--- TestModeleMaillage.java 18 Mar 2003 16:45:44 -0000 1.2
***************
*** 65,71 ****
private VecteurGrPoint semis_;
private ZCalquePoint cqZPoint_;
- private ZCalqueMaillageElement cqZMaillage_;
- private JCheckBox cbRapide_;
--- 65,69 ----
Index: TestMaille3D.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/test/TestMaille3D.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestMaille3D.java 30 Jan 2003 13:30:19 -0000 1.1
--- TestMaille3D.java 18 Mar 2003 16:45:45 -0000 1.2
***************
*** 58,62 ****
public static void main(String[] args)
{
! Frame test=new MainFrame(new Test3D(),512,512);
}
--- 58,62 ----
public static void main(String[] args)
{
! new MainFrame(new Test3D(),512,512);
}
Index: TestIrregulier.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/test/TestIrregulier.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestIrregulier.java 30 Jan 2003 13:30:21 -0000 1.1
--- TestIrregulier.java 18 Mar 2003 16:45:45 -0000 1.2
***************
*** 44,50 ****
{
BGrilleIrreguliere irr,sol_irr;
- JCheckBox irr_visible,sol_visible;
- boolean[] calcule=new boolean[]{false,false};
- BUnivers u;
IMaillage maille=null;
int nbnoeuds;
--- 44,47 ----
Index: TestFrameVolume.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/test/TestFrameVolume.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestFrameVolume.java 30 Jan 2003 13:30:19 -0000 1.1
--- TestFrameVolume.java 18 Mar 2003 16:45:45 -0000 1.2
***************
*** 272,278 ****
{
if (ouvert)
! st_.hide();
else
! st_.show();
ouvert=!ouvert;
}
--- 272,278 ----
{
if (ouvert)
! st_.setVisible(false);
else
! st_.setVisible(true);
ouvert=!ouvert;
}
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/sipor
Modified Files:
TestTextFieldsMeters.java SiporPerturbateurParametres.java
SiporStatistiquesFinales.java SiporBassinsParametres.java
TestTextFieldMeters2.java
SiporGraphiquesHistogrammesPanel.java
SiporGraphiquesTroisParametresPanel.java
SiporGraphiquesCourbesPanel.java SiporQuaisParametres.java
SiporGrapheSimulation.java SiporCategoriesParametres.java
Log Message:
suppression variable inutile
suppression new String
Index: TestTextFieldsMeters.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/TestTextFieldsMeters.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestTextFieldsMeters.java 30 Jan 2003 13:22:21 -0000 1.1
--- TestTextFieldsMeters.java 18 Mar 2003 16:45:31 -0000 1.2
***************
*** 75,79 ****
public static void main(String[] args) {
! TestTextFieldsMeters test = new TestTextFieldsMeters();
}
--- 75,79 ----
public static void main(String[] args) {
! new TestTextFieldsMeters();
}
Index: SiporPerturbateurParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporPerturbateurParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporPerturbateurParametres.java 30 Jan 2003 13:22:16 -0000 1.1
--- SiporPerturbateurParametres.java 18 Mar 2003 16:45:31 -0000 1.2
***************
*** 55,59 ****
sipor = ((SiporImplementation)appli_.getImplementation());
localPerturbateur = sipor.outils_.getPerturbateur();
- int n=0;
// création d'une GridBagLayout pour placer les composants
--- 55,58 ----
***************
*** 217,221 ****
public static String chercheErreur(SParametresPerturbateur params,SParametresDonneesGenerales localDonneesGenerales)
{
! String mes = new String();
if (params.dateArrivee != Integer.MAX_VALUE)
{
--- 216,220 ----
public static String chercheErreur(SParametresPerturbateur params,SParametresDonneesGenerales localDonneesGenerales)
{
! String mes ="";
if (params.dateArrivee != Integer.MAX_VALUE)
{
***************
*** 237,241 ****
public static String chercheAvertissement(SParametresPerturbateur params)
{
! String mes = new String();
if (params.dateArrivee == Integer.MAX_VALUE)
mes +="Activer le perturbateur pour l'utiliser en simulation.\n";
--- 236,240 ----
public static String chercheAvertissement(SParametresPerturbateur params)
{
! String mes = "";
if (params.dateArrivee == Integer.MAX_VALUE)
mes +="Activer le perturbateur pour l'utiliser en simulation.\n";
***************
*** 256,273 ****
}
-
- /*--- message de l'assistant ---*/
- private void messageAssistant(String s)
- {
- message = new BuDialogMessage(appli_,sipor.isSipor_,s);
- message.setSize(500,200);
- message.setResizable(false);
- message.setDefaultCloseOperation ( JDialog.DO_NOTHING_ON_CLOSE );
- Point pos = this.getLocationOnScreen();
- pos.x = pos.x + this.getWidth()/2 - message.getWidth()/2 ;
- pos.y = pos.y + this.getHeight()/2 - message.getHeight()/ 2;
- message.setLocation(pos);
- message.setVisible(true);
- }
}
--- 255,258 ----
Index: SiporStatistiquesFinales.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporStatistiquesFinales.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporStatistiquesFinales.java 30 Jan 2003 13:22:05 -0000 1.1
--- SiporStatistiquesFinales.java 18 Mar 2003 16:45:31 -0000 1.2
***************
*** 33,71 ****
public class SiporStatistiquesFinales extends BuPanel implements ActionListener
{
- private YapodQuery resultat;
// declaration des composants pour l'affichage
private String[] listePassages = new String[7];
! protected JList passages = null;
! protected JTable table = null;
private String[] listeQuais = new String[21];
private String[] listeAttentes = { "attente totale", "attente quai", "attente écluse",
"attente marée", "attente créneau", "temps" };
! protected BuButton BEffacer = null;
! protected BuButton BAjouter = null;
! protected BuButton BEnlever = null;
! protected BuButton BAfficher = null;
! private Vector choix1 = null;
! private Vector choix2 = null;
! private BuLabel label = null;
! protected JCheckBox statsQuais = null;
! private JList list1 = null;
! private Vector data1 = null;
! private JList list2 = null;
! private String[] data2 = {"Attente totale",
! "Attente Quai",
! "Attente Ecluse",
! "Attente Marée",
! "Attente Créneau",
! "Temps",
! };
! private JList list3 = null;
! private Vector data3 = null;
! protected BuButton BAffiche = null;
! private Vector indices = null;
! private int oldIndex = -1;
- private JComponent content_;
private SiporImplementation implementation;
private SParametresSipor parametres;
--- 33,61 ----
public class SiporStatistiquesFinales extends BuPanel implements ActionListener
{
// declaration des composants pour l'affichage
private String[] listePassages = new String[7];
! protected JList passages ;
! protected JTable table ;
private String[] listeQuais = new String[21];
private String[] listeAttentes = { "attente totale", "attente quai", "attente écluse",
"attente marée", "attente créneau", "temps" };
! protected BuButton BEffacer ;
! protected BuButton BAjouter ;
! protected BuButton BEnlever ;
! protected BuButton BAfficher ;
! private Vector choix1 ;
! private Vector choix2 ;
! protected JCheckBox statsQuais ;
! // private String[] data2 = {"Attente totale",
! // "Attente Quai",
! // "Attente Ecluse",
! // "Attente Marée",
! // "Attente Créneau",
! // "Temps",
! // };
! protected BuButton BAffiche ;
private SiporImplementation implementation;
private SParametresSipor parametres;
Index: SiporBassinsParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporBassinsParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporBassinsParametres.java 30 Jan 2003 13:22:28 -0000 1.1
--- SiporBassinsParametres.java 18 Mar 2003 16:45:37 -0000 1.2
***************
*** 435,439 ****
else if ( source == cbUtilisationBassin3 ) numeroBassin = 3;
! String listeQuais = new String("");
SParametresQuais quais = implementation.outils_.getQuais();
for ( int i=0 ; i<quais.nombreQuais ; i++ ) {
--- 435,439 ----
else if ( source == cbUtilisationBassin3 ) numeroBassin = 3;
! String listeQuais = "";
SParametresQuais quais = implementation.outils_.getQuais();
for ( int i=0 ; i<quais.nombreQuais ; i++ ) {
Index: TestTextFieldMeters2.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/TestTextFieldMeters2.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestTextFieldMeters2.java 30 Jan 2003 13:22:08 -0000 1.1
--- TestTextFieldMeters2.java 18 Mar 2003 16:45:38 -0000 1.2
***************
*** 76,80 ****
public static void main ( String[] args ) {
! TestTextFieldMeters2 test = new TestTextFieldMeters2();
--- 76,80 ----
public static void main ( String[] args ) {
! new TestTextFieldMeters2();
Index: SiporGraphiquesHistogrammesPanel.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporGraphiquesHistogrammesPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporGraphiquesHistogrammesPanel.java 30 Jan 2003 13:22:19 -0000 1.1
--- SiporGraphiquesHistogrammesPanel.java 18 Mar 2003 16:45:38 -0000 1.2
***************
*** 38,42 ****
implements ActionListener
{
- private YapodQuery resultat;
// declaration des composants pour l'affichage
--- 38,41 ----
***************
*** 287,291 ****
}
// affichage dans les zones de preferences
! preference.tfTitreAbs.setValue(new String("Simulations"));
preference.tfTitreOrd.setValue("");
if (preference.dlgParamAff.boxMinAbsAuto.isSelected())
--- 286,290 ----
}
// affichage dans les zones de preferences
! preference.tfTitreAbs.setValue("Simulations");
preference.tfTitreOrd.setValue("");
if (preference.dlgParamAff.boxMinAbsAuto.isSelected())
Index: SiporGraphiquesTroisParametresPanel.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporGraphiquesTroisParametresPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporGraphiquesTroisParametresPanel.java 30 Jan 2003 13:22:04 -0000 1.1
--- SiporGraphiquesTroisParametresPanel.java 18 Mar 2003 16:45:40 -0000 1.2
***************
*** 724,728 ****
// Essai de convertir la chaine la chaine de precision en Y.
! try { Integer num = new Integer(strPrecY); }
catch (Exception ex) { strPrecY=""; }
--- 724,728 ----
// Essai de convertir la chaine la chaine de precision en Y.
! try { new Integer(strPrecY); }
catch (Exception ex) { strPrecY=""; }
Index: SiporGraphiquesCourbesPanel.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporGraphiquesCourbesPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporGraphiquesCourbesPanel.java 30 Jan 2003 13:22:10 -0000 1.1
--- SiporGraphiquesCourbesPanel.java 18 Mar 2003 16:45:40 -0000 1.2
***************
*** 39,43 ****
implements ActionListener
{
- private YapodQuery resultat;
// declaration des composants pour l'affichage
--- 39,42 ----
***************
*** 68,72 ****
private Vector courbes = new Vector();
private Vector choix = null;
- private int largeur = 0;
private String[] fichier = null;
private SParametresSipor parametres;
--- 67,70 ----
***************
*** 339,343 ****
}
// affichage dans les zones de preferences
! preference.tfTitreAbs.setValue(new String((String)boxAbscisse.getSelectedItem()));
preference.tfTitreOrd.setValue("");
if (preference.dlgParamAff.boxMinAbsAuto.isSelected())
--- 337,341 ----
}
// affichage dans les zones de preferences
! preference.tfTitreAbs.setValue((String)boxAbscisse.getSelectedItem());
preference.tfTitreOrd.setValue("");
if (preference.dlgParamAff.boxMinAbsAuto.isSelected())
Index: SiporQuaisParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporQuaisParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporQuaisParametres.java 30 Jan 2003 13:22:17 -0000 1.1
--- SiporQuaisParametres.java 18 Mar 2003 16:45:40 -0000 1.2
***************
*** 235,239 ****
public static String chercheErreur(SParametresQuais params)
{
! String mes = new String();
if (params.nombreQuais == 0)
{
--- 235,239 ----
public static String chercheErreur(SParametresQuais params)
{
! String mes = "";
if (params.nombreQuais == 0)
{
Index: SiporGrapheSimulation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporGrapheSimulation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporGrapheSimulation.java 30 Jan 2003 13:22:30 -0000 1.1
--- SiporGrapheSimulation.java 18 Mar 2003 16:45:41 -0000 1.2
***************
*** 84,91 ****
private int largeur = 0;
private double maxOrd = 0.0;
- private String[] fichier = null;
private SParametresSipor parametres;
private YapodQuery resultats;
- private JComponent content_;
private SiporImplementation implementation;
private BGraphe graphe = null;
--- 84,89 ----
Index: SiporCategoriesParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sipor/SiporCategoriesParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SiporCategoriesParametres.java 30 Jan 2003 13:22:18 -0000 1.1
--- SiporCategoriesParametres.java 18 Mar 2003 16:45:41 -0000 1.2
***************
*** 356,360 ****
SParametresBassin localBassin3)
{
! String mes = new String();
// test si une categorie est créée
if (localCategories.nombreCategories == 0)
--- 356,360 ----
SParametresBassin localBassin3)
{
! String mes = "";
// test si une categorie est créée
if (localCategories.nombreCategories == 0)
***************
*** 456,460 ****
public static String chercheAvertissement(SParametresCategories localCategories)
{
! String mes = new String();
// test si le pied de pilote = 0
if ((localCategories.piedPilote == 0)&&(localCategories.nombreCategories != 0))
--- 456,460 ----
public static String chercheAvertissement(SParametresCategories localCategories)
{
! String mes = "";
// test si le pied de pilote = 0
if ((localCategories.piedPilote == 0)&&(localCategories.nombreCategories != 0))
|
|
From: <de...@us...> - 2003-03-18 16:46:50
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/simboat
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/simboat
Modified Files:
SimboatRadarInfos.java Simboat.java Radar.java
Log Message:
suppression variable inutile
suppression new String
Index: SimboatRadarInfos.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/simboat/SimboatRadarInfos.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SimboatRadarInfos.java 30 Jan 2003 13:16:18 -0000 1.1
--- SimboatRadarInfos.java 18 Mar 2003 16:46:15 -0000 1.2
***************
*** 140,144 ****
pasCercles_++;
if(pasCercles_>portee_) pasCercles_=portee_;
! tfPasCercles_.setText(new String("" + pasCercles_));
}
--- 140,144 ----
pasCercles_++;
if(pasCercles_>portee_) pasCercles_=portee_;
! tfPasCercles_.setText("" + pasCercles_);
}
***************
*** 147,151 ****
pasCercles_--;
if(pasCercles_<1) pasCercles_=1;
! tfPasCercles_.setText(new String (""+ pasCercles_));
}
}
--- 147,151 ----
pasCercles_--;
if(pasCercles_<1) pasCercles_=1;
! tfPasCercles_.setText(""+ pasCercles_);
}
}
Index: Simboat.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/simboat/Simboat.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Simboat.java 30 Jan 2003 13:16:17 -0000 1.1
--- Simboat.java 18 Mar 2003 16:46:15 -0000 1.2
***************
*** 69,73 ****
//Ce numero correspond en fait à un repertoire dans lequel
//est stocké la representation du mobile
! private static final int repDefaut_=1;
//numero de representation
--- 69,73 ----
//Ce numero correspond en fait à un repertoire dans lequel
//est stocké la representation du mobile
! // private static final int repDefaut_=1;
//numero de representation
***************
*** 217,221 ****
//on ajoute l'image à la Hashtable si elle n'a
//pas été encore chargée
! if(donnees.get(new String(""+i))==null)
{
//Construction de l'image à partir des données demandées
--- 217,221 ----
//on ajoute l'image à la Hashtable si elle n'a
//pas été encore chargée
! if(donnees.get(""+i)==null)
{
//Construction de l'image à partir des données demandées
***************
*** 229,233 ****
if(img!=null)
! donnees.put(new String(""+i),new ImageIcon(img));
else
System.err.println("Erreur récuperation des images des mobiles");
--- 229,233 ----
if(img!=null)
! donnees.put(""+i,new ImageIcon(img));
else
System.err.println("Erreur récuperation des images des mobiles");
Index: Radar.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/simboat/Radar.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Radar.java 30 Jan 2003 13:16:17 -0000 1.1
--- Radar.java 18 Mar 2003 16:46:16 -0000 1.2
***************
*** 56,60 ****
trajectoires_[i]=new Vector();
modePrevision_=_modePrevision;
! BuPicture pic=new BuPicture();
imgFond_=SimboatResource.SIMBOAT.getImage(_image);
}
--- 56,60 ----
trajectoires_[i]=new Vector();
modePrevision_=_modePrevision;
! // BuPicture pic=new BuPicture();
imgFond_=SimboatResource.SIMBOAT.getImage(_image);
}
|
|
From: <de...@us...> - 2003-03-18 16:46:49
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/navmer
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/navmer
Modified Files:
NavmerFilleCalques.java NavmerGraphesSuperposes.java
NavmerImplementation.java
Log Message:
suppression variable inutile
suppression new String
Index: NavmerFilleCalques.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/navmer/NavmerFilleCalques.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NavmerFilleCalques.java 30 Jan 2003 12:58:10 -0000 1.1
--- NavmerFilleCalques.java 18 Mar 2003 16:46:13 -0000 1.2
***************
*** 51,55 ****
bsDensite.addPropertyChangeListener(_arbre);
! BuPanel srcrgl=new BuPanel(new BuGridLayout(2,5,5));
srcrgl.setBorder(new EmptyBorder(5,5,5,5));
srcrgl.add(new JLabel(FudaaLib.geti18n
--- 51,56 ----
bsDensite.addPropertyChangeListener(_arbre);
! BuPanel srcrgl=new BuPanel();
! srcrgl.setLayout(new BuGridLayout(2,5,5));
srcrgl.setBorder(new EmptyBorder(5,5,5,5));
srcrgl.add(new JLabel(FudaaLib.geti18n
Index: NavmerGraphesSuperposes.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/navmer/NavmerGraphesSuperposes.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NavmerGraphesSuperposes.java 30 Jan 2003 12:58:10 -0000 1.1
--- NavmerGraphesSuperposes.java 18 Mar 2003 16:46:14 -0000 1.2
***************
*** 107,111 ****
//Determination du domaine de la courbe dans le calque
GrPoint[] pointstransformes=new GrPoint[points_.length];
! double[] valeursX=new double[points_.length];
for(int i=0;i<points_.length;i++)
--- 107,111 ----
//Determination du domaine de la courbe dans le calque
GrPoint[] pointstransformes=new GrPoint[points_.length];
! // double[] valeursX=new double[points_.length];
for(int i=0;i<points_.length;i++)
Index: NavmerImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/navmer/NavmerImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NavmerImplementation.java 30 Jan 2003 12:58:10 -0000 1.1
--- NavmerImplementation.java 18 Mar 2003 16:46:14 -0000 1.2
***************
*** 203,207 ****
BuMainPanel mp = getMainPanel();
- BuColumn lc = mp.getLeftColumn();
BuColumn rc = mp.getRightColumn();
--- 203,206 ----
***************
*** 953,957 ****
{
BVueCalque vc = ffCalques_.getVueCalque();
- BCalque gc = vc.getCalque();
calqueDonnees_.add(_calque);
--- 952,955 ----
***************
*** 1594,1598 ****
BuInternalFrame buframe=new BuInternalFrame
("Caracteristiques Navire",true,true,true,true);
! BuMultiLabel lab=new BuMultiLabel(caract);
buframe.getContentPane().setLayout(new BorderLayout());
--- 1592,1596 ----
BuInternalFrame buframe=new BuInternalFrame
("Caracteristiques Navire",true,true,true,true);
! BuLabelMultiLine lab=new BuLabelMultiLine(caract);
buframe.getContentPane().setLayout(new BorderLayout());
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sinavi
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/sinavi
Modified Files:
SinaviGestionProjet.java SinaviAnimationNord.java
SinaviGraphiqueResultat.java SinaviEclusesParametres.java
SinaviAnimation.java
Log Message:
suppression variable inutile
suppression new String
Index: SinaviGestionProjet.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sinavi/SinaviGestionProjet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SinaviGestionProjet.java 30 Jan 2003 13:15:59 -0000 1.1
--- SinaviGestionProjet.java 18 Mar 2003 16:46:09 -0000 1.2
***************
*** 214,218 ****
ByteArrayOutputStream byte_array_output_stream = new ByteArrayOutputStream();
! Object[] infosDja = new Object[3];
try
{
--- 214,218 ----
ByteArrayOutputStream byte_array_output_stream = new ByteArrayOutputStream();
! // Object[] infosDja = new Object[3];
try
{
Index: SinaviAnimationNord.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sinavi/SinaviAnimationNord.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SinaviAnimationNord.java 30 Jan 2003 13:15:59 -0000 1.1
--- SinaviAnimationNord.java 18 Mar 2003 16:46:10 -0000 1.2
***************
*** 173,177 ****
public void constructTextGraine(int _numGraine, int _nbGraines)
{
! textGraine_.setText(new String("n° " + _numGraine + "/" + _nbGraines));
}
--- 173,177 ----
public void constructTextGraine(int _numGraine, int _nbGraines)
{
! textGraine_.setText("n° " + _numGraine + "/" + _nbGraines);
}
***************
*** 185,189 ****
{
//Compteur des jours/heures de la simul
! String exposant = new String(" ème");
if(_noJour == 1)
{
--- 185,189 ----
{
//Compteur des jours/heures de la simul
! String exposant = " ème";
if(_noJour == 1)
{
***************
*** 205,209 ****
public void constructTextHeure(int _hr, int _min)
{
! String heure = new String();
if(_min < 10)
{
--- 205,209 ----
public void constructTextHeure(int _hr, int _min)
{
! String heure = "";
if(_min < 10)
{
Index: SinaviGraphiqueResultat.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sinavi/SinaviGraphiqueResultat.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SinaviGraphiqueResultat.java 30 Jan 2003 13:15:59 -0000 1.1
--- SinaviGraphiqueResultat.java 18 Mar 2003 16:46:10 -0000 1.2
***************
*** 89,94 ****
System.out.println(v.s+" "+v.v);
}
- double moy = 0;
- double total = 0;
double maxX = 10;
double maxY = 40;
--- 89,92 ----
Index: SinaviEclusesParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sinavi/SinaviEclusesParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SinaviEclusesParametres.java 30 Jan 2003 13:15:59 -0000 1.1
--- SinaviEclusesParametres.java 18 Mar 2003 16:46:12 -0000 1.2
***************
*** 235,240 ****
Dimension dimbcc_ = new Dimension(140, 33);
Dimension dimbsc_ = new Dimension(140, 33);
! Dimension dimbve_ = new Dimension(150, 33);
! Dimension dimbvdm_ = new Dimension(120, 33);
Dimension dimtdes_ = new Dimension(650, 43);
EclusesCreeesScrollPane_.setPreferredSize(dimec_);
--- 235,240 ----
Dimension dimbcc_ = new Dimension(140, 33);
Dimension dimbsc_ = new Dimension(140, 33);
! // Dimension dimbve_ = new Dimension(150, 33);
! // Dimension dimbvdm_ = new Dimension(120, 33);
Dimension dimtdes_ = new Dimension(650, 43);
EclusesCreeesScrollPane_.setPreferredSize(dimec_);
Index: SinaviAnimation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/sinavi/SinaviAnimation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SinaviAnimation.java 30 Jan 2003 13:15:59 -0000 1.1
--- SinaviAnimation.java 18 Mar 2003 16:46:13 -0000 1.2
***************
*** 63,67 ****
* Structure rassemblant toutes les données nécessaires pour l'animation
*/
! private static SResuInter res_;
/**
* Compteur pour faire avancer la barre de progression
--- 63,67 ----
* Structure rassemblant toutes les données nécessaires pour l'animation
*/
! // private static SResuInter res_;
/**
* Compteur pour faire avancer la barre de progression
***************
*** 215,220 ****
/* mise à jour des djatext */
//pour les gares
! String nbBatMontGare = new String();
! String nbBatAvalGare = new String();
int[] _NbBatMontGare = res_.gareNaviresMontants;
--- 215,220 ----
/* mise à jour des djatext */
//pour les gares
! String nbBatMontGare = "";
! String nbBatAvalGare = "";
int[] _NbBatMontGare = res_.gareNaviresMontants;
***************
*** 255,260 ****
//pour les biefs
! String nbBatMontBief = new String();
! String nbBatAvalBief = new String();
int[] _NbBatMontBief = res_.biefNaviresMontants;
int[] _NbBatAvalBief = res_.biefNaviresAvalants;
--- 255,260 ----
//pour les biefs
! String nbBatMontBief = "";
! String nbBatAvalBief = "";
int[] _NbBatMontBief = res_.biefNaviresMontants;
int[] _NbBatAvalBief = res_.biefNaviresAvalants;
***************
*** 295,300 ****
//pour les ecluses
! String nbBatMontEcluse = new String();
! String nbBatAvalEcluse = new String();
int[] _NbBatMontEcluse = res_.ouvrNaviresMontants;
int[] _NbBatAvalEcluse = res_.ouvrNaviresAvalants;
--- 295,300 ----
//pour les ecluses
! String nbBatMontEcluse = "";
! String nbBatAvalEcluse = "";
int[] _NbBatMontEcluse = res_.ouvrNaviresMontants;
int[] _NbBatAvalEcluse = res_.ouvrNaviresAvalants;
***************
*** 443,447 ****
public static void viderDjatext()
{
! String remiseABlanc = new String(" \n \n \n \n \n");
//pour les gares
--- 443,447 ----
public static void viderDjatext()
{
! String remiseABlanc = " \n \n \n \n \n";
//pour les gares
|
|
From: <de...@us...> - 2003-03-18 16:46:47
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/vag
Modified Files:
Vag05DataSource.java VagFilleMailleur.java VagImport.java
VagFilleCalques.java VagCalqueOrthogonalesInteraction.java
VagImplementation.java VagPreferencesPanel.java
VagFilleParametres.java
Log Message:
suppression variable inutile
suppression new String
Index: Vag05DataSource.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/Vag05DataSource.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Vag05DataSource.java 30 Jan 2003 13:29:53 -0000 1.1
--- Vag05DataSource.java 18 Mar 2003 16:46:04 -0000 1.2
***************
*** 46,50 ****
double H=resultats_.interOrth[i].pas[j].hauteurHoule;
int indice=resultats_.interOrth[i].pas[j].numeroPas;
! double longueurOnde=resultats_.interOrth[i].pas[j].longueurOnde;
double phi=1d/alpha_*2*pi*indice;
h[k]=H*Math.cos(phi-2*pi*t/T_);
--- 46,50 ----
double H=resultats_.interOrth[i].pas[j].hauteurHoule;
int indice=resultats_.interOrth[i].pas[j].numeroPas;
! // double longueurOnde=resultats_.interOrth[i].pas[j].longueurOnde;
double phi=1d/alpha_*2*pi*indice;
h[k]=H*Math.cos(phi-2*pi*t/T_);
Index: VagFilleMailleur.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/VagFilleMailleur.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VagFilleMailleur.java 30 Jan 2003 13:29:59 -0000 1.1
--- VagFilleMailleur.java 18 Mar 2003 16:46:05 -0000 1.2
***************
*** 243,247 ****
cg=new BCalqueGrille();
- GrBoite b=new GrBoite();
cg.setForeground(Color.lightGray);
cg.setTitle("Grille");
--- 243,246 ----
***************
*** 328,332 ****
cqGrille_.reinitialise();
cqFormeI_.setGele(true);
! cqMaillage_.setMaillage(new GrMaillageElement());
cg.setBoite(null);
--- 327,332 ----
cqGrille_.reinitialise();
cqFormeI_.setGele(true);
! cqMaillage_.enleveTous();
! cqMaillage_.ajoute(new GrMaillageElement());
cg.setBoite(null);
***************
*** 546,550 ****
{
maillage_.mailler();
! cqMaillage_.setMaillage(maillage_.getMaillage());
getVueCalque().repaint();
if( !btRect_.isEnabled() ) btRect_.setEnabled(true);
--- 546,551 ----
{
maillage_.mailler();
! cqMaillage_.enleveTous();
! cqMaillage_.ajoute(maillage_.getMaillage());
getVueCalque().repaint();
if( !btRect_.isEnabled() ) btRect_.setEnabled(true);
Index: VagImport.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/VagImport.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VagImport.java 30 Jan 2003 13:29:59 -0000 1.1
--- VagImport.java 18 Mar 2003 16:46:06 -0000 1.2
***************
*** 30,34 ****
private JTextField tf_vag01_, tf_vag02_, tf_vag03_, tf_vag04_;
private JButton b_vag01_, b_vag02_, b_vag03_, b_vag04_, ok_, cancel_;
- private GridLayout lo_global_;
private BuGridLayout lo_vag_;
private JPanel pl_vag_, pl_ok_;
--- 30,33 ----
Index: VagFilleCalques.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/VagFilleCalques.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VagFilleCalques.java 30 Jan 2003 13:29:51 -0000 1.1
--- VagFilleCalques.java 18 Mar 2003 16:46:06 -0000 1.2
***************
*** 49,54 ****
BCalque cqRoot=_vc.getCalque();
! cqOrthoI_=(BCalqueInteraction)cqRoot.getCalque("cqORTHOGONALESI");
! cqDessinI_=(BCalqueInteraction)cqRoot.getCalque("cqDESSINI");
btOrtho_=new BuToggleButton("Orthogonales");
--- 49,54 ----
BCalque cqRoot=_vc.getCalque();
! cqOrthoI_=(BCalqueInteraction)cqRoot.getCalqueParNom("cqORTHOGONALESI");
! cqDessinI_=(BCalqueInteraction)cqRoot.getCalqueParNom("cqDESSINI");
btOrtho_=new BuToggleButton("Orthogonales");
Index: VagCalqueOrthogonalesInteraction.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/VagCalqueOrthogonalesInteraction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VagCalqueOrthogonalesInteraction.java 30 Jan 2003 13:30:01 -0000 1.1
--- VagCalqueOrthogonalesInteraction.java 18 Mar 2003 16:46:06 -0000 1.2
***************
*** 200,206 ****
private void sendToGraph(SResultatUnitaire05 orth, SResultatUnitaireInterOrth iorth, String courbe)
{
! String titre=new String("Orthogonale "+orth.numeroOrth);
! String ordUnite=new String("");
! String crbTitre=new String("");
Vector vals=new Vector();
Valeur v=null;
--- 200,206 ----
private void sendToGraph(SResultatUnitaire05 orth, SResultatUnitaireInterOrth iorth, String courbe)
{
! String titre="Orthogonale "+orth.numeroOrth;
! String ordUnite="";
! String crbTitre="";
Vector vals=new Vector();
Valeur v=null;
***************
*** 328,336 ****
private InputStream generateGDF(SResultatUnitaire05 orth, SResultatUnitaireInterOrth iorth, String courbe) throws IOException
{
! String gdfStr=new String("");
! String valStr=new String("");
! String ordUnite=new String("");
! String crbTitre=new String("");
! String titre=new String("Orthogonale "+orth.numeroOrth);
double s=0.;
double maxVal=0.;
--- 328,336 ----
private InputStream generateGDF(SResultatUnitaire05 orth, SResultatUnitaireInterOrth iorth, String courbe) throws IOException
{
! String gdfStr="";
! String valStr="";
! String ordUnite="";
! String crbTitre="";
! String titre="Orthogonale "+orth.numeroOrth;
double s=0.;
double maxVal=0.;
Index: VagImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/VagImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VagImplementation.java 30 Jan 2003 13:29:57 -0000 1.1
--- VagImplementation.java 18 Mar 2003 16:46:07 -0000 1.2
***************
*** 1191,1195 ****
BCalqueGrille cg=new BCalqueGrille();
- GrBoite b=new GrBoite();
cg.setForeground(Color.lightGray);
cg.setTitle("Grille");
--- 1191,1194 ----
***************
*** 1324,1330 ****
GrBoite boite=bathy.getBoite();
double x=(boite.e.x+boite.o.x)/2;
- double x2=boite.e.x-boite.o.x;
double y=(boite.e.y+boite.o.y)/2;
- double y2=boite.e.y-boite.o.y;
double z2=boite.e.z-boite.o.z;
bathy.setNouvelleEchelleZ((float)((x+y)/(z2*2*2)));
--- 1323,1327 ----
***************
*** 1524,1531 ****
private boolean valideContraintesCalcul()
{
! SParametres01 p01=(SParametres01)projet_.getParam(VagResource.VAG01);
! SParametres02 p02=(SParametres02)projet_.getParam(VagResource.VAG02);
! SParametres03 p03=(SParametres03)projet_.getParam(VagResource.VAG03);
! SParametres04 p04=(SParametres04)projet_.getParam(VagResource.VAG04);
if( !projet_.containsParam(VagResource.VAG03) ) {
--- 1521,1528 ----
private boolean valideContraintesCalcul()
{
! // SParametres01 p01=(SParametres01)projet_.getParam(VagResource.VAG01);
! // SParametres02 p02=(SParametres02)projet_.getParam(VagResource.VAG02);
! // SParametres03 p03=(SParametres03)projet_.getParam(VagResource.VAG03);
! // SParametres04 p04=(SParametres04)projet_.getParam(VagResource.VAG04);
if( !projet_.containsParam(VagResource.VAG03) ) {
Index: VagPreferencesPanel.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/VagPreferencesPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VagPreferencesPanel.java 30 Jan 2003 13:29:58 -0000 1.1
--- VagPreferencesPanel.java 18 Mar 2003 16:46:07 -0000 1.2
***************
*** 50,56 ****
String item;
String itemKey;
! optionsStr_.put(itemKey="Orthogonales", item=new String("O-Interaction"));
optionsStr_.put(item, itemKey);
! optionsStr_.put(itemKey="Dessin", item=new String("D-Interaction"));
optionsStr_.put(item, itemKey);
--- 50,56 ----
String item;
String itemKey;
! optionsStr_.put(itemKey="Orthogonales", item="O-Interaction");
optionsStr_.put(item, itemKey);
! optionsStr_.put(itemKey="Dessin", item="D-Interaction");
optionsStr_.put(item, itemKey);
Index: VagFilleParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/vag/VagFilleParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** VagFilleParametres.java 30 Jan 2003 13:29:56 -0000 1.1
--- VagFilleParametres.java 18 Mar 2003 16:46:08 -0000 1.2
***************
*** 533,537 ****
double tmpD=0.;
int tmpI=0;
- String tmpS=null;
try {
--- 533,536 ----
***************
*** 616,620 ****
double tmpD=0.;
int tmpI=0;
- String tmpS=null;
try {
tmpD=paramsVag04.periode;
--- 615,618 ----
|
|
From: <de...@us...> - 2003-03-18 16:46:42
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/seuil
Modified Files:
SeuilPreferences.java SeuilFilleResultats.java SeuilLido.java
SeuilGrapheGeom.java SeuilGraphe.java SeuilImplementation.java
SeuilPreferencesPanel.java SeuilFilleParametres.java
Log Message:
suppression variable inutile
suppression new String
Index: SeuilPreferences.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilPreferences.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilPreferences.java 30 Jan 2003 13:16:21 -0000 1.1
--- SeuilPreferences.java 18 Mar 2003 16:46:00 -0000 1.2
***************
*** 32,36 ****
throw new RuntimeException(""+_o+" is not a SeuilImplementation.");
! SeuilImplementation _appli=(SeuilImplementation)_o;
--- 32,36 ----
throw new RuntimeException(""+_o+" is not a SeuilImplementation.");
! // SeuilImplementation _appli=(SeuilImplementation)_o;
Index: SeuilFilleResultats.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilFilleResultats.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilFilleResultats.java 30 Jan 2003 13:16:21 -0000 1.1
--- SeuilFilleResultats.java 18 Mar 2003 16:46:00 -0000 1.2
***************
*** 99,109 ****
String[] sLibTypeNoy = {"Noye" ,"Denoye" ,"inconnu"};
! String sTypeSeuil = new String();
! String sTypeIncli = new String();
! String sTypeObli = new String();
! String sTypeNoy = new String();
! String messagew1 = new String(" ");
! String messagew2 = new String(" ");
//==========================================================
// Constructeur
--- 99,109 ----
String[] sLibTypeNoy = {"Noye" ,"Denoye" ,"inconnu"};
! String sTypeSeuil = "";
! String sTypeIncli = "";
! String sTypeObli = "";
! String sTypeNoy = "";
! String messagew1 = " ";
! String messagew2 = " ";
//==========================================================
// Constructeur
***************
*** 522,533 ****
//System.out.println("action getValeurs params = " + _params);
! String blanc="";
if( _params!=null ) {
! tf_nom_etude.setValue(new String(res_.resultatsSEU().titreEtude ));
! tf_TypeCrete.setValue(new String(res_.resultatsSEU().typeCretCal));
! tf_TypeEcoul.setValue(new String(res_.resultatsSEU().regime));
tf_HautCrit.setValue(new Double(res_.resultatsSEU().hc));
--- 522,533 ----
//System.out.println("action getValeurs params = " + _params);
! // String blanc="";
if( _params!=null ) {
! tf_nom_etude.setValue(res_.resultatsSEU().titreEtude );
! tf_TypeCrete.setValue(res_.resultatsSEU().typeCretCal);
! tf_TypeEcoul.setValue(res_.resultatsSEU().regime);
tf_HautCrit.setValue(new Double(res_.resultatsSEU().hc));
Index: SeuilLido.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilLido.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilLido.java 30 Jan 2003 13:16:21 -0000 1.1
--- SeuilLido.java 18 Mar 2003 16:46:01 -0000 1.2
***************
*** 38,42 ****
private double largw;
private double tm;
- private SeuilImplementation imp_;
private ChangeListener l;
private ChangeEvent e;
--- 38,41 ----
Index: SeuilGrapheGeom.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilGrapheGeom.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilGrapheGeom.java 30 Jan 2003 13:16:22 -0000 1.1
--- SeuilGrapheGeom.java 18 Mar 2003 16:46:01 -0000 1.2
***************
*** 98,102 ****
public void initGraphe ()
{
- int i;
Marges marges = new Marges();
graphe_ = new Graphe();
--- 98,101 ----
Index: SeuilGraphe.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilGraphe.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilGraphe.java 30 Jan 2003 13:16:21 -0000 1.1
--- SeuilGraphe.java 18 Mar 2003 16:46:02 -0000 1.2
***************
*** 72,79 ****
//==============================================
private Graphe graphe_;
! private Color[] col =
! {
! Color.black, Color.blue, Color.green, Color.orange, Color.pink
! };
// marges supplementaires en coor. utilisateur
// valeur peyt etre changee dans les procedures
--- 72,79 ----
//==============================================
private Graphe graphe_;
! // private Color[] col =
! // {
! // Color.black, Color.blue, Color.green, Color.orange, Color.pink
! // };
// marges supplementaires en coor. utilisateur
// valeur peyt etre changee dans les procedures
***************
*** 278,282 ****
//========================================================
double inclinaison = parm_.inclinaison;
! double oblicite = parm_.oblicite;
double raycourb = parm_.rayonCourb;
--- 278,282 ----
//========================================================
double inclinaison = parm_.inclinaison;
! // double oblicite = parm_.oblicite;
double raycourb = parm_.rayonCourb;
***************
*** 288,292 ****
double pelle = res_.resultatsSEU().pelle ;
double epais = res_.resultatsSEU().epaisCret ;
! double larg = res_.resultatsSEU().largEcoul ;
double hc = res_.resultatsSEU().hc ;
double chargAmont = res_.resultatsSEU().chargAmont ;
--- 288,292 ----
double pelle = res_.resultatsSEU().pelle ;
double epais = res_.resultatsSEU().epaisCret ;
! // double larg = res_.resultatsSEU().largEcoul ;
double hc = res_.resultatsSEU().hc ;
double chargAmont = res_.resultatsSEU().chargAmont ;
***************
*** 332,336 ****
int ip; // indice point
double x1,y1,x2,y2,x3,y3,x4,y4;
! double x5,y5,xw,yw;
double alphainc; // inclinaison en radians
double alphaw ; // angle en radians
--- 332,336 ----
int ip; // indice point
double x1,y1,x2,y2,x3,y3,x4,y4;
! double x5,y5;
double alphainc; // inclinaison en radians
double alphaw ; // angle en radians
***************
*** 664,670 ****
//========================================================
! double inclinaison = parm_.inclinaison;
double oblicite = parm_.oblicite;
! double raycourb = parm_.rayonCourb;
int nptAm = parm_.profAmont.nbPoints;
int nptAv = parm_.profAval.nbPoints;
--- 664,670 ----
//========================================================
! // double inclinaison = parm_.inclinaison;
double oblicite = parm_.oblicite;
! // double raycourb = parm_.rayonCourb;
int nptAm = parm_.profAmont.nbPoints;
int nptAv = parm_.profAval.nbPoints;
***************
*** 973,982 ****
double inclinaison = parm_.inclinaison;
! double oblicite = parm_.oblicite;
double raycourb = parm_.rayonCourb;
! String typeCretCal = parm_.typeCret;
double pelle = parm_.pelle ;
double epais = parm_.epaisCret ;
! double larg = parm_.largEcoul ;
double cotAmont = parm_.coteAmont ;
double cotAval = parm_.coteAval ;
--- 973,982 ----
double inclinaison = parm_.inclinaison;
! // double oblicite = parm_.oblicite;
double raycourb = parm_.rayonCourb;
! // String typeCretCal = parm_.typeCret;
double pelle = parm_.pelle ;
double epais = parm_.epaisCret ;
! // double larg = parm_.largEcoul ;
double cotAmont = parm_.coteAmont ;
double cotAval = parm_.coteAval ;
***************
*** 994,998 ****
double largref; // 4*largerf = largeur dessin coord utilisateur
double x1,y1,x2,y2,x3,y3,x4,y4;
! double x5,y5,xw,yw;
double alphainc; // inclinaison en radians
double alphaw ; // angle en radians
--- 994,998 ----
double largref; // 4*largerf = largeur dessin coord utilisateur
double x1,y1,x2,y2,x3,y3,x4,y4;
! double x5,y5;
double alphainc; // inclinaison en radians
double alphaw ; // angle en radians
***************
*** 1325,1331 ****
//========================================================
! double inclinaison = parm_.inclinaison;
double oblicite = parm_.oblicite;
! double raycourb = parm_.rayonCourb;
int nptAm = parm_.profAmont.nbPoints;
int nptAv = parm_.profAval.nbPoints;
--- 1325,1331 ----
//========================================================
! // double inclinaison = parm_.inclinaison;
double oblicite = parm_.oblicite;
! // double raycourb = parm_.rayonCourb;
int nptAm = parm_.profAmont.nbPoints;
int nptAv = parm_.profAval.nbPoints;
***************
*** 1340,1344 ****
double pelle = res_.resultatsSEU().pelle ;
double epais = res_.resultatsSEU().epaisCret ;
! double larg = res_.resultatsSEU().largEcoul ;
double hc = res_.resultatsSEU().hc ;
double chargAmont = res_.resultatsSEU().chargAmont ;
--- 1340,1344 ----
double pelle = res_.resultatsSEU().pelle ;
double epais = res_.resultatsSEU().epaisCret ;
! // double larg = res_.resultatsSEU().largEcoul ;
double hc = res_.resultatsSEU().hc ;
double chargAmont = res_.resultatsSEU().chargAmont ;
Index: SeuilImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilImplementation.java 30 Jan 2003 13:16:21 -0000 1.1
--- SeuilImplementation.java 18 Mar 2003 16:46:02 -0000 1.2
***************
*** 212,216 ****
BuMainPanel mp=getApp().getMainPanel();
mp.setPreferredSize(new Dimension(1000,600));
- BuColumn lc=mp.getLeftColumn();
BuColumn rc=mp.getRightColumn();
assistant_=new SeuilAssistant();
--- 212,215 ----
***************
*** 253,258 ****
BuMainPanel mp=getMainPanel();
- BuColumn rc=mp.getRightColumn();
-
projet_=new FudaaProjet(getApp(), new FudaaFiltreFichier("seuil"), System.getProperty("user.dir")+File.separator+"exemples"+File.separator+"seuil");
projet_.addFudaaProjetListener(this);
--- 252,255 ----
***************
*** 996,1001 ****
if(LidoMode == 0)
{
! p01.titreEtude= projet_.getTitre();
! p01.comentEtude= projet_.getComment();
}
--- 993,998 ----
if(LidoMode == 0)
{
! p01.titreEtude= projet_.getInformations().titre;
! p01.comentEtude= projet_.getInformations().commentaire;
}
***************
*** 1006,1011 ****
p01.profAval.xy = new SPoint01[nptmax];
! p01.profAmont.nomProfil = new String(" ") ;
! p01.profAval.nomProfil = new String(" ") ;
p01.profAmont.nbPoints = 0;
--- 1003,1008 ----
p01.profAval.xy = new SPoint01[nptmax];
! p01.profAmont.nomProfil = " " ;
! p01.profAval.nomProfil = " ";
p01.profAmont.nbPoints = 0;
Index: SeuilPreferencesPanel.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilPreferencesPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilPreferencesPanel.java 30 Jan 2003 13:16:21 -0000 1.1
--- SeuilPreferencesPanel.java 18 Mar 2003 16:46:03 -0000 1.2
***************
*** 46,54 ****
options_=SeuilPreferences.SEUIL;
seuil_=_seuil;
! int nSeuil, nSeuilCalq;
! Object items[];
optionsStr_=new Hashtable();
- String item;
- String itemKey;
// Panneau Seuil
--- 46,51 ----
options_=SeuilPreferences.SEUIL;
seuil_=_seuil;
! int nSeuil;
optionsStr_=new Hashtable();
// Panneau Seuil
Index: SeuilFilleParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/seuil/SeuilFilleParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SeuilFilleParametres.java 30 Jan 2003 13:16:20 -0000 1.1
--- SeuilFilleParametres.java 18 Mar 2003 16:46:04 -0000 1.2
***************
*** 112,116 ****
JLabel tf_HautCrit; // pour un panneau
JLabel tf_HautCrit1; // pour l'autre
! String chain = new String( " ") ; // pour affichage hauteur critique
// profils
BuTextField tf_nomProfAm;
--- 112,116 ----
JLabel tf_HautCrit; // pour un panneau
JLabel tf_HautCrit1; // pour l'autre
! String chain = " " ; // pour affichage hauteur critique
// profils
BuTextField tf_nomProfAm;
***************
*** 144,158 ****
String[] sLibTypeNoy = {"Noye" ,"Denoye" ,"inconnu"};
//
! String sTypeSeuil = new String();
! String sTypeIncli = new String();
! String sTypeObli = new String();
! String sTypeNoy = new String();
//
! String messagew1 = new String(" en crete mince");
! String messagew2 = new String(" en crete épaisse");
! String messagew3 = new String(" pour passer en crete épaisse, changez : ");
! String messagew4 = new String(" pour passer en crete mince , changez : ");
! String mesenvoie1 = new String(" ");
! String mesenvoie2 = new String(" ");
//==========================================================
// Constructeur
--- 144,158 ----
String[] sLibTypeNoy = {"Noye" ,"Denoye" ,"inconnu"};
//
! String sTypeSeuil = "";
! String sTypeIncli = "";
! String sTypeObli = "";
! String sTypeNoy = "";
//
! String messagew1 = " en crete mince";
! String messagew2 = " en crete épaisse";
! String messagew3 = " pour passer en crete épaisse, changez : ";
! String messagew4 = " pour passer en crete mince , changez : ";
! String mesenvoie1 = " ";
! String mesenvoie2 = " ";
//==========================================================
// Constructeur
***************
*** 824,830 ****
SParametresSEU parm_=(SParametresSEU)project_.getParam(SeuilResource.SEUIL01);
double inclinaison = parm_.inclinaison;
! double oblicite = parm_.oblicite;
double raycourb = parm_.rayonCourb;
! String typeCretCal = parm_.typeCret;
double pelle = parm_.pelle ;
double epais = parm_.epaisCret ;
--- 824,830 ----
SParametresSEU parm_=(SParametresSEU)project_.getParam(SeuilResource.SEUIL01);
double inclinaison = parm_.inclinaison;
! // double oblicite = parm_.oblicite;
double raycourb = parm_.rayonCourb;
! // String typeCretCal = parm_.typeCret;
double pelle = parm_.pelle ;
double epais = parm_.epaisCret ;
***************
*** 908,912 ****
determineCas(); // calcul hauteur critique
String chain;
! chain = new String( " ") ;
chain = chain.valueOf(hautCrit);
tf_HautCrit.setText( chain.substring(0,5));
--- 908,912 ----
determineCas(); // calcul hauteur critique
String chain;
! chain = " " ;
chain = chain.valueOf(hautCrit);
tf_HautCrit.setText( chain.substring(0,5));
***************
*** 1020,1024 ****
//System.out.println("action setValeurs params = " + _params);
! String blanc="";
if( _params!=null ) {
// profils
--- 1020,1024 ----
//System.out.println("action setValeurs params = " + _params);
! // String blanc="";
if( _params!=null ) {
// profils
***************
*** 1029,1033 ****
if(_params.profAmont.nbPoints > 0)
{tf_nbPointsAm.setValue(new Integer(_params.profAmont.nbPoints));}
! else{tf_nbPointsAm .setValue(new String(""));}
// System.out.println(" tf_nbPointsAm = " + tf_nbPointsAm );
//
--- 1029,1033 ----
if(_params.profAmont.nbPoints > 0)
{tf_nbPointsAm.setValue(new Integer(_params.profAmont.nbPoints));}
! else{tf_nbPointsAm .setValue("");}
// System.out.println(" tf_nbPointsAm = " + tf_nbPointsAm );
//
***************
*** 1036,1040 ****
if(_params.profAval.nbPoints > 0)
{tf_nbPointsAv.setValue(new Integer(_params.profAval.nbPoints));}
! else{tf_nbPointsAv .setValue(new String(""));}
--- 1036,1040 ----
if(_params.profAval.nbPoints > 0)
{tf_nbPointsAv.setValue(new Integer(_params.profAval.nbPoints));}
! else{tf_nbPointsAv .setValue("");}
***************
*** 1050,1059 ****
if(_params.profAmont.xy[i].x >= 0)
{tf_profAmontX[i] .setValue(new Double(_params.profAmont.xy[i].x));}
! else{tf_profAmontX[i].setValue(new String(""));}
// System.out.println("setValeurs tf_profAmontX[i] = "+i+" " + tf_profAmontX[i].getText());
if(_params.profAmont.xy[i].y >= 0)
{tf_profAmontY[i] .setValue(new Double(_params.profAmont.xy[i].y));}
! else{tf_profAmontY[i].setValue(new String(""));}
}
--- 1050,1059 ----
if(_params.profAmont.xy[i].x >= 0)
{tf_profAmontX[i] .setValue(new Double(_params.profAmont.xy[i].x));}
! else{tf_profAmontX[i].setValue("");}
// System.out.println("setValeurs tf_profAmontX[i] = "+i+" " + tf_profAmontX[i].getText());
if(_params.profAmont.xy[i].y >= 0)
{tf_profAmontY[i] .setValue(new Double(_params.profAmont.xy[i].y));}
! else{tf_profAmontY[i].setValue("");}
}
***************
*** 1065,1073 ****
if(_params.profAval.xy[i].x >= 0)
{tf_profAvalX[i] .setValue(new Double(_params.profAval.xy[i].x));}
! else{tf_profAvalX[i].setValue(new String(""));}
if(_params.profAval.xy[i].y >= 0)
{tf_profAvalY[i] .setValue(new Double(_params.profAval.xy[i].y));}
! else{tf_profAvalY[i].setValue(new String(""));}
}
--- 1065,1073 ----
if(_params.profAval.xy[i].x >= 0)
{tf_profAvalX[i] .setValue(new Double(_params.profAval.xy[i].x));}
! else{tf_profAvalX[i].setValue("");}
if(_params.profAval.xy[i].y >= 0)
{tf_profAvalY[i] .setValue(new Double(_params.profAval.xy[i].y));}
! else{tf_profAvalY[i].setValue("");}
}
***************
*** 1076,1113 ****
if(_params.pelle >= 0)
{tf_pelle.setValue(new Double(_params.pelle));}
! else{tf_pelle.setValue(new String(""));}
//tf_epaisCret .setValue(new Double(_params.epaisCret));
if(_params.epaisCret >= 0)
{tf_epaisCret.setValue(new Double(_params.epaisCret));}
! else{tf_epaisCret.setValue(new String(""));}
//tf_inclinaison .setValue(new Double(_params.inclinaison));
if(_params.inclinaison >= 0)
{tf_inclinaison.setValue(new Double(_params.inclinaison));}
! else{tf_inclinaison.setValue(new String(""));}
//tf_oblicite .setValue(new Double(_params.oblicite));
if(_params.oblicite >= 0)
{tf_oblicite.setValue(new Double(_params.oblicite));}
! else{tf_oblicite.setValue(new String(""));}
//tf_largEcoul .setValue(new Double(_params.largEcoul));
if(_params.largEcoul >= 0)
{tf_largEcoul.setValue(new Double(_params.largEcoul));}
! else{tf_largEcoul.setValue(new String(""));}
//tf_rayonCourb .setValue(new Double(_params.rayonCourb ));
if(_params.rayonCourb >= 0)
{tf_rayonCourb.setValue(new Double(_params.rayonCourb));}
! else{tf_rayonCourb.setValue(new String(""));}
// caracteristiques du seuil
// tf_debit .setValue(new Double(_params.debit));
if(_params.debit >= 0)
{tf_debit.setValue(new Double(_params.debit));}
! else{tf_debit.setValue(new String(""));}
// tf_coteAmont .setValue(new Double(_params.coteAmont));
if(_params.coteAmont >= 0)
{tf_coteAmont.setValue(new Double(_params.coteAmont));}
! else{tf_coteAmont.setValue(new String(""));}
// tf_coteAval .setValue(new Double(_params.coteAval));
if(_params.coteAval >= 0)
{tf_coteAval.setValue(new Double(_params.coteAval));}
! else{tf_coteAval.setValue(new String(""));}
// tf_nom_etude .setValue(_params.titreEtude==project_.getTitre()?"":_params.titreEtude);
--- 1076,1113 ----
if(_params.pelle >= 0)
{tf_pelle.setValue(new Double(_params.pelle));}
! else{tf_pelle.setValue("");}
//tf_epaisCret .setValue(new Double(_params.epaisCret));
if(_params.epaisCret >= 0)
{tf_epaisCret.setValue(new Double(_params.epaisCret));}
! else{tf_epaisCret.setValue("");}
//tf_inclinaison .setValue(new Double(_params.inclinaison));
if(_params.inclinaison >= 0)
{tf_inclinaison.setValue(new Double(_params.inclinaison));}
! else{tf_inclinaison.setValue("");}
//tf_oblicite .setValue(new Double(_params.oblicite));
if(_params.oblicite >= 0)
{tf_oblicite.setValue(new Double(_params.oblicite));}
! else{tf_oblicite.setValue("");}
//tf_largEcoul .setValue(new Double(_params.largEcoul));
if(_params.largEcoul >= 0)
{tf_largEcoul.setValue(new Double(_params.largEcoul));}
! else{tf_largEcoul.setValue("");}
//tf_rayonCourb .setValue(new Double(_params.rayonCourb ));
if(_params.rayonCourb >= 0)
{tf_rayonCourb.setValue(new Double(_params.rayonCourb));}
! else{tf_rayonCourb.setValue("");}
// caracteristiques du seuil
// tf_debit .setValue(new Double(_params.debit));
if(_params.debit >= 0)
{tf_debit.setValue(new Double(_params.debit));}
! else{tf_debit.setValue("");}
// tf_coteAmont .setValue(new Double(_params.coteAmont));
if(_params.coteAmont >= 0)
{tf_coteAmont.setValue(new Double(_params.coteAmont));}
! else{tf_coteAmont.setValue("");}
// tf_coteAval .setValue(new Double(_params.coteAval));
if(_params.coteAval >= 0)
{tf_coteAval.setValue(new Double(_params.coteAval));}
! else{tf_coteAval.setValue("");}
// tf_nom_etude .setValue(_params.titreEtude==project_.getTitre()?"":_params.titreEtude);
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar
In directory sc8-pr-cvs1:/tmp/cvs-serv26728/fudaa/src/org/fudaa/fudaa/oscar
Modified Files:
OscarFilleNoteDeCalculs.java OscarDialogCalculatriceK.java
WTree.java OscarDialogNoteDeCalculsConfig.java
OscarSolParametres.java
OscarEffortsParametresContraintesVerticales.java
OscarDialogInformation.java WHtmlContent.java
OscarDialogCalculatriceSection.java OscarFilleParametres.java
OscarIncertitudesParametres.java OscarLib.java
OscarSolParametresSolEnButee.java
OscarSolParametresSolEnPoussee.java OscarEauParametres.java
OscarImplementation.java
Log Message:
suppression variable inutile
suppression new String
Index: OscarFilleNoteDeCalculs.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarFilleNoteDeCalculs.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OscarFilleNoteDeCalculs.java 31 Jan 2003 16:12:20 -0000 1.2
--- OscarFilleNoteDeCalculs.java 18 Mar 2003 16:45:16 -0000 1.3
***************
*** 189,193 ****
public void actionPerformed(ActionEvent _e) {
! String _a = _e.getActionCommand();
}
--- 189,193 ----
public void actionPerformed(ActionEvent _e) {
! // String _a = _e.getActionCommand();
}
Index: OscarDialogCalculatriceK.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarDialogCalculatriceK.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OscarDialogCalculatriceK.java 30 Jan 2003 13:10:29 -0000 1.1
--- OscarDialogCalculatriceK.java 18 Mar 2003 16:45:17 -0000 1.2
***************
*** 221,234 ****
! b1_ = new BuPanel(OscarLib.VerticalLayout());
b1_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB_INFO));
! b2_ = new BuPanel(OscarLib.GridLayout(5));
b2_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB005));
! b3_ = new BuPanel(new FlowLayout(FlowLayout.LEFT));
b3_.setBorder(OscarLib.TitledBorder((pbCoef_.equals(COEF_POUSSEE))?OscarMsg.TITLELAB006:OscarMsg.TITLELAB007));
! b5_ = new BuPanel(OscarLib.VerticalLayout());
b5_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB_INFO));
--- 221,238 ----
! b1_ = new BuPanel();
! b1_.setLayout(OscarLib.VerticalLayout());
b1_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB_INFO));
! b2_ = new BuPanel();
! b2_.setLayout(OscarLib.GridLayout(5));
b2_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB005));
! b3_ = new BuPanel();
! b3_.setLayout(new FlowLayout(FlowLayout.LEFT));
b3_.setBorder(OscarLib.TitledBorder((pbCoef_.equals(COEF_POUSSEE))?OscarMsg.TITLELAB006:OscarMsg.TITLELAB007));
! b5_ = new BuPanel();
! b5_.setLayout(OscarLib.VerticalLayout());
b5_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB_INFO));
Index: WTree.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/WTree.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** WTree.java 31 Jan 2003 16:12:25 -0000 1.2
--- WTree.java 18 Mar 2003 16:45:18 -0000 1.3
***************
*** 510,514 ****
});
! JLabel _l_commentaires = new JLabel("Commentaires");
//add(_l_commentaires,1.0,1.0,0,i++,2,1,GridBagConstraints.WEST,GridBagConstraints.BOTH);
--- 510,514 ----
});
! // JLabel _l_commentaires = new JLabel("Commentaires");
//add(_l_commentaires,1.0,1.0,0,i++,2,1,GridBagConstraints.WEST,GridBagConstraints.BOTH);
***************
*** 742,746 ****
add(_cb_palplanches,1.0,1.0,1,i++,1,1,GridBagConstraints.WEST,GridBagConstraints.BOTH);
- JLabel _l_commentaires = new JLabel("Commentaires");
//add(_l_commentaires,1.0,1.0,0,i++,2,1,GridBagConstraints.WEST,GridBagConstraints.BOTH);
--- 742,745 ----
Index: OscarDialogNoteDeCalculsConfig.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarDialogNoteDeCalculsConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OscarDialogNoteDeCalculsConfig.java 30 Jan 2003 13:10:29 -0000 1.1
--- OscarDialogNoteDeCalculsConfig.java 18 Mar 2003 16:45:19 -0000 1.2
***************
*** 61,65 ****
public void actionPerformed(ActionEvent _evt){
! String action = _evt.getActionCommand();
}
--- 61,65 ----
public void actionPerformed(ActionEvent _evt){
! // String action = _evt.getActionCommand();
}
Index: OscarSolParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarSolParametres.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OscarSolParametres.java 4 Feb 2003 16:22:46 -0000 1.2
--- OscarSolParametres.java 18 Mar 2003 16:45:19 -0000 1.3
***************
*** 536,541 ****
double _niveau=(double)0;
- double _niveaumax1 = (double)0;
- double _niveaumax2 = (double)0;
double _npou;
double _nbut;
--- 536,539 ----
Index: OscarEffortsParametresContraintesVerticales.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarEffortsParametresContraintesVerticales.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OscarEffortsParametresContraintesVerticales.java 30 Jan 2003 13:10:28 -0000 1.1
--- OscarEffortsParametresContraintesVerticales.java 18 Mar 2003 16:45:20 -0000 1.2
***************
*** 206,210 ****
SContrainte _c = null;
- double _v;
try{
--- 206,209 ----
Index: OscarDialogInformation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarDialogInformation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OscarDialogInformation.java 31 Jan 2003 16:14:51 -0000 1.1
--- OscarDialogInformation.java 18 Mar 2003 16:45:20 -0000 1.2
***************
*** 50,54 ****
//new FlowLayout(FlowLayout.RIGHT));
! BuButton btAide_=new BuButton(BuLib.loadToolCommandIcon("AIDE"),
BuResource.BU.getString("Aide"));
btAide_.addActionListener(new ActionListener(){
--- 50,54 ----
//new FlowLayout(FlowLayout.RIGHT));
! BuButton btAide_=new BuButton(BuResource.BU.loadToolCommandIcon("AIDE"),
BuResource.BU.getString("Aide"));
btAide_.addActionListener(new ActionListener(){
***************
*** 59,63 ****
pnb.add(btAide_);
! BuButton btContinuer_=new BuButton(BuLib.loadToolCommandIcon("CONTINUER"),
BuResource.BU.getString("Continuer"));
btContinuer_.addActionListener(new ActionListener(){
--- 59,63 ----
pnb.add(btAide_);
! BuButton btContinuer_=new BuButton(BuResource.BU.loadToolCommandIcon("CONTINUER"),
BuResource.BU.getString("Continuer"));
btContinuer_.addActionListener(new ActionListener(){
Index: WHtmlContent.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/WHtmlContent.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** WHtmlContent.java 7 Feb 2003 16:35:35 -0000 1.4
--- WHtmlContent.java 18 Mar 2003 16:45:21 -0000 1.5
***************
*** 169,173 ****
protected void buildContent(){
- String _tmp = "";
int _nbcouchespou = params_.sol.nombreCouchesPoussee;
int _nbcouchesbut = params_.sol.nombreCouchesButee;
--- 169,172 ----
***************
*** 448,452 ****
protected void buildContent(){
- String _tmp="";
String _a,_b,_c;
--- 447,450 ----
Index: OscarDialogCalculatriceSection.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarDialogCalculatriceSection.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OscarDialogCalculatriceSection.java 30 Jan 2003 13:10:30 -0000 1.1
--- OscarDialogCalculatriceSection.java 18 Mar 2003 16:45:22 -0000 1.2
***************
*** 108,118 ****
bt_annuler_ = OscarLib.Button("Annuler", "ANNULER", "ANNULER");
! b1_ = new BuPanel(OscarLib.VerticalLayout());
b1_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB_INFO));
! b2_ = new BuPanel(OscarLib.GridLayout(5));
b2_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB029));
! b3_ = new BuPanel(new FlowLayout(FlowLayout.LEFT));
b3_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB030));
--- 108,121 ----
bt_annuler_ = OscarLib.Button("Annuler", "ANNULER", "ANNULER");
! b1_ = new BuPanel();
! b1_.setLayout(OscarLib.VerticalLayout());
b1_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB_INFO));
! b2_ = new BuPanel();
! b2_.setLayout(OscarLib.GridLayout(5));
b2_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB029));
! b3_ = new BuPanel();
! b3_.setLayout(new FlowLayout(FlowLayout.LEFT));
b3_.setBorder(OscarLib.TitledBorder(OscarMsg.TITLELAB030));
Index: OscarFilleParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarFilleParametres.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OscarFilleParametres.java 31 Jan 2003 16:12:20 -0000 1.2
--- OscarFilleParametres.java 18 Mar 2003 16:45:23 -0000 1.3
***************
*** 152,156 ****
*/
protected void changeOnglet(ChangeEvent _evt){
! OscarParamEventView _mv = ((OscarImplementation)getApplication().getImplementation()).getParamEventView();
((OscarAbstractOnglet)tpm_.getComponentAt(getCurrentTab())).stateChanged(_evt);
setCurrentTab(tpm_.getSelectedIndex());
--- 152,156 ----
*/
protected void changeOnglet(ChangeEvent _evt){
! //OscarParamEventView _mv = ((OscarImplementation)getApplication().getImplementation()).getParamEventView();
((OscarAbstractOnglet)tpm_.getComponentAt(getCurrentTab())).stateChanged(_evt);
setCurrentTab(tpm_.getSelectedIndex());
Index: OscarIncertitudesParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarIncertitudesParametres.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OscarIncertitudesParametres.java 4 Feb 2003 16:22:46 -0000 1.2
--- OscarIncertitudesParametres.java 18 Mar 2003 16:45:24 -0000 1.3
***************
*** 273,278 ****
Double _susiV = getSurchargeUniformeSemiInfinie();
! Double _cntmin = ((OscarSolParametres)getFilleParametres().getOnglet(OscarLib.ONGLET_SOL)).getCoteBasDuSol();
! Double _cntmax = ((OscarSolParametres)getFilleParametres().getOnglet(OscarLib.ONGLET_SOL)).getCoteHautDuSol();
Double _dmin = ((OscarSolParametres)getFilleParametres().getOnglet(OscarLib.ONGLET_SOL)).getCoteFondDeSouille();
--- 273,278 ----
Double _susiV = getSurchargeUniformeSemiInfinie();
! //Double _cntmin = ((OscarSolParametres)getFilleParametres().getOnglet(OscarLib.ONGLET_SOL)).getCoteBasDuSol();
! //Double _cntmax = ((OscarSolParametres)getFilleParametres().getOnglet(OscarLib.ONGLET_SOL)).getCoteHautDuSol();
Double _dmin = ((OscarSolParametres)getFilleParametres().getOnglet(OscarLib.ONGLET_SOL)).getCoteFondDeSouille();
Index: OscarLib.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarLib.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OscarLib.java 31 Jan 2003 16:12:21 -0000 1.2
--- OscarLib.java 18 Mar 2003 16:45:26 -0000 1.3
***************
*** 611,615 ****
public static void exportGraphScriptToGif(String _script,String _file){
! Graphe _g = Graphe.parse(new Lecteur(new ByteArrayInputStream(_script.getBytes())),(Applet)null);
// Palette Web => 216 couleurs
--- 611,615 ----
public static void exportGraphScriptToGif(String _script,String _file){
! Graphe _g = Graphe.parse(new Lecteur(new StringReader(_script)),(Applet)null);
// Palette Web => 216 couleurs
***************
*** 657,661 ****
public static void showDialogGraphViewer(BuCommonInterface _app,String _title,String _script){
! Lecteur _lin = new Lecteur(new ByteArrayInputStream(_script.getBytes()));
Graphe _g = Graphe.parse(_lin,(Applet)null);
//Graphe _g = Graphe.parse(new Lecteur(new InputStreamReader(new StringReader(_script))),(Applet)null);
--- 657,662 ----
public static void showDialogGraphViewer(BuCommonInterface _app,String _title,String _script){
! //Lecteur _lin = new Lecteur(new ByteArrayInputStream(_script.getBytes()));
! Lecteur _lin = new Lecteur(new StringReader(_script));
Graphe _g = Graphe.parse(_lin,(Applet)null);
//Graphe _g = Graphe.parse(new Lecteur(new InputStreamReader(new StringReader(_script))),(Applet)null);
***************
*** 693,697 ****
int _tmpsize=0;
TableColumn _tmptcm=null;
! DefaultTableModel _tm = new DefaultTableModel();
for(int i=0;i<_c.length;i++){
try{
--- 694,698 ----
int _tmpsize=0;
TableColumn _tmptcm=null;
! //DefaultTableModel _tm = new DefaultTableModel();
for(int i=0;i<_c.length;i++){
try{
***************
*** 1200,1204 ****
Vector _data = readCsvFile(_f);
- Double _dv;
double _cur;
--- 1201,1204 ----
***************
*** 1483,1487 ****
pn1.setLayout(lo1);
pn1.setBorder(new EmptyBorder(0,0,0,0));
- int n1=0;
//// Bloc 'Informations'
--- 1483,1486 ----
***************
*** 1529,1533 ****
pn1.setLayout(lo1);
pn1.setBorder(new EmptyBorder(0,0,0,0));
- int n1=0;
//// Bloc 'Informations'
--- 1528,1531 ----
***************
*** 1579,1583 ****
pn1.setLayout(lo1);
pn1.setBorder(new EmptyBorder(0,0,0,0));
- int n1=0;
//// Bloc 'Informations'
--- 1577,1580 ----
***************
*** 1637,1641 ****
pn1.setLayout(lo1);
pn1.setBorder(new EmptyBorder(0,0,0,0));
- int n1=0;
//// Bloc 'Informations'
--- 1634,1637 ----
Index: OscarSolParametresSolEnButee.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarSolParametresSolEnButee.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OscarSolParametresSolEnButee.java 6 Feb 2003 16:51:15 -0000 1.2
--- OscarSolParametresSolEnButee.java 18 Mar 2003 16:45:28 -0000 1.3
***************
*** 413,417 ****
SCoucheSol _c = null;
- double _v;
try{
--- 413,416 ----
Index: OscarSolParametresSolEnPoussee.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarSolParametresSolEnPoussee.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** OscarSolParametresSolEnPoussee.java 6 Feb 2003 16:51:15 -0000 1.2
--- OscarSolParametresSolEnPoussee.java 18 Mar 2003 16:45:28 -0000 1.3
***************
*** 206,210 ****
if(evt.getPropertyName().equals("SOL_TYPE_CALCUL")){
! int _old = ((Integer)evt.getOldValue()).intValue();
int _new = ((Integer)evt.getNewValue()).intValue();
--- 206,210 ----
if(evt.getPropertyName().equals("SOL_TYPE_CALCUL")){
! // int _old = ((Integer)evt.getOldValue()).intValue();
int _new = ((Integer)evt.getNewValue()).intValue();
Index: OscarEauParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarEauParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** OscarEauParametres.java 30 Jan 2003 13:10:32 -0000 1.1
--- OscarEauParametres.java 18 Mar 2003 16:45:28 -0000 1.2
***************
*** 574,582 ****
SParametresOscar _p = ((OscarFilleParametres)getParentComponent()).getParametres();
- SSol _sol = _p.sol;
double _min;
double _max;
- int i;
boolean _emptycotpou=false;
--- 574,580 ----
Index: OscarImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/oscar/OscarImplementation.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** OscarImplementation.java 7 Feb 2003 16:35:33 -0000 1.5
--- OscarImplementation.java 18 Mar 2003 16:45:29 -0000 1.6
***************
*** 216,224 ****
mp.setMessage("Veuillez patienter pendant le chargement du logiciel...");
- BuColumn lc = mp.getLeftColumn();
BuColumn rc = mp.getRightColumn();
assistant_ = new OscarAssistant();
taches_ = new BuTaskView();
- BuScrollPane sp = OscarLib.ColumnScrollPane(taches_);
msgView_ = new OscarParamEventView();
BuScrollPane sp2 = OscarLib.ColumnScrollPane(msgView_);
--- 216,222 ----
***************
*** 517,521 ****
private void enroule_deroule(String _panneau) {
BuColumn rc=getMainPanel().getRightColumn();
- BuColumn lc=getMainPanel().getLeftColumn();
if(_panneau.equals("ASSISTANT") || _panneau.equals("TACHE") || _panneau.equals("MESSAGE") || _panneau.equals("UNITES")) {
rc.toggleComponent(_panneau);
--- 515,518 ----
***************
*** 680,685 ****
String _messagesErreurs=null;
SResultatsOscar _res = null;
- boolean _resultatOscar=false;;
- boolean _erreurOscar=false;
// Vérifie si l'utilisateur est connecté à un serveur
--- 677,680 ----
***************
*** 1018,1022 ****
*/
protected void importer(String _oscarId){
! BuDialog _d = new BuDialogMessage(getApp(),getApp().getInformationsSoftware(),OscarMsg.DLG014);
}
--- 1013,1017 ----
*/
protected void importer(String _oscarId){
! new BuDialogMessage(getApp(),getApp().getInformationsSoftware(),OscarMsg.DLG014).activate();
}
***************
*** 1134,1138 ****
public void propertyChange(PropertyChangeEvent _evt){
String _p = _evt.getPropertyName();
- Object _ov = _evt.getOldValue();
Object _nv = _evt.getNewValue();
//WSpy.Spy(_p+" = "+_nv+" (old value was "+_ov+")");
--- 1129,1132 ----
|
|
From: <de...@us...> - 2003-03-18 16:41:41
|
Update of /cvsroot/fudaa/fudaa_devel
In directory sc8-pr-cvs1:/tmp/cvs-serv20874
Modified Files:
ANT_README.txt
Log Message:
maj
Index: ANT_README.txt
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/ANT_README.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ANT_README.txt 30 Jan 2003 13:44:24 -0000 1.1
--- ANT_README.txt 18 Mar 2003 16:29:27 -0000 1.2
***************
*** 13,17 ****
clean
! Efface le dossier "build".
check
--- 13,20 ----
clean
! Efface le dossier "build/classes".
!
! cleanAll
! Efface le dossier "build" ( et "dist" pour fudaa ).
check
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre
In directory sc8-pr-cvs1:/tmp/cvs-serv25149/fudaa/src/org/fudaa/fudaa/diapre
Modified Files:
DiapreCommentaires.java DiapreGeometrieParametres.java
DiapreValidationParametres.java DiapreImplementation.java
DiapreCalculCourtTerme.java DiapreTableLin.java
TextFieldsDiapre.java DiapreFinCalculs.java
DiapreFilleRappelDonnees.java DiaprePrecision.java
DiapreSurchartrap.java DiapreTableauValeurs.java
DiapreListeEtude.java DiapreFilleParametres.java
DiapreSurcharlin.java DiapreCalculLongTerme.java
DiapreSurcharunifdess.java DiapreSolsParametres.java
DiapreSurchartrapdess.java DiapreOptionsDiscret.java
DiapreTableauInclinaison.java
Log Message:
suppression variable inutile
suppression new String
Index: DiapreCommentaires.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreCommentaires.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreCommentaires.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreCommentaires.java 18 Mar 2003 16:40:26 -0000 1.2
***************
*** 45,49 ****
}
! public DiapreCommentaires (BuCommonInterface _appli)
{
super();
--- 45,49 ----
}
! public DiapreCommentaires ()
{
super();
Index: DiapreGeometrieParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreGeometrieParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreGeometrieParametres.java 30 Jan 2003 12:39:41 -0000 1.1
--- DiapreGeometrieParametres.java 18 Mar 2003 16:40:28 -0000 1.2
***************
*** 10,14 ****
package org.fudaa.fudaa.diapre;
- import java.lang.*;
import java.awt.*;
import java.awt.event.*;
--- 10,13 ----
***************
*** 45,68 ****
STalusDiapre talus;
final Object[][] data = {
! {"point 1 ", new String("") , new String("")},
! {"point 2 ", new String("") , new String("")},
! {"point 3 ", new String("") , new String("")},
! {"point 4 ", new String("") , new String("")},
! {"point 5 ", new String("") , new String("")},
! {"point 6 ", new String("") , new String("")},
! {"point 7 ", new String("") , new String("")},
! {"point 8 ", new String("") , new String("")},
! {"point 9 ", new String("") , new String("")},
! {"point 10", new String("") , new String("")},
! {"point 11", new String("") , new String("")},
! {"point 12", new String("") , new String("")},
! {"point 13", new String("") , new String("")},
! {"point 14", new String("") , new String("")},
! {"point 15", new String("") , new String("")},
! {"point 16", new String("") , new String("")},
! {"point 17", new String("") , new String("")},
! {"point 18", new String("") , new String("")},
! {"point 19", new String("") , new String("")},
! {"point 20", new String("") , new String("")}
};
MyTableModel myModel = new MyTableModel();
--- 44,67 ----
STalusDiapre talus;
final Object[][] data = {
! {"point 1 ", "" , ""},
! {"point 2 ", "" , ""},
! {"point 3 ", "" , ""},
! {"point 4 ", "" , ""},
! {"point 5 ", "" , ""},
! {"point 6 ", "" , ""},
! {"point 7 ", "" , ""},
! {"point 8 ", "" , ""},
! {"point 9 ", "" , ""},
! {"point 10", "" , ""},
! {"point 11", "" , ""},
! {"point 12", "" , ""},
! {"point 13", "" , ""},
! {"point 14", "" , ""},
! {"point 15", "" , ""},
! {"point 16", "" , ""},
! {"point 17", "" , ""},
! {"point 18", "" , ""},
! {"point 19", "" , ""},
! {"point 20", "" , ""}
};
MyTableModel myModel = new MyTableModel();
***************
*** 75,80 ****
static int cpt = 0;
static char chaine[] = new char[100];
- static private int ligne;
- static private int col;
public DiapreCellEditor anEditor1=new DiapreCellEditor();
public DiapreCellEditor anEditor2=new DiapreCellEditor();
--- 74,77 ----
***************
*** 135,139 ****
table.setColumnSelectionInterval(1,1);
table.setPreferredScrollableViewportSize(new Dimension(200, 155));
! JScrollPane scrollPane = table.createScrollPaneForTable(table);
(table.getTableHeader()).setReorderingAllowed(false);
//table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
--- 132,136 ----
table.setColumnSelectionInterval(1,1);
table.setPreferredScrollableViewportSize(new Dimension(200, 155));
! JScrollPane scrollPane = new JScrollPane(table);
(table.getTableHeader()).setReorderingAllowed(false);
//table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
***************
*** 325,329 ****
data[row][col] = value;
}
! else data[row][col] = new String("");
}
--- 322,326 ----
data[row][col] = value;
}
! else data[row][col] = "";
}
Index: DiapreValidationParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreValidationParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreValidationParametres.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreValidationParametres.java 18 Mar 2003 16:40:29 -0000 1.2
***************
*** 125,129 ****
int nombrePointTalus = parametresDiapre.talusDiapre.nombrePointsTalus;
int nombreCouche = parametresDiapre.sol.nombreCouches;
! double dernierPointTalus = parametresDiapre.talusDiapre.pointsTalus[nombrePointTalus-2].ordonneePointDiapre;
double dernierPointEcran = parametresDiapre.talusDiapre.pointsTalus[nombrePointTalus-1].ordonneePointDiapre;
double minTalus=fp_.pnGeometrie.getMinTalus();
--- 125,129 ----
int nombrePointTalus = parametresDiapre.talusDiapre.nombrePointsTalus;
int nombreCouche = parametresDiapre.sol.nombreCouches;
! //double dernierPointTalus = parametresDiapre.talusDiapre.pointsTalus[nombrePointTalus-2].ordonneePointDiapre;
double dernierPointEcran = parametresDiapre.talusDiapre.pointsTalus[nombrePointTalus-1].ordonneePointDiapre;
double minTalus=fp_.pnGeometrie.getMinTalus();
***************
*** 137,159 ****
//premiere couche
if(nombreCouche == 1 && parametresDiapre.sol.premiereCouche.limiteInferieureCouche > dernierPointEcran){
! messErreur = new String("Erreur sol : la limite inférieure de la couche n°1 doit être inférieure à "
! +dernierPointEcran+" m");
erreur = true;
}
if( nombreCouche > 1 && parametresDiapre.sol.premiereCouche.limiteInferieureCouche > minTalus){
! messErreur = new String(messErreur+"\nErreur sol : la limite inférieure de la couche n°1 doit être inférieure à "
! +minTalus+" m");
erreur = true;
}
//derniere couche
if( nombreCouche > 1 && parametresDiapre.sol.autresCouches[nombreCouche-2].limiteInferieureCouche > dernierPointEcran){
! messErreur = new String(messErreur+"\nErreur sol : la limite inférieure de la couche n°"+nombreCouche+
! " doit être inférieure à "+dernierPointEcran+" m");
erreur = true;
}
// Eau
if(parametresDiapre.eau.presenceNappeEau==1 && parametresDiapre.eau.coteNappeEau> minTalus){
! messErreur = new String(messErreur+"\nErreur eau : l'ordonnée de la nappe d'eau doit être inférieure à "
! +minTalus+" m");
erreur = true;
}
--- 137,159 ----
//premiere couche
if(nombreCouche == 1 && parametresDiapre.sol.premiereCouche.limiteInferieureCouche > dernierPointEcran){
! messErreur = "Erreur sol : la limite inférieure de la couche n°1 doit être inférieure à "
! +dernierPointEcran+" m";
erreur = true;
}
if( nombreCouche > 1 && parametresDiapre.sol.premiereCouche.limiteInferieureCouche > minTalus){
! messErreur = messErreur+"\nErreur sol : la limite inférieure de la couche n°1 doit être inférieure à "
! +minTalus+" m";
erreur = true;
}
//derniere couche
if( nombreCouche > 1 && parametresDiapre.sol.autresCouches[nombreCouche-2].limiteInferieureCouche > dernierPointEcran){
! messErreur = messErreur+"\nErreur sol : la limite inférieure de la couche n°"+nombreCouche+
! " doit être inférieure à "+dernierPointEcran+" m";
erreur = true;
}
// Eau
if(parametresDiapre.eau.presenceNappeEau==1 && parametresDiapre.eau.coteNappeEau> minTalus){
! messErreur = messErreur+"\nErreur eau : l'ordonnée de la nappe d'eau doit être inférieure à "
! +minTalus+" m";
erreur = true;
}
***************
*** 161,170 ****
if(nombreSurchargesLineiques > 0 && (parametresDiapre.surchargesProjet.surchargesLineiques[0].abscisse<xmin||
parametresDiapre.surchargesProjet.surchargesLineiques[nombreSurchargesLineiques-1].abscisse>xmax)){
! messErreur = new String(messErreur+"\nErreur surcharges linéiques: les abscisses doivent appartenir à ["+xmin+","+xmax+"]");
erreur = true;
}
if(nombreSurchargesTrapezoidales > 0 && (parametresDiapre.surchargesProjet.surchargesTrapezoidales[0].abscisseDebut<xmin||
parametresDiapre.surchargesProjet.surchargesTrapezoidales[nombreSurchargesTrapezoidales-1].abscisseFin>xmax)){
! messErreur = new String(messErreur+"\nErreur surcharges trapézoïdales: les abscisses doivent appartenir à ["+xmin+","+xmax+"]");
erreur = true;
}
--- 161,170 ----
if(nombreSurchargesLineiques > 0 && (parametresDiapre.surchargesProjet.surchargesLineiques[0].abscisse<xmin||
parametresDiapre.surchargesProjet.surchargesLineiques[nombreSurchargesLineiques-1].abscisse>xmax)){
! messErreur = messErreur+"\nErreur surcharges linéiques: les abscisses doivent appartenir à ["+xmin+","+xmax+"]";
erreur = true;
}
if(nombreSurchargesTrapezoidales > 0 && (parametresDiapre.surchargesProjet.surchargesTrapezoidales[0].abscisseDebut<xmin||
parametresDiapre.surchargesProjet.surchargesTrapezoidales[nombreSurchargesTrapezoidales-1].abscisseFin>xmax)){
! messErreur = messErreur+"\nErreur surcharges trapézoïdales: les abscisses doivent appartenir à ["+xmin+","+xmax+"]";
erreur = true;
}
Index: DiapreImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreImplementation.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreImplementation.java 18 Mar 2003 16:40:30 -0000 1.2
***************
*** 90,95 ****
protected DiapreListeEtude liste_;
protected BuInternalFrame fGraphiques_;
! private static final boolean enrResults_=
! ( (System.getProperty("project.loadresults")==null)||(System.getProperty("project.loadresults").equals("yes")) );
static {
--- 90,94 ----
protected DiapreListeEtude liste_;
protected BuInternalFrame fGraphiques_;
!
static {
***************
*** 681,685 ****
String LouC = parametresDiapre.parametresGeneraux.choixCalcul;
! DiapreFinCalculs calc= new DiapreFinCalculs(getApp(), nomCourt,LouC);
if(LouC.equals("L"))
--- 680,684 ----
String LouC = parametresDiapre.parametresGeneraux.choixCalcul;
! DiapreFinCalculs calc= new DiapreFinCalculs(nomCourt,LouC);
if(LouC.equals("L"))
***************
*** 824,828 ****
//Enregistrement du rapport en html
protected void html() {
- String html;
double[] ytalus = new double[2];
SParametresDiapre params = fp_.getParametresDiapre();
--- 823,826 ----
***************
*** 884,889 ****
activateInternalFrame(fRappelDonnees_);
! SParametresDiapre params = fp_.getParametresDiapre();
! DiapreFilleRappelDonnees rd = new DiapreFilleRappelDonnees(getApp());
//fRappelDonnees_.setHtmlSource( rd.construitRappelDonnees( params ));
--- 882,889 ----
activateInternalFrame(fRappelDonnees_);
! //SParametresDiapre params = fp_.getParametresDiapre();
! //utile ?
! fp_.getParametresDiapre();
! new DiapreFilleRappelDonnees(getApp());
//fRappelDonnees_.setHtmlSource( rd.construitRappelDonnees( params ));
Index: DiapreCalculCourtTerme.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreCalculCourtTerme.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreCalculCourtTerme.java 30 Jan 2003 12:39:43 -0000 1.1
--- DiapreCalculCourtTerme.java 18 Mar 2003 16:40:31 -0000 1.2
***************
*** 91,104 ****
//affichage du numero de la couche
int j=i+1;
! String numCouche = new String(" "+j+"");
numeroCouche.setText(numCouche);
numeroCouche.setEditable(false);
numeroCouche.setEnabled(false);
// message d'erreur
! messErreur[0]=new String("La limite inférieure de la couche n°1 doit \nêtre inférieure ou égale à ");
! messErreur[1]=new String("La limite inférieure de la couche n°");
! messErreur[2]=new String("\ndoit être inférieure ou égale à ");
! messErreur[3]=new String("L'angle de frottement interne doit être \n compris entre 0° et 90°");
! messErreur[4]=new String("Vous devez compléter toutes les données \nconcernant cette couche");
// Création du layout manager
--- 91,104 ----
//affichage du numero de la couche
int j=i+1;
! String numCouche = " "+j;
numeroCouche.setText(numCouche);
numeroCouche.setEditable(false);
numeroCouche.setEnabled(false);
// message d'erreur
! messErreur[0]="La limite inférieure de la couche n°1 doit \nêtre inférieure ou égale à ";
! messErreur[1]="La limite inférieure de la couche n°";
! messErreur[2]="\ndoit être inférieure ou égale à ";
! messErreur[3]="L'angle de frottement interne doit être \n compris entre 0° et 90°";
! messErreur[4]="Vous devez compléter toutes les données \nconcernant cette couche";
// Création du layout manager
Index: DiapreTableLin.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreTableLin.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreTableLin.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreTableLin.java 18 Mar 2003 16:40:32 -0000 1.2
***************
*** 53,57 ****
{
double ret=0.;
- String nom;
switch(col)
{
--- 53,56 ----
Index: TextFieldsDiapre.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/TextFieldsDiapre.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TextFieldsDiapre.java 30 Jan 2003 12:39:42 -0000 1.1
--- TextFieldsDiapre.java 18 Mar 2003 16:40:33 -0000 1.2
***************
*** 329,333 ****
public void setValue (String value) {
! zoneTexte.setValue(new String(value));
}
--- 329,333 ----
public void setValue (String value) {
! zoneTexte.setValue(value);
}
Index: DiapreFinCalculs.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreFinCalculs.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreFinCalculs.java 30 Jan 2003 12:39:41 -0000 1.1
--- DiapreFinCalculs.java 18 Mar 2003 16:40:34 -0000 1.2
***************
*** 45,49 ****
! public DiapreFinCalculs(BuCommonInterface _appli,String nomFichier_, String LouC_) {
nomFichier = nomFichier_;
LouC=LouC_;
--- 45,49 ----
! public DiapreFinCalculs(String nomFichier_, String LouC_) {
nomFichier = nomFichier_;
LouC=LouC_;
Index: DiapreFilleRappelDonnees.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreFilleRappelDonnees.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreFilleRappelDonnees.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreFilleRappelDonnees.java 18 Mar 2003 16:40:34 -0000 1.2
***************
*** 41,45 ****
double coteNappeEau=0;
double yrideau;
! String typeCalcul=new String("");
public DiapreFilleRappelDonnees(BuCommonInterface _appli) {
--- 41,45 ----
double coteNappeEau=0;
double yrideau;
! String typeCalcul="";
public DiapreFilleRappelDonnees(BuCommonInterface _appli) {
***************
*** 70,76 ****
nappeEau=true;
if(donnees.eau.typeCalculEau.equals("S"))
! typeCalcul=new String("statique");
else
! typeCalcul=new String("dynamique");
coteNappeEau=donnees.eau.coteNappeEau;
}
--- 70,76 ----
nappeEau=true;
if(donnees.eau.typeCalculEau.equals("S"))
! typeCalcul="statique";
else
! typeCalcul="dynamique";
coteNappeEau=donnees.eau.coteNappeEau;
}
***************
*** 113,124 ****
if(dg.choixButeePoussee.equals("B"))
! choixButeePoussee=new String("butée");
else
! choixButeePoussee=new String("poussée");
if(dg.choixCalcul.equals("L"))
! choixCalcul=new String("long");
else
! choixCalcul=new String("court");
html.append("<br><h3>Description du calcul.</h3>\n");
--- 113,124 ----
if(dg.choixButeePoussee.equals("B"))
! choixButeePoussee="butée";
else
! choixButeePoussee="poussée";
if(dg.choixCalcul.equals("L"))
! choixCalcul="long";
else
! choixCalcul="court";
html.append("<br><h3>Description du calcul.</h3>\n");
***************
*** 214,218 ****
html2=html2+"</tr>\n";
}
- double limitesup;
for(int i=0;i<sol.nombreCouches-1;i++){
html.append("<tr><td align=CENTER>" + (i+2) + "</td>\n");
--- 214,217 ----
***************
*** 284,289 ****
// construction de la partie html de l'eau
public StringBuffer construitEau(String typeCalcul,boolean nappeEau,double coteNappeEau) {
! StringBuffer html = new StringBuffer("");
! String type;
html.append("<br><br>\n");
--- 283,287 ----
// construction de la partie html de l'eau
public StringBuffer construitEau(String typeCalcul,boolean nappeEau,double coteNappeEau) {
! StringBuffer html = new StringBuffer(500);
html.append("<br><br>\n");
Index: DiaprePrecision.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiaprePrecision.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiaprePrecision.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiaprePrecision.java 18 Mar 2003 16:40:35 -0000 1.2
***************
*** 241,246 ****
if(un) {
//Titre des Axes
! String nomaxeX=new String("Pressions (kN/m²)");
! String nomaxeY=new String("\n\n\n\n\n\n Cote du rideau (m)");
String[] nomcourbe={"Pression totale","Pression effective","Pression interstitielle"};
--- 241,246 ----
if(un) {
//Titre des Axes
! String nomaxeX="Pressions (kN/m²)";
! String nomaxeY="\n\n\n\n\n\n Cote du rideau (m)";
String[] nomcourbe={"Pression totale","Pression effective","Pression interstitielle"};
Index: DiapreSurchartrap.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreSurchartrap.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreSurchartrap.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreSurchartrap.java 18 Mar 2003 16:40:36 -0000 1.2
***************
*** 44,57 ****
// Déclaration des variables
final Object[][] data = {
! {"ST n°1" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°2" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°3" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°4" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°5" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°6" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°7" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°8" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°9" , new String(""), new String(""), new String("") , new String(""), new String(""), new String("")},
! {"ST n°10", new String(""), new String(""), new String("") , new String(""), new String(""), new String("")}
};
//SSurchargesProjet parametresProjet = null;
--- 44,57 ----
// Déclaration des variables
final Object[][] data = {
! {"ST n°1" , "", "", "" , "", "", ""},
! {"ST n°2" , "", "", "" , "", "", ""},
! {"ST n°3" , "", "", "" , "", "", ""},
! {"ST n°4" , "", "", "" , "", "", ""},
! {"ST n°5" , "", "", "" , "", "", ""},
! {"ST n°6" , "", "", "" , "", "", ""},
! {"ST n°7" , "", "", "" , "", "", ""},
! {"ST n°8" , "", "", "" , "", "", ""},
! {"ST n°9" , "", "", "" , "", "", ""},
! {"ST n°10", "", "", "" , "", "", ""}
};
//SSurchargesProjet parametresProjet = null;
***************
*** 455,459 ****
for(int row=0; row<nombreSurchargesTrapezoidales;row++)
for(int col=1; col<7;col++)
! table.setValueAt(new String(""),row,col) ;
nombreSurchargesTrapezoidales=0;
getParametresSurchartrap();
--- 455,459 ----
for(int row=0; row<nombreSurchargesTrapezoidales;row++)
for(int col=1; col<7;col++)
! table.setValueAt("",row,col) ;
nombreSurchargesTrapezoidales=0;
getParametresSurchartrap();
***************
*** 464,468 ****
for(int row=0; row<10;row++)
for(int col=1; col<7;col++)
! table.setValueAt(new String(""),row,col) ;
nombreSurchargesTrapezoidales=0;
getParametresSurchartrap();
--- 464,468 ----
for(int row=0; row<10;row++)
for(int col=1; col<7;col++)
! table.setValueAt("",row,col) ;
nombreSurchargesTrapezoidales=0;
getParametresSurchartrap();
***************
*** 539,548 ****
if(isNombre(value.toString())) {
if(value.toString().charAt(0)=='.')
! data[row][col] = new String("0"+value.toString());
else
data[row][col] = value;
//System.out.println("Vous avez rentré "+value+" à la case ("+row+","+col+").");
}
! else data[row][col] = new String("");
}
--- 539,548 ----
if(isNombre(value.toString())) {
if(value.toString().charAt(0)=='.')
! data[row][col] = "0"+value.toString();
else
data[row][col] = value;
//System.out.println("Vous avez rentré "+value+" à la case ("+row+","+col+").");
}
! else data[row][col] = "";
}
Index: DiapreTableauValeurs.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreTableauValeurs.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreTableauValeurs.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreTableauValeurs.java 18 Mar 2003 16:40:36 -0000 1.2
***************
*** 59,63 ****
private BuCommonInterface appli_;
! public String titre = new String("Diagramme des pressions: tableau ");
// Zones de saisie
--- 59,63 ----
private BuCommonInterface appli_;
! public String titre ="Diagramme des pressions: tableau ";
// Zones de saisie
***************
*** 172,189 ****
- /*--- message de l'assistant ---*/
- private void messageAssistant(String s)
- {
- message = new BuDialogMessage(appli_,appli_.getInformationsSoftware(),s);
- message.setSize(600,130);
- message.setTitle("ERREUR");
- message.setResizable(false);
- message.setDefaultCloseOperation ( JDialog.DO_NOTHING_ON_CLOSE );
- Point pos = this.getLocationOnScreen();
- pos.x = pos.x + this.getWidth()/2 - message.getWidth()/2 ;
- pos.y = pos.y + this.getHeight()/2 - message.getHeight()/ 2;
- message.setLocation(pos);
- message.setVisible(true);
- }
// BOUTTONS
--- 172,175 ----
***************
*** 234,238 ****
Object r = null;
Double tmp = new Double(0);
! String vide = new String("-");
SResultatsDiapre SResultats=getResultats();
SParametresDiapre SParametres=getParametres();
--- 220,224 ----
Object r = null;
Double tmp = new Double(0);
! String vide = "-";
SResultatsDiapre SResultats=getResultats();
SParametresDiapre SParametres=getParametres();
***************
*** 273,282 ****
case 1:
if(SResultats!=null)
! vide = new String(" -");
r = vide;
break;
case 2:
if(SResultats != null )
! vide = new String(" -");
r = vide;
break;
--- 259,268 ----
case 1:
if(SResultats!=null)
! vide = " -";
r = vide;
break;
case 2:
if(SResultats != null )
! vide = " -";
r = vide;
break;
Index: DiapreListeEtude.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreListeEtude.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreListeEtude.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreListeEtude.java 18 Mar 2003 16:40:37 -0000 1.2
***************
*** 71,75 ****
if ( evt.getValueIsAdjusting() ) return;
! JList source = (JList)evt.getSource();
// Effectue le changement de projet en cours.
--- 71,75 ----
if ( evt.getValueIsAdjusting() ) return;
! //JList source = (JList)evt.getSource();
// Effectue le changement de projet en cours.
Index: DiapreFilleParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreFilleParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreFilleParametres.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreFilleParametres.java 18 Mar 2003 16:40:37 -0000 1.2
***************
*** 76,80 ****
pnValidation = new DiapreValidationParametres ( _appli,this );
pnOptions = new DiapreOptionsParametres ( _appli );
! pnCommentaires = new DiapreCommentaires ( _appli );
tpMain.addTab(" Géométrie " , null, pnGeometrie , "Géométrie" );
--- 76,80 ----
pnValidation = new DiapreValidationParametres ( _appli,this );
pnOptions = new DiapreOptionsParametres ( _appli );
! pnCommentaires = new DiapreCommentaires ();
tpMain.addTab(" Géométrie " , null, pnGeometrie , "Géométrie" );
Index: DiapreSurcharlin.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreSurcharlin.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreSurcharlin.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreSurcharlin.java 18 Mar 2003 16:40:37 -0000 1.2
***************
*** 43,56 ****
// Déclaration des variables
final Object[][] data = {
! {"SL n°1" , new String(""), new String(""), new String("")},
! {"SL n°2" , new String(""), new String(""), new String("")},
! {"SL n°3" , new String(""), new String(""), new String("")},
! {"SL n°4" , new String(""), new String(""), new String("")},
! {"SL n°5" , new String(""), new String(""), new String("")},
! {"SL n°6" , new String(""), new String(""), new String("")},
! {"SL n°7" , new String(""), new String(""), new String("")},
! {"SL n°8" , new String(""), new String(""), new String("")},
! {"SL n°9" , new String(""), new String(""), new String("")},
! {"SL n°10", new String(""), new String(""), new String("")}
};
//SSurchargesProjet parametresProjet = null;
--- 43,56 ----
// Déclaration des variables
final Object[][] data = {
! {"SL n°1" , "", "", ""},
! {"SL n°2" , "", "", ""},
! {"SL n°3" , "", "", ""},
! {"SL n°4" , "", "", ""},
! {"SL n°5" , "", "", ""},
! {"SL n°6" , "", "", ""},
! {"SL n°7" , "", "", ""},
! {"SL n°8" , "", "", ""},
! {"SL n°9" , "", "", ""},
! {"SL n°10", "", "", ""}
};
//SSurchargesProjet parametresProjet = null;
Index: DiapreCalculLongTerme.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreCalculLongTerme.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreCalculLongTerme.java 30 Jan 2003 12:39:43 -0000 1.1
--- DiapreCalculLongTerme.java 18 Mar 2003 16:40:37 -0000 1.2
***************
*** 95,103 ****
numeroCouche.setEnabled(false);
// message d'erreur
! messErreur[0]=new String("La limite inférieure de la couche n°1 doit \nêtre inférieure ou égale à ");
! messErreur[1]=new String("La limite inférieure de la couche n°");
! messErreur[2]=new String("\ndoit être inférieure ou égale à ");
! messErreur[3]=new String("L'angle de frottement interne doit être \n compris entre 0° et 90°");
! messErreur[4]=new String("Vous devez compléter toutes les données \nconcernant cette couche");
// Création du layout manager
--- 95,103 ----
numeroCouche.setEnabled(false);
// message d'erreur
! messErreur[0]="La limite inférieure de la couche n°1 doit \nêtre inférieure ou égale à ";
! messErreur[1]="La limite inférieure de la couche n°";
! messErreur[2]="\ndoit être inférieure ou égale à ";
! messErreur[3]="L'angle de frottement interne doit être \n compris entre 0° et 90°";
! messErreur[4]="Vous devez compléter toutes les données \nconcernant cette couche";
// Création du layout manager
Index: DiapreSurcharunifdess.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreSurcharunifdess.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreSurcharunifdess.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreSurcharunifdess.java 18 Mar 2003 16:40:38 -0000 1.2
***************
*** 37,41 ****
! public DiapreSurcharunifdess(BuCommonInterface _appli) {
setTitle("Surcharge uniforme inclinée semi-infinie: dessin");
setModal(true);
--- 37,41 ----
! public DiapreSurcharunifdess() {
setTitle("Surcharge uniforme inclinée semi-infinie: dessin");
setModal(true);
Index: DiapreSolsParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreSolsParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreSolsParametres.java 30 Jan 2003 12:39:41 -0000 1.1
--- DiapreSolsParametres.java 18 Mar 2003 16:40:38 -0000 1.2
***************
*** 57,61 ****
super();
! DiapreImplementation implementation = (DiapreImplementation)appli.getImplementation();
appli_=appli;
--- 57,61 ----
super();
! //DiapreImplementation implementation = (DiapreImplementation)appli.getImplementation();
appli_=appli;
Index: DiapreSurchartrapdess.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreSurchartrapdess.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreSurchartrapdess.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreSurchartrapdess.java 18 Mar 2003 16:40:38 -0000 1.2
***************
*** 39,43 ****
! public DiapreSurchartrapdess(BuCommonInterface _appli) {
setTitle("Surcharge trapézoïdale inclinée : dessin");
setModal(true);
--- 39,43 ----
! public DiapreSurchartrapdess() {
setTitle("Surcharge trapézoïdale inclinée : dessin");
setModal(true);
Index: DiapreOptionsDiscret.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreOptionsDiscret.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreOptionsDiscret.java 30 Jan 2003 12:39:42 -0000 1.1
--- DiapreOptionsDiscret.java 18 Mar 2003 16:40:39 -0000 1.2
***************
*** 69,73 ****
}
i=i_;
- double hauteur;
// Création du layout manager
--- 69,72 ----
Index: DiapreTableauInclinaison.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/diapre/DiapreTableauInclinaison.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DiapreTableauInclinaison.java 30 Jan 2003 12:39:43 -0000 1.1
--- DiapreTableauInclinaison.java 18 Mar 2003 16:40:39 -0000 1.2
***************
*** 51,55 ****
private double minAbscisse;
! private double maxAbscisse;
int nbCouches=0;
String SouD;
--- 51,55 ----
private double minAbscisse;
!
int nbCouches=0;
String SouD;
***************
*** 172,189 ****
- /*--- message de l'assistant ---*/
- private void messageAssistant(String s)
- {
- message = new BuDialogMessage(appli_,diapre.isDiapre_,s);
- message.setSize(600,130);
- message.setTitle("ERREUR");
- message.setResizable(false);
- message.setDefaultCloseOperation ( JDialog.DO_NOTHING_ON_CLOSE );
- Point pos = this.getLocationOnScreen();
- pos.x = pos.x + this.getWidth()/2 - message.getWidth()/2 ;
- pos.y = pos.y + this.getHeight()/2 - message.getHeight()/ 2;
- message.setLocation(pos);
- message.setVisible(true);
- }
// BOUTTONS
--- 172,175 ----
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hiswa
In directory sc8-pr-cvs1:/tmp/cvs-serv25149/fudaa/src/org/fudaa/fudaa/hiswa
Modified Files:
HiswaImplementation.java HiswaTokenMarker.java
HiswaFilleParametres.java HiswaPreferences.java
HiswaOutilsResultats.java
Log Message:
suppression variable inutile
suppression new String
Index: HiswaImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hiswa/HiswaImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HiswaImplementation.java 30 Jan 2003 12:53:22 -0000 1.1
--- HiswaImplementation.java 18 Mar 2003 16:40:48 -0000 1.2
***************
*** 212,216 ****
BuMainPanel mp = getApp().getMainPanel();
mp.setLogo(isHiswa_.logo);
- BuColumn lc = mp.getLeftColumn();
BuColumn rc = mp.getRightColumn();
--- 212,215 ----
***************
*** 242,246 ****
"Bienvenue !");
BuMainPanel mp = getMainPanel();
- BuColumn lc = mp.getLeftColumn();
BuColumn rc = mp.getRightColumn();
BuInformationsDocument id = new BuInformationsDocument();
--- 241,244 ----
***************
*** 384,393 ****
}
- private void aideIndex() {
- BuInformationsSoftware infSoft=getInformationsSoftware();
- String tm="Allez donc faire un tour ici:\n"+infSoft.http;
- BuDialogMessage dialogMesg=new BuDialogMessage(this,infSoft,tm);
- dialogMesg.activate();
- }
private void creer() {
--- 382,385 ----
***************
*** 452,456 ****
catch(TokenMgrError err){
String message=err.getMessage();
! int errorLine=(Integer.parseInt(message.substring(message.indexOf("line")+5,message.indexOf(','))))-1;
System.err.println("Erreur Lexicale ");
new BuDialogError(this,isHiswa_, "Erreur Lexicale : \n"+message+"\n").activate();
--- 444,448 ----
catch(TokenMgrError err){
String message=err.getMessage();
! // int errorLine=(Integer.parseInt(message.substring(message.indexOf("line")+5,message.indexOf(','))))-1;
System.err.println("Erreur Lexicale ");
new BuDialogError(this,isHiswa_, "Erreur Lexicale : \n"+message+"\n").activate();
***************
*** 594,598 ****
setEnabledForAction("VISUALISER[false]" , false);
setEnabledForAction("CALQUES" , false);
- BuMainPanel mp=getMainPanel();
System.err.println("Transmission des parametres...");
//on recupere les Parametres Hiswa du projet et on les affecte
--- 586,589 ----
Index: HiswaTokenMarker.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hiswa/HiswaTokenMarker.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HiswaTokenMarker.java 30 Jan 2003 12:53:21 -0000 1.1
--- HiswaTokenMarker.java 18 Mar 2003 16:40:49 -0000 1.2
***************
*** 41,45 ****
lastKeyword = offset;
int length = line.count + offset;
- boolean backslash = false;
/*
--- 41,44 ----
***************
*** 65,69 ****
case '\'':
{
! doKeyword(line,i,c);
addToken(i - lastOffset,JEditToken.NULL);
lastOffset = lastKeyword = i;
--- 64,68 ----
case '\'':
{
! doKeyword(line,i);
addToken(i - lastOffset,JEditToken.NULL);
lastOffset = lastKeyword = i;
***************
*** 72,76 ****
break;
case '$':
! doKeyword(line,i,c);
if(length - i > 1)
{
--- 71,75 ----
break;
case '$':
! doKeyword(line,i);
if(length - i > 1)
{
***************
*** 85,89 ****
if(!Character.isLetterOrDigit(c)
&& c != '_'){
! doKeyword(line,i,c);
}
break;
--- 84,88 ----
if(!Character.isLetterOrDigit(c)
&& c != '_'){
! doKeyword(line,i);
}
break;
***************
*** 108,112 ****
{
case HISWA:
! doKeyword(line,length,'\0');
addToken(length - lastOffset,JEditToken.NULL);
break;
--- 107,111 ----
{
case HISWA:
! doKeyword(line,length);
addToken(length - lastOffset,JEditToken.NULL);
break;
***************
*** 119,123 ****
}
! private boolean doKeyword(Segment line, int i, char c)
{
int i1 = i+1;
--- 118,122 ----
}
! private boolean doKeyword(Segment line, int i)
{
int i1 = i+1;
Index: HiswaFilleParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hiswa/HiswaFilleParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HiswaFilleParametres.java 30 Jan 2003 12:53:25 -0000 1.1
--- HiswaFilleParametres.java 18 Mar 2003 16:40:50 -0000 1.2
***************
*** 179,183 ****
if( paramsFichier != null ) {
! String fichier = new String(project_.getFichier());
fichier = fichier.substring(0,(fichier.length())-4);
paramsFichier.filename = fichier;
--- 179,183 ----
if( paramsFichier != null ) {
! String fichier = project_.getFichier();
fichier = fichier.substring(0,(fichier.length())-4);
paramsFichier.filename = fichier;
***************
*** 235,240 ****
paramsSet.negmes = Integer.valueOf(tf_negmes.getText()).intValue();
! String interp = new String();
! interp = (String)cb_interp.getSelectedItem();
if(interp.equals("Spline"))
paramsSet.interp = 2;
--- 235,239 ----
paramsSet.negmes = Integer.valueOf(tf_negmes.getText()).intValue();
! String interp = (String)cb_interp.getSelectedItem();
if(interp.equals("Spline"))
paramsSet.interp = 2;
***************
*** 242,247 ****
paramsSet.interp = 1;
! String maxerr = new String();
! maxerr = (String)cb_maxerr.getSelectedItem();
if(maxerr.equals("Erreurs graves"))
paramsSet.interp = 3;
--- 241,245 ----
paramsSet.interp = 1;
! String maxerr = (String)cb_maxerr.getSelectedItem();
if(maxerr.equals("Erreurs graves"))
paramsSet.interp = 3;
***************
*** 256,261 ****
paramsSet.rho = Double.valueOf(tf_rho.getText()).doubleValue();
! String inrhog = new String();
! inrhog = (String)cb_inrhog.getSelectedItem();
if(inrhog.equals("Variance"))
paramsSet.interp = 0;
--- 254,258 ----
paramsSet.rho = Double.valueOf(tf_rho.getText()).doubleValue();
! String inrhog = (String)cb_inrhog.getSelectedItem();
if(inrhog.equals("Variance"))
paramsSet.interp = 0;
Index: HiswaPreferences.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hiswa/HiswaPreferences.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HiswaPreferences.java 30 Jan 2003 12:53:29 -0000 1.1
--- HiswaPreferences.java 18 Mar 2003 16:40:50 -0000 1.2
***************
*** 31,35 ****
throw new RuntimeException(""+_o+" is not a HiswaImplementation.");
! HiswaImplementation _appli=(HiswaImplementation)_o;
}
}
--- 31,35 ----
throw new RuntimeException(""+_o+" is not a HiswaImplementation.");
! // HiswaImplementation _appli=(HiswaImplementation)_o;
}
}
Index: HiswaOutilsResultats.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/hiswa/HiswaOutilsResultats.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HiswaOutilsResultats.java 30 Jan 2003 12:53:25 -0000 1.1
--- HiswaOutilsResultats.java 18 Mar 2003 16:40:50 -0000 1.2
***************
*** 287,291 ****
double factX=Math.exp(2.*maxVectX/nbLogX);
double factY=Math.exp(2.*maxVectY/nbLogY);
- double fact=Math.min(factX,factY);
for (int i=0;i<tailleResultats_;i++) {
if (_calque.equals("dir")) {
--- 287,290 ----
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun
In directory sc8-pr-cvs1:/tmp/cvs-serv25149/fudaa/src/org/fudaa/fudaa/commun
Modified Files:
FudaaAstuces.java FudaaDodicoSelectionServeur.java
FudaaLib.java FudaaAstucesDialog.java FudaaUpdate.java
FudaaImplementation.java FudaaPopupMessage.java
FudaaUtilisateurEvaluateur.java
FudaaUtilisateurTableauModele.java FudaaFiltreFichier.java
FudaaProjetInformations.java
Log Message:
suppression variable inutile
suppression new String
Index: FudaaAstuces.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaAstuces.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaAstuces.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaAstuces.java 18 Mar 2003 16:40:41 -0000 1.2
***************
*** 194,198 ****
if(++nombreLigneLu == i)
{
! retour = new String(ligneLu);
}
}
--- 194,198 ----
if(++nombreLigneLu == i)
{
! retour = ligneLu;
}
}
Index: FudaaDodicoSelectionServeur.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaDodicoSelectionServeur.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaDodicoSelectionServeur.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaDodicoSelectionServeur.java 18 Mar 2003 16:40:41 -0000 1.2
***************
*** 10,25 ****
package org.fudaa.fudaa.commun;
! import java.awt.*;
! import java.awt.event.*;
! import java.util.*;
! import java.lang.reflect.*;
! import javax.swing.*;
! import javax.swing.event.*;
! import javax.swing.border.*;
! import com.memoire.bu.*;
! import org.fudaa.dodico.corba.objet.*;
import org.fudaa.dodico.corba.usine.IUsine;
! import org.fudaa.dodico.objet.*;
/**
--- 10,53 ----
package org.fudaa.fudaa.commun;
! import java.awt.Dimension;
! import java.awt.FlowLayout;
! import java.awt.Graphics;
! import java.awt.event.ActionEvent;
! import java.awt.event.ActionListener;
! import java.lang.reflect.Method;
! import java.util.StringTokenizer;
! import javax.swing.JComponent;
! import javax.swing.JOptionPane;
! import javax.swing.JPanel;
! import javax.swing.border.BevelBorder;
! import javax.swing.border.EmptyBorder;
! import javax.swing.event.ListSelectionEvent;
! import javax.swing.event.ListSelectionListener;
!
! import org.fudaa.dodico.corba.objet.IActivateur;
! import org.fudaa.dodico.corba.objet.IActivateurHelper;
! import org.fudaa.dodico.corba.objet.IObjet;
! import org.fudaa.dodico.corba.objet.IObjetHelper;
! import org.fudaa.dodico.corba.objet.IOrganisme;
! import org.fudaa.dodico.corba.objet.IPersonne;
! import org.fudaa.dodico.corba.objet.IPersonneHelper;
import org.fudaa.dodico.corba.usine.IUsine;
! import org.fudaa.dodico.objet.CDodico;
!
! import com.memoire.bu.BuBorderLayout;
! import com.memoire.bu.BuButton;
! import com.memoire.bu.BuCommonInterface;
! import com.memoire.bu.BuDialog;
! import com.memoire.bu.BuDialogError;
! import com.memoire.bu.BuEmptyList;
! import com.memoire.bu.BuInformationsSoftware;
! import com.memoire.bu.BuLabel;
! import com.memoire.bu.BuLib;
! import com.memoire.bu.BuPanel;
! import com.memoire.bu.BuResource;
! import com.memoire.bu.BuScrollPane;
! import com.memoire.bu.BuUpdateGUI;
! import com.memoire.bu.BuVerticalLayout;
/**
***************
*** 35,39 ****
private final static String LOCAL_SERVER="serveur local";
private final static String LOCAL_PERSON="utilisateur local";
- private final static String DODICO_PREFIX="org.fudaa.dodico";
protected BuButton btValider_;
protected BuButton btAnnuler_;
--- 63,66 ----
***************
*** 150,154 ****
public void valueChanged(ListSelectionEvent _evt)
{
! JComponent source=(JComponent)_evt.getSource();
/*
String serverStr=(String)ltServeurs_.getSelectedValue();
--- 177,181 ----
public void valueChanged(ListSelectionEvent _evt)
{
! // JComponent source=(JComponent)_evt.getSource();
/*
String serverStr=(String)ltServeurs_.getSelectedValue();
Index: FudaaLib.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaLib.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaLib.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaLib.java 18 Mar 2003 16:40:42 -0000 1.2
***************
*** 116,120 ****
// Recherche de la racine commune
int i=0;
! String path=new String();
while (i<vdmain.size()-1 && i<vdfile.size()-1 &&
new File((String)vdmain.get(i)).compareTo(
--- 116,120 ----
// Recherche de la racine commune
int i=0;
! String path="";
while (i<vdmain.size()-1 && i<vdfile.size()-1 &&
new File((String)vdmain.get(i)).compareTo(
***************
*** 125,129 ****
// Nom du fichier relatif
! String rela=new String();
if (i!=0) {
for (int j=i; j<vdmain.size()-1; j++) {
--- 125,129 ----
// Nom du fichier relatif
! String rela="";
if (i!=0) {
for (int j=i; j<vdmain.size()-1; j++) {
Index: FudaaAstucesDialog.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaAstucesDialog.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaAstucesDialog.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaAstucesDialog.java 18 Mar 2003 16:40:42 -0000 1.2
***************
*** 39,53 ****
/**
- * String yes: valeur positive de VARIABLE.
- */
- private final static String YES = "true";
-
- /**
- * String no: valeur negative de VARIABLE.
- */
- private final static String NO = "false";
-
-
- /**
* La chaine correspondant a fermer.
*/
--- 39,42 ----
***************
*** 79,88 ****
/**
- * La font utilisee.
- */
- private final static String fontInfo_ = "ITALIC";
-
-
- /**
* initialisation de textPanel_ et affichage.
*
--- 68,71 ----
***************
*** 208,212 ****
public static void main(String[] _args)
{
! String essai=new String("essai");
essai=null;
//showDialog(new BuApplication().getImplementation(), FudaaAstuces.FUDAA);
--- 191,195 ----
public static void main(String[] _args)
{
! String essai="essai";
essai=null;
//showDialog(new BuApplication().getImplementation(), FudaaAstuces.FUDAA);
Index: FudaaUpdate.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaUpdate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaUpdate.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaUpdate.java 18 Mar 2003 16:40:42 -0000 1.2
***************
*** 165,169 ****
if( (netAccess!=null)&&netAccess.equals("remote") ) {
while( updated&&installed ) {
! prevVersion_=new String(version_);
if( updated=getNextUpdate() )
installed=installNextUpdate();
--- 165,169 ----
if( (netAccess!=null)&&netAccess.equals("remote") ) {
while( updated&&installed ) {
! prevVersion_=version_;
if( updated=getNextUpdate() )
installed=installNextUpdate();
***************
*** 485,489 ****
Enumeration entries=newJar.entries();
JarEntry entry=null;
! int i=0;
installList="";
while( entries.hasMoreElements() ) {
--- 485,489 ----
Enumeration entries=newJar.entries();
JarEntry entry=null;
! // int i=0;
installList="";
while( entries.hasMoreElements() ) {
***************
*** 519,524 ****
JarInputStream str=new JarInputStream(newJar.getInputStream(updEntry));
byte[] data=new byte[(int)longueur];
! int read=str.read(data,0,(int)longueur);
!
CRC32 crc=new CRC32();
crc.update(data);
--- 519,524 ----
JarInputStream str=new JarInputStream(newJar.getInputStream(updEntry));
byte[] data=new byte[(int)longueur];
! //int read=str.read(data,0,(int)longueur);
! str.read(data,0,(int)longueur);
CRC32 crc=new CRC32();
crc.update(data);
***************
*** 544,548 ****
byte[] data=new byte[(int)longueur];
! int read=jarStr.read(data,0,(int)longueur);
CRC32 crc=new CRC32();
--- 544,549 ----
byte[] data=new byte[(int)longueur];
! //int read=jarStr.read(data,0,(int)longueur);
! jarStr.read(data,0,(int)longueur);
CRC32 crc=new CRC32();
***************
*** 573,577 ****
JarInputStream str=new JarInputStream(newJar.getInputStream(updEntry));
byte[] data=new byte[(int)longueur];
! int read=str.read(data,0,(int)longueur);
CRC32 crc=new CRC32();
--- 574,578 ----
JarInputStream str=new JarInputStream(newJar.getInputStream(updEntry));
byte[] data=new byte[(int)longueur];
! str.read(data,0,(int)longueur);
CRC32 crc=new CRC32();
Index: FudaaImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaImplementation.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaImplementation.java 18 Mar 2003 16:40:44 -0000 1.2
***************
*** 554,558 ****
{
! connecter_setMessage(lb, dl, "Recherche des serveurs "+Appname+"...");
FudaaDodicoSelectionServeur serverSel = new FudaaDodicoSelectionServeur(
null,
--- 554,558 ----
{
! connecter_setMessage(lb, /*dl,*/ "Recherche des serveurs "+Appname+"...");
FudaaDodicoSelectionServeur serverSel = new FudaaDodicoSelectionServeur(
null,
***************
*** 567,571 ****
if(resp == JOptionPane.CANCEL_OPTION)
{
! connecter_setMessage(lb, dl, "Annulation");
dl.dispose();
r.fireChangeEvent(FudaaInfoConnexion.ERROR);
--- 567,571 ----
if(resp == JOptionPane.CANCEL_OPTION)
{
! connecter_setMessage(lb, /*dl,*/ "Annulation");
dl.dispose();
r.fireChangeEvent(FudaaInfoConnexion.ERROR);
***************
*** 573,586 ****
}
! connecter_setMessage(lb, dl, "Connexion au serveur " + Appname + "...");
r.SERVEUR = ITacheHelper.narrow(serverSel.getServeur());
if(r.SERVEUR == null)
{
! connecter_setMessage(lb, dl, "Connexion au serveur " + Appname + ", deuxième tentative...");
r.SERVEUR = ITacheHelper.narrow(serverSel.getServeur());
}
if(r.SERVEUR == null)
{
! connecter_setMessage(lb, dl, "Echec de la connexion " + Appname);
dl.dispose();
r.fireChangeEvent(FudaaInfoConnexion.ERROR);
--- 573,586 ----
}
! connecter_setMessage(lb,/* dl,*/ "Connexion au serveur " + Appname + "...");
r.SERVEUR = ITacheHelper.narrow(serverSel.getServeur());
if(r.SERVEUR == null)
{
! connecter_setMessage(lb,/* dl,*/ "Connexion au serveur " + Appname + ", deuxième tentative...");
r.SERVEUR = ITacheHelper.narrow(serverSel.getServeur());
}
if(r.SERVEUR == null)
{
! connecter_setMessage(lb/*, dl*/, "Echec de la connexion " + Appname);
dl.dispose();
r.fireChangeEvent(FudaaInfoConnexion.ERROR);
***************
*** 589,602 ****
else
{
! connecter_setMessage(lb, dl, "Connexion établie\nAuthentification en cours...");
IPersonne p = serverSel.getPersonne();
if(p == null)
{
! connecter_setMessage(lb, dl, "aucun utilisateur défini : sortie.");
dl.dispose();
r.fireChangeEvent(FudaaInfoConnexion.ERROR);
return;
}
! connecter_setMessage(lb, dl, "Connexion de " + p.enChaine() + "...");
r.PERSONNE = p;
r.CONNEXION = r.SERVEUR.connexion(p);
--- 589,602 ----
else
{
! connecter_setMessage(lb,/* dl,*/ "Connexion établie\nAuthentification en cours...");
IPersonne p = serverSel.getPersonne();
if(p == null)
{
! connecter_setMessage(lb,/* dl,*/ "aucun utilisateur défini : sortie.");
dl.dispose();
r.fireChangeEvent(FudaaInfoConnexion.ERROR);
return;
}
! connecter_setMessage(lb/*, dl*/, "Connexion de " + p.enChaine() + "...");
r.PERSONNE = p;
r.CONNEXION = r.SERVEUR.connexion(p);
***************
*** 650,654 ****
}
IConnexion[] cs = r.SERVEUR.connexions();
! connecter_setMessage(lb, dl,
"Détails de la connexion:\n" +
" utilisateur: " + r.PERSONNE.enChaine() + "\n" +
--- 650,654 ----
}
IConnexion[] cs = r.SERVEUR.connexions();
! connecter_setMessage(lb, /*dl,*/
"Détails de la connexion:\n" +
" utilisateur: " + r.PERSONNE.enChaine() + "\n" +
***************
*** 691,695 ****
* @param msg
*/
! private void connecter_setMessage(BuLabelMultiLine _lb, BuDialog _dl, String msg)
{
_lb.setText(msg);
--- 691,695 ----
* @param msg
*/
! private void connecter_setMessage(BuLabelMultiLine _lb/*, BuDialog _dl*/, String msg)
{
_lb.setText(msg);
Index: FudaaPopupMessage.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaPopupMessage.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaPopupMessage.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaPopupMessage.java 18 Mar 2003 16:40:44 -0000 1.2
***************
*** 10,15 ****
package org.fudaa.fudaa.commun;
! import javax.swing.*;
! import java.awt.*;
/**
--- 10,26 ----
package org.fudaa.fudaa.commun;
! import java.awt.Color;
! import java.awt.Container;
! import java.awt.Dimension;
! import java.awt.Font;
! import java.awt.FontMetrics;
! import java.awt.Graphics;
! import java.awt.Insets;
! import java.awt.Point;
! import java.awt.font.FontRenderContext;
! import java.awt.font.LineMetrics;
! import java.awt.geom.Rectangle2D;
!
! import javax.swing.JComponent;
/**
***************
*** 118,122 ****
String tt=getText();
! FontMetrics fm=Toolkit.getDefaultToolkit().getFontMetrics(ft);
int w =0;
int h =0;
--- 129,134 ----
String tt=getText();
! FontMetrics fm=parent_.getFontMetrics(ft);
!
int w =0;
int h =0;
***************
*** 126,131 ****
if(i>=0) { s=tt.substring(0,i); tt=tt.substring(i+1); }
else { s=tt; tt=""; }
w=Math.max(w,fm.stringWidth(s));
! h+=fm.getMaxAscent()+fm.getMaxDescent();
}
//return new Dimension(w+insets.left+insets.right,h+insets.top+insets.bottom);
--- 138,144 ----
if(i>=0) { s=tt.substring(0,i); tt=tt.substring(i+1); }
else { s=tt; tt=""; }
+ //fm=ft.getLineMetrics(s, context);
w=Math.max(w,fm.stringWidth(s));
! h+=fm.getHeight();
}
//return new Dimension(w+insets.left+insets.right,h+insets.top+insets.bottom);
Index: FudaaUtilisateurEvaluateur.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaUtilisateurEvaluateur.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaUtilisateurEvaluateur.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaUtilisateurEvaluateur.java 18 Mar 2003 16:40:44 -0000 1.2
***************
*** 49,53 ****
{
String st;
! double r,tmp;
st=tokenizer.nextToken();
//Si il s'agit d'un operateur, on effectue l'operation
--- 49,53 ----
{
String st;
! double r;
st=tokenizer.nextToken();
//Si il s'agit d'un operateur, on effectue l'operation
Index: FudaaUtilisateurTableauModele.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaUtilisateurTableauModele.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaUtilisateurTableauModele.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaUtilisateurTableauModele.java 18 Mar 2003 16:40:45 -0000 1.2
***************
*** 115,119 ****
r=table_.getColumnName(col)+" [" +r + "]";
else
! r=new String(" (" + formules_.elementAt(col-table_.getColumnCount())+ ") " + "[" + r + "]");
return r;
--- 115,119 ----
r=table_.getColumnName(col)+" [" +r + "]";
else
! r=" (" + formules_.elementAt(col-table_.getColumnCount())+ ") " + "[" + r + "]";
return r;
Index: FudaaFiltreFichier.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaFiltreFichier.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaFiltreFichier.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaFiltreFichier.java 18 Mar 2003 16:40:45 -0000 1.2
***************
*** 39,43 ****
public String toString()
! { return new String("FudaaFiltreFichier : *."+ext_[0]); }
public void setMode(int _mode)
--- 39,43 ----
public String toString()
! { return "FudaaFiltreFichier : *."+ext_[0]; }
public void setMode(int _mode)
Index: FudaaProjetInformations.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/commun/FudaaProjetInformations.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FudaaProjetInformations.java 30 Jan 2003 12:28:51 -0000 1.1
--- FudaaProjetInformations.java 18 Mar 2003 16:40:45 -0000 1.2
***************
*** 59,63 ****
nf.format(cal.get(Calendar.HOUR_OF_DAY))+":"+
nf.format(cal.get(Calendar.MINUTE));
! dateModif=new String(dateCreation);
commentaire="";
}
--- 59,63 ----
nf.format(cal.get(Calendar.HOUR_OF_DAY))+":"+
nf.format(cal.get(Calendar.MINUTE));
! dateModif=dateCreation;
commentaire="";
}
***************
*** 94,98 ****
public void read(DataInputStream in) throws IOException
{
! String format=in.readUTF();
// a gerer qd on modifie le format de l'en-tete
titre=in.readUTF();
--- 94,99 ----
public void read(DataInputStream in) throws IOException
{
! //String format=in.readUTF();
! in.readUTF();
// a gerer qd on modifie le format de l'en-tete
titre=in.readUTF();
***************
*** 124,128 ****
public void read(ObjectInputStream in) throws IOException
{
! String format=in.readUTF();
// a gerer qd on modifie le format de l'en-tete
titre=in.readUTF();
--- 125,130 ----
public void read(ObjectInputStream in) throws IOException
{
! // String format=in.readUTF();
! in.readUTF();
// a gerer qd on modifie le format de l'en-tete
titre=in.readUTF();
***************
*** 154,158 ****
public void read(KOMLDeserializer in) throws IOException, ClassNotFoundException
{
! String format=(String)in.readObject();
// a gerer qd on modifie le format de l'en-tete
titre=(String)in.readObject();
--- 156,161 ----
public void read(KOMLDeserializer in) throws IOException, ClassNotFoundException
{
! // String format=(String)in.readObject();
! in.readObject();
// a gerer qd on modifie le format de l'en-tete
titre=(String)in.readObject();
|
|
From: <de...@us...> - 2003-03-18 16:41:23
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dunes
In directory sc8-pr-cvs1:/tmp/cvs-serv25149/fudaa/src/org/fudaa/fudaa/dunes
Modified Files:
DunesFilleParametres.java DunesFilleMailleur.java
Log Message:
suppression variable inutile
suppression new String
Index: DunesFilleParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dunes/DunesFilleParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DunesFilleParametres.java 30 Jan 2003 12:39:43 -0000 1.1
--- DunesFilleParametres.java 18 Mar 2003 16:40:47 -0000 1.2
***************
*** 329,336 ****
}
- private void getValeurs()
- {
-
- }
private boolean verifier()
--- 329,332 ----
Index: DunesFilleMailleur.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dunes/DunesFilleMailleur.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DunesFilleMailleur.java 30 Jan 2003 12:39:43 -0000 1.1
--- DunesFilleMailleur.java 18 Mar 2003 16:40:48 -0000 1.2
***************
*** 245,249 ****
cg=new BCalqueGrille();
- GrBoite b=new GrBoite();
cg.setForeground(Color.lightGray);
cg.setTitle("Grille");
--- 245,248 ----
|
|
From: <de...@us...> - 2003-03-18 16:41:21
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/curvi
In directory sc8-pr-cvs1:/tmp/cvs-serv25149/fudaa/src/org/fudaa/fudaa/curvi
Modified Files:
CurviImplementation.java CurviPreferences.java
Log Message:
suppression variable inutile
suppression new String
Index: CurviImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/curvi/CurviImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CurviImplementation.java 30 Jan 2003 12:33:39 -0000 1.1
--- CurviImplementation.java 18 Mar 2003 16:40:46 -0000 1.2
***************
*** 65,71 ****
private CurviFilleTableauResultats frTableau_;
! private CurviFilleSurface frPhase_;
! private CurviFilleSurface frHauteur_;
! private CurviFilleSurface frBathymetrie_;
private CurviFilleSurface frDeferlement_;
--- 65,71 ----
private CurviFilleTableauResultats frTableau_;
! // private CurviFilleSurface frPhase_;
! // private CurviFilleSurface frHauteur_;
! // private CurviFilleSurface frBathymetrie_;
private CurviFilleSurface frDeferlement_;
***************
*** 265,269 ****
{
BuMainPanel mp=getMainPanel();
! BuColumn lc=mp.getLeftColumn();
BuColumn rc=mp.getRightColumn();
--- 265,269 ----
{
BuMainPanel mp=getMainPanel();
! // BuColumn lc=mp.getLeftColumn();
BuColumn rc=mp.getRightColumn();
***************
*** 785,789 ****
public void oprCalculer()
{
- int sp;
long avant,apres;
long dureeEstimee,dureeReelle,dureeTransfert,dureeTotale;
--- 785,788 ----
Index: CurviPreferences.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/curvi/CurviPreferences.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CurviPreferences.java 30 Jan 2003 12:33:39 -0000 1.1
--- CurviPreferences.java 18 Mar 2003 16:40:47 -0000 1.2
***************
*** 38,42 ****
throw new RuntimeException(""+_o+" is not a CurviImplementation.");
! CurviImplementation _appli=(CurviImplementation)_o;
}
--- 38,42 ----
throw new RuntimeException(""+_o+" is not a CurviImplementation.");
! // CurviImplementation _appli=(CurviImplementation)_o;
}
|
|
From: <de...@us...> - 2003-03-18 16:41:21
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc
In directory sc8-pr-cvs1:/tmp/cvs-serv25149/fudaa/src/org/fudaa/fudaa/dimduc
Modified Files:
DimducFilleParametres.java DimducCourbeEDL.java
DimducCourbeMoments.java DimducImplementation.java
DimducPreferencesPanel.java DimducCourbeEDC.java
DimducPreferences.java
Log Message:
suppression variable inutile
suppression new String
Index: DimducFilleParametres.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc/DimducFilleParametres.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DimducFilleParametres.java 30 Jan 2003 12:39:43 -0000 1.1
--- DimducFilleParametres.java 18 Mar 2003 16:40:40 -0000 1.2
***************
*** 1335,1339 ****
public void getStateChanged(ItemEvent evt)
{
! Object source = evt.getSource ();
// non gere pour l'instant
} // fin void
--- 1335,1339 ----
public void getStateChanged(ItemEvent evt)
{
! //Object source = evt.getSource ();
// non gere pour l'instant
} // fin void
***************
*** 1501,1505 ****
public void focusGained(FocusEvent evt)
{
! Object source = evt.getSource ();
} // fin void focusGained : non gere
--- 1501,1505 ----
public void focusGained(FocusEvent evt)
{
! // Object source = evt.getSource ();
} // fin void focusGained : non gere
Index: DimducCourbeEDL.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc/DimducCourbeEDL.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DimducCourbeEDL.java 30 Jan 2003 12:39:43 -0000 1.1
--- DimducCourbeEDL.java 18 Mar 2003 16:40:40 -0000 1.2
***************
*** 131,137 ****
if(nbPoint_E <= 0) return null;
! String gdfStr = new String(""); // entrée
! String crbTitre = new String("Courbe ED DUC LE PLUS LEGER");
! String crbStrE = new String("");
--- 131,137 ----
if(nbPoint_E <= 0) return null;
! String gdfStr = ""; // entrée
! String crbTitre = "Courbe ED DUC LE PLUS LEGER";
! String crbStrE = "";
***************
*** 174,178 ****
if(nbPoint_S <= 0) return null;
! String crbStrS = new String(""); // sortie
--- 174,178 ----
if(nbPoint_S <= 0) return null;
! String crbStrS = ""; // sortie
Index: DimducCourbeMoments.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc/DimducCourbeMoments.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DimducCourbeMoments.java 30 Jan 2003 12:39:43 -0000 1.1
--- DimducCourbeMoments.java 18 Mar 2003 16:40:40 -0000 1.2
***************
*** 124,130 ****
if( nbPoint <= 0 ) return null;
! String gdfStr = new String("");
! String crbTitre = new String("Courbe des moments " );
! String crbStr = new String("");
//calage de la courbe avec recherche des minis et des maxis :
--- 124,130 ----
if( nbPoint <= 0 ) return null;
! String gdfStr = "";
! String crbTitre = "Courbe des moments ";
! String crbStr = "";
//calage de la courbe avec recherche des minis et des maxis :
Index: DimducImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc/DimducImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DimducImplementation.java 30 Jan 2003 12:39:43 -0000 1.1
--- DimducImplementation.java 18 Mar 2003 16:40:41 -0000 1.2
***************
*** 407,411 ****
*/
BuMainPanel mp = getMainPanel();
! BuColumn rc = mp.getRightColumn();
projet_ = new FudaaProjet(getApp(), new FudaaFiltreFichier("dimduc"), System.getProperty("user.dir") + File.separator + "exemples" + File.separator + "dimduc");
--- 407,411 ----
*/
BuMainPanel mp = getMainPanel();
! // BuColumn rc = mp.getRightColumn();
projet_ = new FudaaProjet(getApp(), new FudaaFiltreFichier("dimduc"), System.getProperty("user.dir") + File.separator + "exemples" + File.separator + "dimduc");
Index: DimducPreferencesPanel.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc/DimducPreferencesPanel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DimducPreferencesPanel.java 30 Jan 2003 12:39:43 -0000 1.1
--- DimducPreferencesPanel.java 18 Mar 2003 16:40:41 -0000 1.2
***************
*** 50,56 ****
String item;
String itemKey;
! optionsStr_.put(itemKey="Orthogonales", item=new String("O-Interaction"));
optionsStr_.put(item, itemKey);
! optionsStr_.put(itemKey="Dessin", item=new String("D-Interaction"));
optionsStr_.put(item, itemKey);
--- 50,56 ----
String item;
String itemKey;
! optionsStr_.put(itemKey="Orthogonales", item="O-Interaction");
optionsStr_.put(item, itemKey);
! optionsStr_.put(itemKey="Dessin", item="D-Interaction");
optionsStr_.put(item, itemKey);
Index: DimducCourbeEDC.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc/DimducCourbeEDC.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DimducCourbeEDC.java 30 Jan 2003 12:39:43 -0000 1.1
--- DimducCourbeEDC.java 18 Mar 2003 16:40:41 -0000 1.2
***************
*** 131,137 ****
if(nbPoint_E <= 0) return null;
! String gdfStr = new String(""); // entrée
! String crbTitre = new String("Courbe ED DUC LE PLUS COURT");
! String crbStrE = new String("");
--- 131,137 ----
if(nbPoint_E <= 0) return null;
! String gdfStr = ""; // entrée
! String crbTitre = "Courbe ED DUC LE PLUS COURT";
! String crbStrE = "";
***************
*** 174,178 ****
if(nbPoint_S <= 0) return null;
! String crbStrS = new String(""); // sortie
--- 174,178 ----
if(nbPoint_S <= 0) return null;
! String crbStrS = ""; // sortie
Index: DimducPreferences.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/dimduc/DimducPreferences.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DimducPreferences.java 30 Jan 2003 12:39:43 -0000 1.1
--- DimducPreferences.java 18 Mar 2003 16:40:41 -0000 1.2
***************
*** 32,36 ****
throw new RuntimeException(""+_o+" is not a DimducImplementation.");
! DimducImplementation _appli=(DimducImplementation)_o;
}
--- 32,36 ----
throw new RuntimeException(""+_o+" is not a DimducImplementation.");
! // DimducImplementation _appli=(DimducImplementation)_o;
}
|