Makefile and src

This commit is contained in:
2022-12-08 11:25:00 +01:00
parent 8b7943ef44
commit 8e5e88e08f
99 changed files with 25457 additions and 26 deletions

View File

@@ -12,8 +12,8 @@ import fr.iutfbleau.projetIHM2022FI2.API.TypeGroupe;
import fr.iutfbleau.projetIHM2022FI2.API.Model;
import fr.iutfbleau.projetIHM2022FI2.Permanent.Controller.ObservateurFenetre;
import fr.iutfbleau.projetIHM2022FI2.Permanent.View.Chargement;
import fr.iutfbleau.projetIHM2022FI2.MP.AbstractChangementFactoryNP;
import fr.iutfbleau.projetIHM2022FI2.MP.AbstractGroupeFactoryNP;
import fr.iutfbleau.projetIHM2022FI2.MP.AbstractChangementFactoryPersistant;
import fr.iutfbleau.projetIHM2022FI2.MP.AbstractGroupeFactoryPersistant;
import fr.iutfbleau.projetIHM2022FI2.MP.ETU.View.FenetreEtudiant;
import fr.iutfbleau.projetIHM2022FI2.MP.ETU.View.FenetreGroupe;
@@ -47,7 +47,7 @@ public class ModelEtu implements Model{
this.fenetre.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
this.fenetre.setMinimumSize(this.fenetre.getSize());
Chargement ch=new Chargement(this.fenetre);
this.promo=new AbstractGroupeFactoryNP(this.fenetre);
this.promo=new AbstractGroupeFactoryPersistant(this.fenetre);
if(this.promo.getPromotion()==null){
this.promo=null;
}
@@ -59,7 +59,7 @@ public class ModelEtu implements Model{
this.fenEtu=new FenetreEtudiant(null, this.Selected, this);
this.changement=null;
}else{
this.changement=new AbstractChangementFactoryNP(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);
}