simplification repartition class et constructeur et modif API

This commit is contained in:
2022-12-01 19:58:40 +01:00
parent b926dc4d32
commit 35696d3b14
16 changed files with 449 additions and 1217 deletions

View File

@@ -0,0 +1,26 @@
package fr.iutfbleau.projetIHM2022FI2.Permanent;
import fr.iutfbleau.projetIHM2022FI2.Permanent.Util.User;
import fr.iutfbleau.projetIHM2022FI2.Permanent.View.Connexion;
public class TestTexteMNP{
public static void main(String[] args) {
User chois=Connexion.seConnecter();
if(chois!=null){
if(chois==User.ROOT){
new fr.iutfbleau.projetIHM2022FI2.ROOT.Model.Model();
}
if(chois==User.ETUDIANT){
new fr.iutfbleau.projetIHM2022FI2.ETU.Model.Model();
}
if(chois==User.PROF){
}
}
}
}