|
From: <bma...@us...> - 2003-02-19 09:38:46
|
Update of /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde
In directory sc8-pr-cvs1:/tmp/cvs-serv6212/src/org/fudaa/fudaa/refonde
Modified Files:
RefondeImplementation.java
Log Message:
- Changement du numéro de version
- Diverses modifications mineures
Index: RefondeImplementation.java
===================================================================
RCS file: /cvsroot/fudaa/fudaa_devel/fudaa/src/org/fudaa/fudaa/refonde/RefondeImplementation.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RefondeImplementation.java 30 Jan 2003 13:09:45 -0000 1.1
--- RefondeImplementation.java 19 Feb 2003 09:38:42 -0000 1.2
***************
*** 64,70 ****
static {
isRefonde_.name ="Refonde";
! isRefonde_.version ="5.13a";
! isRefonde_.date ="03-Juin-2002";
! isRefonde_.rights ="1998-2000 GHN & CETMEF\n2000-2002 DeltaCAD & CETMEF";
isRefonde_.contact ="mar...@de...";
isRefonde_.license ="GPL2";
--- 64,70 ----
static {
isRefonde_.name ="Refonde";
! isRefonde_.version ="5.14a";
! isRefonde_.date ="19-Fév-2003";
! isRefonde_.rights ="1998-2000 GHN & CETMEF\n2000-2003 DeltaCAD & CETMEF";
isRefonde_.contact ="mar...@de...";
isRefonde_.license ="GPL2";
***************
*** 651,655 ****
fnCalques_.initialise(projet);
addInternalFrame(fnCalques_);
! fnCalques_.zoomEtendu();
statusBar.setProgression(100);
setTitle(projet.getFichierProjet().getPath());
--- 651,655 ----
fnCalques_.initialise(projet);
addInternalFrame(fnCalques_);
! fnCalques_.restaurer();
statusBar.setProgression(100);
setTitle(projet.getFichierProjet().getPath());
***************
*** 807,811 ****
fnCalques_.initialise(projet);
addInternalFrame(fnCalques_);
! fnCalques_.zoomEtendu();
statusBar.setProgression(100);
setTitle(projet.getFichierProjet().getPath());
--- 807,811 ----
fnCalques_.initialise(projet);
addInternalFrame(fnCalques_);
! fnCalques_.restaurer();
statusBar.setProgression(100);
setTitle(projet.getFichierProjet().getPath());
***************
*** 1211,1216 ****
// tpGp=doma.getGroupeProprietes().getType();
}
! fnCalques_.clAngles.initialise(projet);
! fnCalques_.clAnglesTrans.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
--- 1211,1216 ----
// tpGp=doma.getGroupeProprietes().getType();
}
! fnCalques_.cqAngles.initialise(projet);
! fnCalques_.cqAnglesTrans.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
***************
*** 1318,1322 ****
projet.setResultats(null); // Suppression des résultats
! fnCalques_.clMaillage.initialise(projet);
fnCalques_.getVueCalque().repaint();
fnInfo_.update(projet);
--- 1318,1322 ----
projet.setResultats(null); // Suppression des résultats
! fnCalques_.cqMaillage.initialise(projet);
fnCalques_.getVueCalque().repaint();
fnInfo_.update(projet);
***************
*** 1377,1381 ****
doma.setMaillage(null);
projet.setResultats(null); // Suppression des résultats
! fnCalques_.clMaillage.initialise(projet);
fnCalques_.getVueCalque().repaint();
fnInfo_.update(projet);
--- 1377,1381 ----
doma.setMaillage(null);
projet.setResultats(null); // Suppression des résultats
! fnCalques_.cqMaillage.initialise(projet);
fnCalques_.getVueCalque().repaint();
fnInfo_.update(projet);
***************
*** 1404,1408 ****
}
finally {
! fnCalques_.clAngles.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
--- 1404,1408 ----
}
finally {
! fnCalques_.cqAngles.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
***************
*** 1413,1418 ****
*/
private void cmdNouvelAngle() {
! fnCalques_.setLockEvents(fnCalques_.clSaisieAngle);
! fnCalques_.clSaisieAngle.initialise(projet);
}
--- 1413,1418 ----
*/
private void cmdNouvelAngle() {
! fnCalques_.setLockEvents(fnCalques_.cqSaisieAngle);
! fnCalques_.cqSaisieAngle.initialise(projet);
}
***************
*** 1425,1430 ****
public void actionPerformed(ActionEvent _evt) {
if (_evt.getSource()==di.CANCEL_BUTTON) return;
! fnCalques_.clAngles.initialise(projet);
! fnCalques_.clAnglesTrans.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
--- 1425,1430 ----
public void actionPerformed(ActionEvent _evt) {
if (_evt.getSource()==di.CANCEL_BUTTON) return;
! fnCalques_.cqAngles.initialise(projet);
! fnCalques_.cqAnglesTrans.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
***************
*** 1629,1633 ****
*/
private void cmdVoirNumNoeuds(boolean _visible) {
! fnCalques_.clMaillage.setNumerosNoeudsVisibles(_visible);
fnCalques_.getVueCalque().repaint();
}
--- 1629,1633 ----
*/
private void cmdVoirNumNoeuds(boolean _visible) {
! fnCalques_.cqMaillage.setNumerosNoeudsVisibles(_visible);
fnCalques_.getVueCalque().repaint();
}
***************
*** 1637,1641 ****
*/
private void cmdVoirNumElements(boolean _visible) {
! fnCalques_.clMaillage.setNumerosElementsVisibles(_visible);
fnCalques_.getVueCalque().repaint();
}
--- 1637,1641 ----
*/
private void cmdVoirNumElements(boolean _visible) {
! fnCalques_.cqMaillage.setNumerosElementsVisibles(_visible);
fnCalques_.getVueCalque().repaint();
}
***************
*** 1903,1908 ****
projet.getModeleCalcul().calculAngles(projet);
projet.getModeleCalcul().creerAngles(digue);
! fnCalques_.clAngles.initialise(projet);
! fnCalques_.clAnglesTrans.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
--- 1903,1908 ----
projet.getModeleCalcul().calculAngles(projet);
projet.getModeleCalcul().creerAngles(digue);
! fnCalques_.cqAngles.initialise(projet);
! fnCalques_.cqAnglesTrans.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
***************
*** 1947,1953 ****
projet.setModeleProprietes(RefondeModeleProprietes.defaut(projet));
projet.getModeleCalcul().calculAngles(projet);
! fnCalques_.clAngles.initialise(projet);
! fnCalques_.clAnglesTrans.initialise(projet);
! fnCalques_.clMaillage.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
--- 1947,1953 ----
projet.setModeleProprietes(RefondeModeleProprietes.defaut(projet));
projet.getModeleCalcul().calculAngles(projet);
! fnCalques_.cqAngles.initialise(projet);
! fnCalques_.cqAnglesTrans.initialise(projet);
! fnCalques_.cqMaillage.initialise(projet);
fnCalques_.getVueCalque().repaint();
}
***************
*** 2211,2217 ****
di=new RefondeDialogPanneau(getFrame(),pn,"Recentrer la vue") {
! public void actionApply() {
int num=((RefondePnRecentrerNoeud)getPanneauPrincipal()).getNumeroNoeud();
! if (num==-1) return;
// Recherche du noeud.
--- 2211,2217 ----
di=new RefondeDialogPanneau(getFrame(),pn,"Recentrer la vue") {
! public boolean actionApply() {
int num=((RefondePnRecentrerNoeud)getPanneauPrincipal()).getNumeroNoeud();
! if (num==-1) return true;
// Recherche du noeud.
***************
*** 2231,2235 ****
new BuDialogWarning(RefondeImplementation.this,isRefonde_,
"Le projet ne contient aucun noeud de numéro "+num).activate();
! return;
}
--- 2231,2235 ----
new BuDialogWarning(RefondeImplementation.this,isRefonde_,
"Le projet ne contient aucun noeud de numéro "+num).activate();
! return true;
}
***************
*** 2241,2244 ****
--- 2241,2246 ----
btC.ajuste(new GrPoint(ptC.x+(bt.e.x-bt.o.x)/2,ptC.y+(bt.e.y-bt.o.y)/2,0));
fnCalques_.getVueCalque().changeRepere(this,btC,0);
+
+ return true;
}
};
***************
*** 2256,2262 ****
di=new RefondeDialogPanneau(getFrame(),pn,"Recentrer la vue") {
! public void actionApply() {
int num=((RefondePnRecentrerElement)getPanneauPrincipal()).getNumeroElement();
! if (num==-1) return;
// Recherche de l'element.
--- 2258,2264 ----
di=new RefondeDialogPanneau(getFrame(),pn,"Recentrer la vue") {
! public boolean actionApply() {
int num=((RefondePnRecentrerElement)getPanneauPrincipal()).getNumeroElement();
! if (num==-1) return true;
// Recherche de l'element.
***************
*** 2276,2280 ****
new BuDialogWarning(RefondeImplementation.this,isRefonde_,
"Le projet ne contient aucun élément de numéro "+num).activate();
! return;
}
--- 2278,2282 ----
new BuDialogWarning(RefondeImplementation.this,isRefonde_,
"Le projet ne contient aucun élément de numéro "+num).activate();
! return true;
}
***************
*** 2286,2289 ****
--- 2288,2293 ----
btC.ajuste(new GrPoint(ptC.x+(bt.e.x-bt.o.x)/2,ptC.y+(bt.e.y-bt.o.y)/2,0));
fnCalques_.getVueCalque().changeRepere(this,btC,0);
+
+ return true;
}
};
***************
*** 2301,2305 ****
for (int i=0; i<domas.length; i++)
! if (domas[i].getContours()[0].contains(_poly)) return domas[i];
return null;
--- 2305,2309 ----
for (int i=0; i<domas.length; i++)
! if (domas[i].getContours()[0].hasChild(_poly)) return domas[i];
return null;
***************
*** 2489,2492 ****
--- 2493,2501 ----
r.addMenuItem("Créer un domaine digue","CREERDIGUE",null,false);
r.addMenuItem("Supprimer un domaine digue","SUPPRIMERDIGUE",null,false);
+ // r.addSeparator("Domaines poreux");
+ // r.addMenuItem("Créer un domaine poreux","CREERPOREUX",RefondeResource.REFONDE.getIcon("creerporeux"),false);
+ // r.addMenuItem("Supprimer le domaine poreux","SUPPRIMERPOREUX",RefondeResource.REFONDE.getIcon("supporeux"),false);
+ // r.addMenuItem("Propriétés du domaine poreux","MODIFIERPOREUX",RefondeResource.REFONDE.getIcon("proprietesporeux"),false);
+ // r.addMenuItem("Déplacer le point du plan","DEPLACERPOINT",RefondeResource.REFONDE.getIcon("deplacerpoint"),false);
return r;
}
|