supression panel inutile

This commit is contained in:
martins 2022-12-08 12:13:41 +01:00
parent 80964b9489
commit ac30b64a31
6 changed files with 0 additions and 33 deletions

View File

@ -54,13 +54,6 @@ public class ModelEtu implements Model{
ch.dispose();
this.fenetre.setVisible(true);
this.initEtu(null);
if(this.promo==null){
this.fenGr=new FenetreGroupe(null, this, null);
this.fenEtu=new FenetreEtudiant(null, this.Selected, this);
}else{
this.fenGr=new FenetreGroupe(this.promo.getPromotion(), this,this.promo.getGroupesOfEtudiant(this.Selected));
this.fenEtu=new FenetreEtudiant(this.promo.getPromotion(), this.Selected, this);
}
if(this.promo!=null){
this.showGroupe(this.promo.getPromotion());
}else{

View File

@ -52,13 +52,6 @@ public class ModelProf implements Model{
}
ch.dispose();
this.fenetre.setVisible(true);
if(this.promo==null){
this.fenGr=new FenetreGroupe(null, this);
this.fenEtu=new FenetreEtudiant(null);
}else{
this.fenGr=new FenetreGroupe(this.promo.getPromotion(), this);
this.fenEtu=new FenetreEtudiant(this.promo.getPromotion());
}
if(this.promo!=null){
this.showGroupe(this.promo.getPromotion());
}else{

View File

@ -57,13 +57,6 @@ public class ModelRoot implements Model{
this.changement=change;
ch.dispose();
this.fenetre.setVisible(true);
if(this.promo.getPromotion()==null){
this.fenGr=new FenetreGroupe(null, this);
this.fenEtu=new FenetreEtudiant(null, this);
}else{
this.fenGr=new FenetreGroupe(this.promo.getPromotion(), this);
this.fenEtu=new FenetreEtudiant(this.promo.getPromotion(), this);
}
if(this.promo.getPromotion()!=null){
this.showGroupe(this.promo.getPromotion());
}else{

View File

@ -53,13 +53,9 @@ public class ModelEtu implements Model{
this.fenetre.setVisible(true);
this.initEtu(null);
if(this.promo==null){
this.fenGr=new FenetreGroupe(null, this, null);
this.fenEtu=new FenetreEtudiant(null, this.Selected, this);
this.changement=null;
}else{
this.changement=new AbstractChangementFactoryPersistant(promo, this.fenetre);
this.fenGr=new FenetreGroupe(this.promo.getPromotion(), this,this.promo.getGroupesOfEtudiant(this.Selected));
this.fenEtu=new FenetreEtudiant(this.promo.getPromotion(), this.Selected, this);
}
if(this.promo!=null){
this.showGroupe(this.promo.getPromotion());

View File

@ -52,13 +52,9 @@ public class ModelProf implements Model{
ch.dispose();
this.fenetre.setVisible(true);
if(this.promo==null){
this.fenGr=new FenetreGroupe(null, this);
this.fenEtu=new FenetreEtudiant(null);
this.changement=null;
}else{
this.changement=new AbstractChangementFactoryPersistant(promo, this.fenetre);
this.fenGr=new FenetreGroupe(this.promo.getPromotion(), this);
this.fenEtu=new FenetreEtudiant(this.promo.getPromotion());
}
if(this.promo!=null){
this.showGroupe(this.promo.getPromotion());

View File

@ -56,11 +56,7 @@ public class ModelRoot implements Model{
this.fenetre.setVisible(true);
if(this.promo.getPromotion()==null){
this.changement=null;
this.fenGr=new FenetreGroupe(null, this);
this.fenEtu=new FenetreEtudiant(null, this);
}else{
this.fenGr=new FenetreGroupe(this.promo.getPromotion(), this);
this.fenEtu=new FenetreEtudiant(this.promo.getPromotion(), this);
this.changement=new AbstractChangementFactoryPersistant(this.promo, this.fenetre);
}
if(this.promo.getPromotion()!=null){