editors/IECCodeViewer.py
author Laurent Bessard
Mon, 03 Dec 2012 12:33:21 +0100
changeset 891 39f355a535d8
parent 815 e4f24593a758
child 1057 3837e165b3f9
permissions -rw-r--r--
Fix bug when copying transition and the connected FBD or LD diagram
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)