/// <summary>
        /// Constructeur.
        /// </summary>
        /// <param name="source">Jedi source de l'affichage.</param>
        public JediViewer(Jedi source)
        {
            InitializeComponent();

            if (source == null)
            {
                // Récupération d'un jedi
                JediTournamentManager manager = new JediTournamentManager();
                _source = manager.getAllJedis()[0];
            }
            else
                _source = source;
        }
        /// <summary>
        /// Constructeur du ViewModel
        /// </summary>
        public JediGestionViewModel() {
            m_jedis = new ObservableCollection<JediViewModel>();

            JediTournamentManager manager = new JediTournamentManager();
            IList<Jedi> list = manager.getAllJedis();

            foreach (Jedi j in list)
                m_jedis.Add(new JediViewModel(j));

            /*    
            // Création de 8 Matchs
            for (int i = 0; i < 8; i++) {
                m_matchs.Add(new MatchViewModel());
            }*/
        }