Mise à jour de 'src/Test/Controller.java'
This commit is contained in:
parent
29ae321ec7
commit
e86b2e4c84
@ -53,6 +53,16 @@ public class Controller implements ActionListener, ListSelectionListener {
|
|||||||
this.parent = new MainMenu(this);
|
this.parent = new MainMenu(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Controller(BDatabase db, int selectedView) {
|
||||||
|
this.db = db;
|
||||||
|
this.e = this.db.getEtuList();
|
||||||
|
this.g = this.db.getGroupeList();
|
||||||
|
this.sv = new StudentView(this.e, this.g, this);
|
||||||
|
this.pv = new ProfView(this.e, this.g, this);
|
||||||
|
this.av = new AdminView(this.e, this.g, this);
|
||||||
|
this.parent = new MainMenu(this, selectedView);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* Récuperer le nombre de membres d'un groupe
|
* Récuperer le nombre de membres d'un groupe
|
||||||
|
Loading…
Reference in New Issue
Block a user