private void PersistenceManager_CurrentTreeChanged(Serialization.PersistenceManager manager, Serialization.PersistentTree oldTree, Serialization.PersistentTree newTree) { if (newTree != null) { Tab tab = mainForm.EditorTabs.FindTab(newTree); mainForm.EditorTabs.SelectedTab = tab; } }
private void PersistentManager_TreeClosing(Serialization.PersistenceManager manager, Serialization.PersistentTree tree) { OnTreeDeleting(tree.Tree); }
private void PersistentManager_TreeOpening(Serialization.PersistenceManager manager, Serialization.PersistentTree tree) { OnTreeCreating(tree.Tree); }
private void PersistenceManager_TreeClosed(Serialization.PersistenceManager manager, Serialization.PersistentTree e) { mainForm.EditorTabs.CloseTab(e); }
private void PersistenceManager_TreeOpened(Serialization.PersistenceManager manager, Serialization.PersistentTree e) { Tab tab = mainForm.EditorTabs.OpenTab(e); tab.ControllerTag = new MapCtrl(tab.MapView, mainCtrl); }
private void PersistenceManager_NewTreeCreated(Serialization.PersistenceManager manager, Serialization.PersistentTree e) { Tab tab = mainForm.EditorTabs.OpenTab(e); tab.ControllerTag = new MapCtrl(tab.MapView, mainCtrl.Dialogs, mainCtrl.NodeContextMenu); }