editors/IECCodeViewer.py
author Laurent Bessard
Tue, 23 Apr 2013 12:50:53 +0200
changeset 1048 b450202605ab
parent 815 e4f24593a758
child 1057 3837e165b3f9
permissions -rw-r--r--
Fixed bug in program elements computation order in PLCGenerator
815
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     1
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     2
from editors.TextViewer import TextViewer
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     3
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     4
class IECCodeViewer(TextViewer):
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     5
    
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     6
    def __del__(self):
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     7
        TextViewer.__del__(self)
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     8
        if getattr(self, "_OnClose"):
e4f24593a758 Adding support for extending internationalization to extensions
laurent
parents:
diff changeset
     9
            self._OnClose(self)