editors/DataTypeEditor.py
changeset 1853 47a3f39bead0
parent 1847 6198190bc121
child 1878 fb73a6b6622d
equal deleted inserted replaced
1852:70c1cc354a8f 1853:47a3f39bead0
    21 #
    21 #
    22 # You should have received a copy of the GNU General Public License
    22 # You should have received a copy of the GNU General Public License
    23 # along with this program; if not, write to the Free Software
    23 # along with this program; if not, write to the Free Software
    24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    25 
    25 
       
    26 
       
    27 from __future__ import absolute_import
    26 import re
    28 import re
    27 from types import TupleType
    29 from types import TupleType
    28 
    30 
    29 import wx
    31 import wx
    30 import wx.grid
    32 import wx.grid
    31 import wx.lib.buttons
    33 import wx.lib.buttons
    32 from plcopen.structures import IEC_KEYWORDS, TestIdentifier, DefaultType
    34 from plcopen.structures import IEC_KEYWORDS, TestIdentifier, DefaultType
    33 from graphics.GraphicCommons import REFRESH_HIGHLIGHT_PERIOD
    35 from graphics.GraphicCommons import REFRESH_HIGHLIGHT_PERIOD
    34 from controls import CustomEditableListBox, CustomGrid, CustomTable, CustomIntCtrl
    36 from controls import CustomEditableListBox, CustomGrid, CustomTable, CustomIntCtrl
    35 from dialogs import ArrayTypeDialog
    37 from dialogs import ArrayTypeDialog
    36 from EditorPanel import EditorPanel
    38 from editors.EditorPanel import EditorPanel
    37 from util.BitmapLibrary import GetBitmap
    39 from util.BitmapLibrary import GetBitmap
    38 from util.TranslationCatalogs import NoTranslate
    40 from util.TranslationCatalogs import NoTranslate
    39 
    41 
    40 # -------------------------------------------------------------------------------
    42 # -------------------------------------------------------------------------------
    41 #                                    Helpers
    43 #                                    Helpers