editors/IECCodeViewer.py
author Laurent Bessard
Sun, 24 Feb 2013 00:28:49 +0100
changeset 940 0c68d1af821d
parent 815 e4f24593a758
child 1057 3837e165b3f9
permissions -rw-r--r--
Fixed bug PouInstancePanel not updated when drag'n dropping variable from extensions
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)