private void Save()
 {
     if (_bookmark != null)
     {
         _bookmark.SetHistory("bookmark", _repository.ProjectGUID, _bookmark.GetAll());
         _history.SetHistory("history", _repository.ProjectGUID, _history.GetAll());
     }
 }
        public Diagram(EA.Repository rep, EaHistoryList history, EaHistoryList bookmark)
        {
            _repository = rep;
            _history    = history;
            _bookmark   = bookmark;
            InitializeComponent();


            this.listBoxDiagrams.ItemsSource  = _history.GetAll();
            this.listBoxBookmarks.ItemsSource = _bookmark.GetAll();
        }
Ejemplo n.º 3
0
 public void Show()
 {
     this.listBoxDiagrams.ItemsSource = _historyList.GetAll();
 }