simplification repartition class et constructeur et modif API
This commit is contained in:
@@ -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){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user