55 ID_PLCOPENEDITORLIBRARYPANEL, ID_PLCOPENEDITORLIBRARYSEARCHCTRL, |
55 ID_PLCOPENEDITORLIBRARYPANEL, ID_PLCOPENEDITORLIBRARYSEARCHCTRL, |
56 ID_PLCOPENEDITORLIBRARYTREE, ID_PLCOPENEDITORLIBRARYCOMMENT, |
56 ID_PLCOPENEDITORLIBRARYTREE, ID_PLCOPENEDITORLIBRARYCOMMENT, |
57 ID_PLCOPENEDITORTABSOPENED, ID_PLCOPENEDITORTABSOPENED, |
57 ID_PLCOPENEDITORTABSOPENED, ID_PLCOPENEDITORTABSOPENED, |
58 ID_PLCOPENEDITOREDITORMENUTOOLBAR, ID_PLCOPENEDITOREDITORTOOLBAR, |
58 ID_PLCOPENEDITOREDITORMENUTOOLBAR, ID_PLCOPENEDITOREDITORTOOLBAR, |
59 ID_PLCOPENEDITORPROJECTPANEL, |
59 ID_PLCOPENEDITORPROJECTPANEL, |
60 ] = [wx.NewId() for _init_ctrls in range(17)] |
60 ] = [wx.NewIdRef() for _init_ctrls in range(17)] |
61 |
61 |
62 # Define PLCOpenEditor EditMenu extra items id |
62 # Define PLCOpenEditor EditMenu extra items id |
63 [ |
63 [ |
64 ID_PLCOPENEDITOREDITMENUENABLEUNDOREDO, ID_PLCOPENEDITOREDITMENUADDDATATYPE, |
64 ID_PLCOPENEDITOREDITMENUENABLEUNDOREDO, ID_PLCOPENEDITOREDITMENUADDDATATYPE, |
65 ID_PLCOPENEDITOREDITMENUADDFUNCTION, ID_PLCOPENEDITOREDITMENUADDFUNCTIONBLOCK, |
65 ID_PLCOPENEDITOREDITMENUADDFUNCTION, ID_PLCOPENEDITOREDITMENUADDFUNCTIONBLOCK, |
66 ID_PLCOPENEDITOREDITMENUADDPROGRAM, ID_PLCOPENEDITOREDITMENUADDCONFIGURATION, |
66 ID_PLCOPENEDITOREDITMENUADDPROGRAM, ID_PLCOPENEDITOREDITMENUADDCONFIGURATION, |
67 ID_PLCOPENEDITOREDITMENUFINDNEXT, ID_PLCOPENEDITOREDITMENUFINDPREVIOUS, |
67 ID_PLCOPENEDITOREDITMENUFINDNEXT, ID_PLCOPENEDITOREDITMENUFINDPREVIOUS, |
68 ID_PLCOPENEDITOREDITMENUSEARCHINPROJECT, ID_PLCOPENEDITOREDITMENUADDRESOURCE |
68 ID_PLCOPENEDITOREDITMENUSEARCHINPROJECT, ID_PLCOPENEDITOREDITMENUADDRESOURCE |
69 ] = [wx.NewId() for _init_coll_EditMenu_Items in range(10)] |
69 ] = [wx.NewIdRef() for _init_coll_EditMenu_Items in range(10)] |
70 |
70 |
71 # Define PLCOpenEditor DisplayMenu extra items id |
71 # Define PLCOpenEditor DisplayMenu extra items id |
72 [ |
72 [ |
73 ID_PLCOPENEDITORDISPLAYMENURESETPERSPECTIVE, |
73 ID_PLCOPENEDITORDISPLAYMENURESETPERSPECTIVE, |
74 ID_PLCOPENEDITORDISPLAYMENUSWITCHPERSPECTIVE, |
74 ID_PLCOPENEDITORDISPLAYMENUSWITCHPERSPECTIVE, |
75 ID_PLCOPENEDITORDISPLAYMENUFULLSCREEN, |
75 ID_PLCOPENEDITORDISPLAYMENUFULLSCREEN, |
76 ] = [wx.NewId() for _init_coll_DisplayMenu_Items in range(3)] |
76 ] = [wx.NewIdRef() for _init_coll_DisplayMenu_Items in range(3)] |
77 |
77 |
78 # ------------------------------------------------------------------------------- |
78 # ------------------------------------------------------------------------------- |
79 # EditorToolBar definitions |
79 # EditorToolBar definitions |
80 # ------------------------------------------------------------------------------- |
80 # ------------------------------------------------------------------------------- |
81 |
81 |
88 ID_PLCOPENEDITOREDITORTOOLBARCOIL, ID_PLCOPENEDITOREDITORTOOLBARCONTACT, |
88 ID_PLCOPENEDITOREDITORTOOLBARCOIL, ID_PLCOPENEDITOREDITORTOOLBARCONTACT, |
89 ID_PLCOPENEDITOREDITORTOOLBARBRANCH, ID_PLCOPENEDITOREDITORTOOLBARINITIALSTEP, |
89 ID_PLCOPENEDITOREDITORTOOLBARBRANCH, ID_PLCOPENEDITOREDITORTOOLBARINITIALSTEP, |
90 ID_PLCOPENEDITOREDITORTOOLBARSTEP, ID_PLCOPENEDITOREDITORTOOLBARTRANSITION, |
90 ID_PLCOPENEDITOREDITORTOOLBARSTEP, ID_PLCOPENEDITOREDITORTOOLBARTRANSITION, |
91 ID_PLCOPENEDITOREDITORTOOLBARACTIONBLOCK, ID_PLCOPENEDITOREDITORTOOLBARDIVERGENCE, |
91 ID_PLCOPENEDITOREDITORTOOLBARACTIONBLOCK, ID_PLCOPENEDITOREDITORTOOLBARDIVERGENCE, |
92 ID_PLCOPENEDITOREDITORTOOLBARJUMP, ID_PLCOPENEDITOREDITORTOOLBARMOTION, |
92 ID_PLCOPENEDITOREDITORTOOLBARJUMP, ID_PLCOPENEDITOREDITORTOOLBARMOTION, |
93 ] = [wx.NewId() for _init_coll_DefaultEditorToolBar_Items in range(18)] |
93 ] = [wx.NewIdRef() for _init_coll_DefaultEditorToolBar_Items in range(18)] |
94 |
94 |
95 |
95 |
96 # ------------------------------------------------------------------------------- |
96 # ------------------------------------------------------------------------------- |
97 # Helper Functions |
97 # Helper Functions |
98 # ------------------------------------------------------------------------------- |
98 # ------------------------------------------------------------------------------- |