20 # |
20 # |
21 # You should have received a copy of the GNU General Public License |
21 # You should have received a copy of the GNU General Public License |
22 # along with this program; if not, write to the Free Software |
22 # along with this program; if not, write to the Free Software |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 |
24 |
|
25 |
|
26 from __future__ import absolute_import |
25 import re |
27 import re |
26 from types import TupleType, StringType, UnicodeType |
28 from types import TupleType, StringType, UnicodeType |
27 |
29 |
28 import wx |
30 import wx |
29 import wx.grid |
31 import wx.grid |
30 import wx.lib.buttons |
32 import wx.lib.buttons |
31 |
33 |
32 from plcopen.structures import LOCATIONDATATYPES, TestIdentifier, IEC_KEYWORDS, DefaultType |
34 from plcopen.structures import LOCATIONDATATYPES, TestIdentifier, IEC_KEYWORDS, DefaultType |
33 from graphics.GraphicCommons import REFRESH_HIGHLIGHT_PERIOD, ERROR_HIGHLIGHT |
35 from graphics.GraphicCommons import REFRESH_HIGHLIGHT_PERIOD, ERROR_HIGHLIGHT |
34 from dialogs.ArrayTypeDialog import ArrayTypeDialog |
36 from dialogs.ArrayTypeDialog import ArrayTypeDialog |
35 from CustomGrid import CustomGrid |
37 from controls.CustomGrid import CustomGrid |
36 from CustomTable import CustomTable |
38 from controls.CustomTable import CustomTable |
37 from LocationCellEditor import LocationCellEditor |
39 from controls.LocationCellEditor import LocationCellEditor |
38 from util.BitmapLibrary import GetBitmap |
40 from util.BitmapLibrary import GetBitmap |
39 from util.TranslationCatalogs import NoTranslate |
41 from util.TranslationCatalogs import NoTranslate |
40 from PLCControler import _VariableInfos |
42 from PLCControler import _VariableInfos |
41 |
43 |
42 |
44 |