supression panel inutile
This commit is contained in:
parent
80964b9489
commit
ac30b64a31
@ -54,13 +54,6 @@ public class ModelEtu implements Model{
|
|||||||
ch.dispose();
|
ch.dispose();
|
||||||
this.fenetre.setVisible(true);
|
this.fenetre.setVisible(true);
|
||||||
this.initEtu(null);
|
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){
|
if(this.promo!=null){
|
||||||
this.showGroupe(this.promo.getPromotion());
|
this.showGroupe(this.promo.getPromotion());
|
||||||
}else{
|
}else{
|
||||||
|
@ -52,13 +52,6 @@ public class ModelProf implements Model{
|
|||||||
}
|
}
|
||||||
ch.dispose();
|
ch.dispose();
|
||||||
this.fenetre.setVisible(true);
|
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){
|
if(this.promo!=null){
|
||||||
this.showGroupe(this.promo.getPromotion());
|
this.showGroupe(this.promo.getPromotion());
|
||||||
}else{
|
}else{
|
||||||
|
@ -57,13 +57,6 @@ public class ModelRoot implements Model{
|
|||||||
this.changement=change;
|
this.changement=change;
|
||||||
ch.dispose();
|
ch.dispose();
|
||||||
this.fenetre.setVisible(true);
|
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){
|
if(this.promo.getPromotion()!=null){
|
||||||
this.showGroupe(this.promo.getPromotion());
|
this.showGroupe(this.promo.getPromotion());
|
||||||
}else{
|
}else{
|
||||||
|
@ -53,13 +53,9 @@ public class ModelEtu implements Model{
|
|||||||
this.fenetre.setVisible(true);
|
this.fenetre.setVisible(true);
|
||||||
this.initEtu(null);
|
this.initEtu(null);
|
||||||
if(this.promo==null){
|
if(this.promo==null){
|
||||||
this.fenGr=new FenetreGroupe(null, this, null);
|
|
||||||
this.fenEtu=new FenetreEtudiant(null, this.Selected, this);
|
|
||||||
this.changement=null;
|
this.changement=null;
|
||||||
}else{
|
}else{
|
||||||
this.changement=new AbstractChangementFactoryPersistant(promo, this.fenetre);
|
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){
|
if(this.promo!=null){
|
||||||
this.showGroupe(this.promo.getPromotion());
|
this.showGroupe(this.promo.getPromotion());
|
||||||
|
@ -52,13 +52,9 @@ public class ModelProf implements Model{
|
|||||||
ch.dispose();
|
ch.dispose();
|
||||||
this.fenetre.setVisible(true);
|
this.fenetre.setVisible(true);
|
||||||
if(this.promo==null){
|
if(this.promo==null){
|
||||||
this.fenGr=new FenetreGroupe(null, this);
|
|
||||||
this.fenEtu=new FenetreEtudiant(null);
|
|
||||||
this.changement=null;
|
this.changement=null;
|
||||||
}else{
|
}else{
|
||||||
this.changement=new AbstractChangementFactoryPersistant(promo, this.fenetre);
|
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){
|
if(this.promo!=null){
|
||||||
this.showGroupe(this.promo.getPromotion());
|
this.showGroupe(this.promo.getPromotion());
|
||||||
|
@ -56,11 +56,7 @@ public class ModelRoot implements Model{
|
|||||||
this.fenetre.setVisible(true);
|
this.fenetre.setVisible(true);
|
||||||
if(this.promo.getPromotion()==null){
|
if(this.promo.getPromotion()==null){
|
||||||
this.changement=null;
|
this.changement=null;
|
||||||
this.fenGr=new FenetreGroupe(null, this);
|
|
||||||
this.fenEtu=new FenetreEtudiant(null, this);
|
|
||||||
}else{
|
}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);
|
this.changement=new AbstractChangementFactoryPersistant(this.promo, this.fenetre);
|
||||||
}
|
}
|
||||||
if(this.promo.getPromotion()!=null){
|
if(this.promo.getPromotion()!=null){
|
||||||
|
Loading…
Reference in New Issue
Block a user