PLCOpenEditor.py
changeset 1783 3311eea28d56
parent 1782 5b6ad7a7fd9d
child 1791 3216ed1ba1f7
equal deleted inserted replaced
1782:5b6ad7a7fd9d 1783:3311eea28d56
    31 import traceback
    31 import traceback
    32 import getopt
    32 import getopt
    33 import version
    33 import version
    34 import util.paths as paths
    34 import util.paths as paths
    35 
    35 
       
    36 from docutil import *
       
    37 from IDEFrame import IDEFrame, AppendMenu
       
    38 from IDEFrame import \
       
    39     TITLE, \
       
    40     EDITORTOOLBAR, \
       
    41     FILEMENU, \
       
    42     EDITMENU, \
       
    43     DISPLAYMENU, \
       
    44     PROJECTTREE, \
       
    45     POUINSTANCEVARIABLESPANEL, \
       
    46     LIBRARYTREE, \
       
    47     PAGETITLES
       
    48 
       
    49 from IDEFrame import EncodeFileSystemPath, DecodeFileSystemPath
       
    50 from editors.Viewer import Viewer
       
    51 from PLCControler import PLCControler
       
    52 from dialogs import ProjectDialog
       
    53 from dialogs.AboutDialog import ShowAboutDialog
       
    54 
       
    55 
    36 beremiz_dir = paths.AbsDir(__file__)
    56 beremiz_dir = paths.AbsDir(__file__)
    37 
    57 
    38 __version__ = "$Revision: 1.130 $"
    58 __version__ = "$Revision: 1.130 $"
    39 
    59 
    40 if __name__ == '__main__':
    60 if __name__ == '__main__':
    74         app = wx.PySimpleApp()
    94         app = wx.PySimpleApp()
    75 
    95 
    76     from util.misc import InstallLocalRessources
    96     from util.misc import InstallLocalRessources
    77     InstallLocalRessources(beremiz_dir)
    97     InstallLocalRessources(beremiz_dir)
    78 
    98 
    79 from docutil import *
       
    80 from IDEFrame import IDEFrame, AppendMenu
       
    81 from IDEFrame import TITLE, EDITORTOOLBAR, FILEMENU, EDITMENU, DISPLAYMENU, PROJECTTREE, POUINSTANCEVARIABLESPANEL, LIBRARYTREE, PAGETITLES
       
    82 from IDEFrame import EncodeFileSystemPath, DecodeFileSystemPath
       
    83 from editors.Viewer import Viewer
       
    84 from PLCControler import PLCControler
       
    85 from dialogs import ProjectDialog
       
    86 from dialogs.AboutDialog import ShowAboutDialog
       
    87 
    99 
    88 # -------------------------------------------------------------------------------
   100 # -------------------------------------------------------------------------------
    89 #                            PLCOpenEditor Main Class
   101 #                            PLCOpenEditor Main Class
    90 # -------------------------------------------------------------------------------
   102 # -------------------------------------------------------------------------------
    91 
   103