model.addBoTListener(new TreeListener(this));
	public ManageSubjectsAdapter(BoTModel model, JTree t) {		this.model = model;		this.list = new EventListenerList();		this.tree = t;				//TODO pour tester en local		Timetable timetable = new Timetable();		Formation formation = new Formation();		formation.setHeading("DESS CRI");		formation.setIdFormation(new Long(1));		timetable.setFormation(formation);								Subject subject = new Subject();		subject.setHeading("Matire1");		subject.setIdSubject(new Long(1));		Subject subject2 = new Subject();		subject2.setHeading("Matire2");		subject2.setIdSubject(new Long(2));		Subject subject3 = new Subject();		subject3.setHeading("Matire3");		subject3.setIdSubject(new Long(3));		ArrayList list = new ArrayList();		list.add(subject);		list.add(subject2);		list.add(subject3);		timetable.setSubjects(list);				model.setTimetable(timetable);		//finTODO		model.addBoTListener(new TreeListener(this));	}