예제 #1
0
 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;
     }
 }
예제 #2
0
 private void PersistentManager_TreeClosing(Serialization.PersistenceManager manager, Serialization.PersistentTree tree)
 {
     OnTreeDeleting(tree.Tree);
 }
예제 #3
0
 private void PersistentManager_TreeOpening(Serialization.PersistenceManager manager, Serialization.PersistentTree tree)
 {
     OnTreeCreating(tree.Tree);
 }
예제 #4
0
 private void PersistenceManager_TreeClosed(Serialization.PersistenceManager manager, Serialization.PersistentTree e)
 {
     mainForm.EditorTabs.CloseTab(e);
 }
예제 #5
0
        private void PersistenceManager_TreeOpened(Serialization.PersistenceManager manager, Serialization.PersistentTree e)
        {
            Tab tab = mainForm.EditorTabs.OpenTab(e);

            tab.ControllerTag = new MapCtrl(tab.MapView, mainCtrl);
        }
예제 #6
0
        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);
        }