equal
deleted
inserted
replaced
28 |
28 |
29 from types import * |
29 from types import * |
30 import os, re, platform, sys, time, traceback, getopt |
30 import os, re, platform, sys, time, traceback, getopt |
31 |
31 |
32 __version__ = "$Revision$" |
32 __version__ = "$Revision$" |
|
33 |
|
34 from node import OD_Subindex, OD_MultipleSubindexes, OD_IdenticalSubindexes, OD_IdenticalIndexes |
33 |
35 |
34 from nodemanager import * |
36 from nodemanager import * |
35 from subindextable import * |
37 from subindextable import * |
36 from commondialogs import * |
38 from commondialogs import * |
37 from doc_index.DS301_index import * |
39 from doc_index.DS301_index import * |
594 # Load and Save Funtions |
596 # Load and Save Funtions |
595 #------------------------------------------------------------------------------- |
597 #------------------------------------------------------------------------------- |
596 |
598 |
597 def OnNewMenu(self, event): |
599 def OnNewMenu(self, event): |
598 self.FilePath = "" |
600 self.FilePath = "" |
599 dialog = CreateNodeDialog(self) |
601 dialog = CreateNodeDialog(self, ScriptDirectory) |
600 if dialog.ShowModal() == wxID_OK: |
602 if dialog.ShowModal() == wxID_OK: |
601 name, id, nodetype, description = dialog.GetValues() |
603 name, id, nodetype, description = dialog.GetValues() |
602 profile, filepath = dialog.GetProfile() |
604 profile, filepath = dialog.GetProfile() |
603 NMT = dialog.GetNMTManagement() |
605 NMT = dialog.GetNMTManagement() |
604 options = dialog.GetOptions() |
606 options = dialog.GetOptions() |