1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
10 /// @file    GUIAppEnum.h
11 /// @author  Daniel Krajzewicz
12 /// @author  Jakob Erdmann
13 /// @author  Michael Behrisch
14 /// @author  Andreas Gaubatz
15 /// @date    Mon, 08.03.2004
16 /// @version $Id$
17 ///
18 // Message and object IDs used by the FOX-version of the gui
19 /****************************************************************************/
20 #ifndef GUIAppEnum_h
21 #define GUIAppEnum_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #include <config.h>
28 
29 #include <fx.h>
30 
31 
32 // ===========================================================================
33 // enumeration
34 // ===========================================================================
35 /**
36  * @brief Message and object IDs used by the FOX-version of the gui
37  */
38 enum {
39     /// @brief Show about - dialog
40     ID_ABOUT = FXMainWindow::ID_LAST,
41 
42 
43     /// @name hotkeys
44     /// @{
45     /// @brief hotkey for mode editing additionals AND stops
46     MID_HOTKEY_A_ADDITIONALMODE_STOPMODE,
47     /// @brief hotkey for mode connecting lanes
48     MID_HOTKEY_C_CONNECTMODE,
49     /// @brief hotkey for mode deleting things
50     MID_HOTKEY_D_DELETEMODE,
51     /// @brief hotkey for mode adding edges
52     MID_HOTKEY_E_EDGEMODE,
53     /// @brief hotkey for mode inspecting object attributes
54     MID_HOTKEY_I_INSPECTMODE,
55     /// @brief hotkey for mode moving element
56     MID_HOTKEY_M_MOVEMODE,
57     /// @brief hotkey for mode creating polygons
58     MID_HOTKEY_P_POLYGONMODE,
59     /// @brief hotkey for mode selecting objects
60     MID_HOTKEY_S_SELECTMODE,
61     /// @brief hotkey for mode editing crossing AND routes
62     MID_HOTKEY_R_CROSSINGMODE_ROUTEMODE,
63     /// @brief hotkey for mode editing TLS AND Vehicle Types
64     MID_HOTKEY_T_TLSMODE_VTYPEMODE,
65     /// @brief hotkey for mode create vehicles
66     MID_HOTKEY_V_VEHICLEMODE,
67     /// @brief hotkey for mode editing connection prohibitions
68     MID_HOTKEY_W_PROHIBITIONMODE,
69     /// @brief hotkey for mode editing TAZ
70     MID_HOTKEY_Z_TAZMODE,
71 
72     /// @}
73 
74     /// @name Ctrl - hotkeys
75     /// @{
76     /// @brief Start the simulation in SUMO and open Additionals Elemements in NETEDIT
77     MID_HOTKEY_CTRL_A_STARTSIMULATION_OPENADDITIONALS,
78     /// @brief Edit simulation breakpoints
79     MID_HOTKEY_CTRL_B_EDITBREAKPOINT,
80     /// @brief Perform a single simulation step in SUMO and open Demand Elements in NETEDIT
81     MID_HOTKEY_CTRL_D_SINGLESIMULATIONSTEP_OPENDEMAND,
82     /// @brief Toogle Gaming mode in SUMO and grid in NETEDIT
83     MID_HOTKEY_CTRL_G_GAMINGMODE_TOOGLEGRID,
84     /// @brief Fullscreen mode - menu entry
85     MID_HOTKEY_CTRL_F_FULSCREENMODE,
86     /// @brief save joined junctions
87     MID_HOTKEY_CTRL_J_SAVEJOINEDJUNCTIONS,
88     /// @brief save network as plain XML
89     MID_HOTKEY_CTRL_L_SAVEASPLAINXML,
90     /// @brief create new empty newtork
91     MID_HOTKEY_CTRL_N_NEWNETWORK,
92     /// @brief Main window closes
93     MID_HOTKEY_CTRL_Q_CLOSE,
94     /// @brief Stop the simulation in SUMO and save network in NETEDIT
95     MID_HOTKEY_CTRL_S_STOPSIMULATION_SAVENETWORK,
96     /// @brief Reload the previously loaded simulation
97     MID_HOTKEY_CTRL_R_RELOAD,
98     /// @brief Open current network in SUMO or in NETEDIT
99     MID_HOTKEY_CTRL_T_OPENSUMONETEDIT,
100     /// @brief Close simulation - ID
101     MID_HOTKEY_CTRL_W_CLOSESIMULATION,
102     /// @brief Undo
103     MID_HOTKEY_CTRL_Y_REDO,
104     /// @brief Redo
105     MID_HOTKEY_CTRL_Z_UNDO,
106     /// @brief Toogle show connections in Netedit
107     MID_HOTKEY_CTRL_SHIFT_C_SHOWCONNECTIONS,
108     /// @brief Toogle move elevation
109     MID_HOTKEY_CTRL_SHIFT_H_TOOGLEELEVATION,
110     /// @brief Toogle select edges in Netedit
111     MID_HOTKEY_CTRL_SHIFT_I_SELECTEDGES,
112     /// @brief Toogle chaing edges
113     MID_HOTKEY_CTRL_SHIFT_J_TOOGLECHAIN,
114     /// @brief Toogle two way
115     MID_HOTKEY_CTRL_SHIFT_K_TOOGLETWOWAY,
116 
117     /// @}
118 
119     /// @name Other hotkeys
120     /// @{
121 
122     /// @brief Save Additional Elements
123     MID_HOTKEY_CTRL_SHIFT_A_SAVEADDITIONALS,
124     /// @brief Save Demand Elements
125     MID_HOTKEY_CTRL_SHIFT_D_SAVEDEMAND,
126     /// @brief save newtwork as
127     MID_HOTKEY_CTRL_SHIFT_S_SAVENETWORKAS,
128     /// @brief compute junctions
129     MID_HOTKEY_F5_RECOMPUTE,
130     /// @brief compute junctions with volatile options
131     MID_HOTKEY_SHIFT_F5_RECOMPUTEVOLATILE,
132     /// @brief hot key <F1> open online documentation
133     MID_HOTKEY_F1_ONLINEDOCUMENTATION,
134     /// @brief hot key <F2> open about dialog
135     MID_HOTKEY_F2_ABOUT,
136     /// @brief hot key <F3> set network mode in NETEDIT
137     MID_HOTKEY_F3_SUPERMODE_NETWORK,
138     /// @brief hot key <F4> set demand mode in NETEDIT
139     MID_HOTKEY_F4_SUPERMODE_DEMAND,
140     /// @brief hot key <ESC> abort current edit operation
141     MID_GNE_HOTKEY_ESC,
142     /// @brief hot key <F12> focus upper element of current frame
143     MID_GNE_HOTKEY_F12,
144     /// @brief hot key <DEL> delete selections or elements
145     MID_GNE_HOTKEY_DEL,
146     /// @brief hot key <ENTER> accept current operation
147     MID_GNE_HOTKEY_ENTER,
148     /// @brief save TLS Programs
149     MID_GNE_HOTKEY_CTRL_SHIFT_K,
150     /// @brief clean junctions without edges
151     MID_GNE_HOTKEY_F6,
152     /// @brief join selected junctions
153     MID_GNE_HOTKEY_F7,
154     /// @brief clean invalid crossings
155     MID_GNE_HOTKEY_F8,
156     /// @brief open options menu
157     MID_GNE_HOTKEY_F10,
158 
159     /// @}
160 
161     /// @name application specific
162     /// @{
163 
164     /// @brief Main window-ID
165     MID_WINDOW,
166 
167     /// @}
168 
169 
170     /// @name for common buttons
171     /// @{
172 
173     /// @brief Ok-button pressed
174     MID_OK,
175     /// @brief Cancel-button pressed
176     MID_CANCEL,
177     /// @}
178 
179 
180     /// @name Main Window File Menu - IDs
181     /// @{
182 
183     /// @brief Open configuration - ID
184     MID_OPEN_CONFIG,
185     /// @brief Open network - ID
186     MID_OPEN_NETWORK,
187     /// @brief Load additional file with poi and polygons
188     MID_HOTKEY_CTRL_P,
189     /// @brief Load edge data for visualization
190     MID_OPEN_EDGEDATA,
191     /// @brief Load additional file with additional elements
192     MID_OPEN_TLSPROGRAMS,
193     /// @brief Loads a file previously loaded
194     MID_RECENTFILE,
195     /// @}
196 
197 
198     /// @name Main Window Simulation Control - IDs
199     /// @{
200     /// @brief Save state to file
201     MID_SIMSAVE,
202     /// @}
203 
204 
205     /// @name Main window windows control - IDs
206     /// @{
207 
208     /// @brief Open a new microscopic view
209     MID_NEW_MICROVIEW,
210     /// @brief Open a new microscopic 3D view
211     MID_NEW_OSGVIEW,
212     /// @}
213 
214 
215     /// @name SubThread - IDs
216     /// @{
217 
218     /// @brief The loading thread
219     ID_LOADTHREAD_EVENT,
220     /// @brief The Simulation execution thread
221     ID_RUNTHREAD_EVENT,
222     /// @brief ID for message passing between threads
223     ID_THREAD_EVENT,
224     /// @}
225 
226 
227     /// @name Edit Menu Item - IDs
228     /// @{
229 
230     /// @brief Open editor for selections
231     MID_EDITCHOSEN,
232     /// @brief Open in netedit
233     MID_NETEDIT,
234     /// @}
235 
236 
237     /// @name Settings Menu Item - IDs
238     /// @{
239 
240     /// @brief Application settings - menu entry
241     MID_APPSETTINGS,
242     /// @brief Locator configuration - menu entry
243     MID_LISTINTERNAL,
244     MID_LISTPARKING,
245     MID_LISTTELEPORTING,
246     /// @brief The Simulation delay control
247     MID_SIMDELAY,
248     /// @}
249 
250 
251     /// @brief Clear simulation output
252     MID_CLEARMESSAGEWINDOW,
253     /// @brief Show network statistics
254     MID_SHOWNETSTATS,
255     /// @brief Show vehicle statistics
256     MID_SHOWVEHSTATS,
257     /// @brief Show person statistics
258     MID_SHOWPERSONSTATS,
259 
260     /// @brief update traci status
261     MID_TRACI_STATUS,
262 
263     /// @name Common View Settings - IDs
264     /// @{
265 
266     /// @brief Recenter view - button
267     MID_RECENTERVIEW,
268     /// @brief Allow rotation - button
269     MID_ALLOWROTATION,
270     /// @brief Locate junction - button
271     MID_LOCATEJUNCTION,
272     /// @brief Locate edge - button
273     MID_LOCATEEDGE,
274     /// @brief Locate vehicle - button
275     MID_LOCATEVEHICLE,
276     /// @brief Locate person - button
277     MID_LOCATEPERSON,
278     /// @brief Locate TLS - button
279     MID_LOCATETLS,
280     /// @brief Locate addtional structure - button
281     MID_LOCATEADD,
282     /// @brief Locate poi - button
283     MID_LOCATEPOI,
284     /// @brief Locate polygons - button
285     MID_LOCATEPOLY,
286     /// @brief Open viewport editor - button
287     MID_EDITVIEWPORT,
288     /// @brief Open view editor - button
289     MID_EDITVIEWSCHEME,
290     /// @brief Show tool tips - button
291     MID_SHOWTOOLTIPS,
292     /// @brief Make snapshot - button
293     MID_MAKESNAPSHOT,
294     /// @brief toogle zooming style
295     MID_ZOOM_STYLE,
296     /// @brief toogle time display mode
297     MID_TIME_TOOGLE,
298     /// @brief toogle delay between alternative value
299     MID_DELAY_TOOGLE,
300     /// @brief scale traffic
301     MID_DEMAND_SCALE,
302     /// @}
303 
304 
305     /// @name Common view IDs
306     /// @{
307 
308     /// @brief GLCanvas - ID
309     MID_GLCANVAS,
310     /// @brief chore
311     MID_CHORE,
312     /// @}
313 
314 
315     /// @name View settings - IDs
316     /// @{
317 
318     /// @brief Change coloring scheme - combo
319     MID_COLOURSCHEMECHANGE,
320     /// @}
321 
322 
323     /// @name Object PopUp Entries - IDs
324     /// @{
325 
326     /// @brief Center view to object - popup entry
327     MID_CENTER,
328     /// @brief Copy object name - popup entry
329     MID_COPY_NAME,
330     /// @brief Copy typed object name - popup entry
331     MID_COPY_TYPED_NAME,
332     /// @brief Copy edge name (for lanes only)
333     MID_COPY_EDGE_NAME,
334     /// @brief Copy cursor position - popup entry
335     MID_COPY_CURSOR_POSITION,
336     /// @brief Copy cursor geo-coordinate position - popup entry
337     MID_COPY_CURSOR_GEOPOSITION,
338     /// @brief open additional dialog (used in netedit)
339     MID_OPEN_ADDITIONAL_DIALOG,
340     /// @brief Show object parameter - popup entry
341     MID_SHOWPARS,
342     /// @brief Show object type parameter - popup entry
343     MID_SHOWTYPEPARS,
344     /// @brief Show transportable plan
345     MID_SHOWPLAN,
346     /// @brief Show TLS phases - popup entry
347     MID_SWITCH_OFF,
348     MID_SWITCH,
349     MID_SHOWPHASES = MID_SWITCH + 20,
350     /// @brief Begin to track phases - menu entry
351     MID_TRACKPHASES,
352     /// @brief Add to selected items - menu entry
353     MID_ADDSELECT,
354     /// @brief Remove from selected items - Menu Etry
355     MID_REMOVESELECT,
356     /// @brief Open the object's manipulator
357     MID_MANIP,
358     /// @brief Draw a vehicle's route
359     MID_DRAWROUTE,
360     /// @brief Show vehicle's current route
361     MID_SHOW_CURRENTROUTE,
362     /// @brief Hide vehicle's current route
363     MID_HIDE_CURRENTROUTE,
364     /// @brief Show vehicle's future route
365     MID_SHOW_FUTUREROUTE,
366     /// @brief Hide vehicle's future route
367     MID_HIDE_FUTUREROUTE,
368     /// @brief Show vehicle's best lanes
369     MID_SHOW_BEST_LANES,
370     /// @brief Hide vehicle's best lanes
371     MID_HIDE_BEST_LANES,
372     /// @brief Show all vehicle's routes
373     MID_SHOW_ALLROUTES,
374     /// @brief Hide all vehicle's routes
375     MID_HIDE_ALLROUTES,
376     /// @brief Start to track a vehicle
377     MID_START_TRACK,
378     /// @brief Stop to track a vehicle
379     MID_STOP_TRACK,
380     /// @brief select foes of a vehicle
381     MID_SHOW_FOES,
382     MID_SHOW_LFLINKITEMS,
383     MID_HIDE_LFLINKITEMS,
384     /// @brief Show persons's path on walkingarea
385     MID_SHOW_WALKINGAREA_PATH,
386     /// @brief Hide persons's path on walkingarea
387     MID_HIDE_WALKINGAREA_PATH,
388     /// @}
389 
390 
391     /// @name IDs used by Trackers
392     /// @{
393 
394     /// @brief The Table
395     MID_TABLE,
396     /// @brief A Simulation step was performed
397     MID_SIMSTEP,
398     /// @brief A Tracker shall be opened
399     MID_OPENTRACKER,
400     /// @}
401 
402 
403     /// @name General Setting Dialogs - IDs
404     /// @{
405 
406     /// @brief Ok-button was pushed
407     MID_SETTINGS_OK,
408     /// @brief Cancel-button was pushed
409     MID_SETTINGS_CANCEL,
410     /// @}
411 
412 
413     /// @name Application Settings - Dialog IDs
414     /// @{
415 
416     /// @brief Close simulation at end - Option
417     MID_QUITONSIMEND,
418     /// @brief Start simulation when loaded - Option
419     MID_AUTOSTART,
420     /// @brief Demo mode - Option
421     MID_DEMO,
422     /// @brief Allow textures - Option
423     MID_ALLOWTEXTURES,
424     /// @brief Locate links in messages - Option
425     MID_LOCATELINKS,
426     /// @}
427 
428 
429     /// @name GLObjChooser - Dialog IDs
430     /// @{
431 
432     /// @brief Center object
433     MID_CHOOSER_CENTER,
434     /// @brief Track object
435     MID_CHOOSER_TRACK,
436     /// @brief Text entry
437     MID_CHOOSER_TEXT,
438     /// @brief Object list
439     MID_CHOOSER_LIST,
440     /// @brief Filter selected
441     MID_CHOOSER_FILTER,
442     /// @}
443 
444 
445     /// @name GLChosenEditor - Dialog IDs
446     /// @{
447 
448     /// @brief set type of selection
449     MID_CHOOSEN_OPERATION,
450     /// @brief set subset of elements
451     MID_CHOOSEN_ELEMENTS,
452     /// @brief Load set
453     MID_CHOOSEN_LOAD,
454     /// @brief Save set
455     MID_CHOOSEN_SAVE,
456     /// @brief Clear set
457     MID_CHOOSEN_CLEAR,
458     /// @brief Reset set
459     MID_CHOOSEN_RESET,
460     /// @brief Deselect selected items
461     MID_CHOOSEN_DESELECT,
462     /// @brief Deselect selected items
463     MID_CHOOSEN_INVERT,
464     /// @brief Deselect selected items
465     MID_CHOOSEN_NAME,
466     /// @}
467 
468     /// NETEDIT
469 
470     /// @brief tree list with the childs
471     MID_GNE_DELETEFRAME_CHILDS,
472     /// @brief In GNEDeleteFrame, center element
473     MID_GNE_DELETEFRAME_CENTER,
474     /// @brief In GNEDeleteFrame, inspect element
475     MID_GNE_DELETEFRAME_INSPECT,
476     /// @brief In GNEDeleteFrame, delete element
477     MID_GNE_DELETEFRAME_DELETE,
478     /// @}
479 
480 
481     /// @name IDs for visualization settings - Dialog
482     /// @{
483 
484     /// @brief Informs the dialog about a value's change
485     MID_SIMPLE_VIEW_COLORCHANGE,
486     /// @brief Informs the dialog about switching to another scheme
487     MID_SIMPLE_VIEW_NAMECHANGE,
488     /// @brief For the save-to-db - button
489     MID_SIMPLE_VIEW_SAVE,
490     /// @brief For the delete - button
491     MID_SIMPLE_VIEW_DELETE,
492     /// @brief For the export-to-file - button
493     MID_SIMPLE_VIEW_EXPORT,
494     /// @brief For the import-from-file - button
495     MID_SIMPLE_VIEW_IMPORT,
496     /// @brief For the load-decals - button
497     MID_SIMPLE_VIEW_LOAD_DECALS,
498     /// @brief For the save-decals - button
499     MID_SIMPLE_VIEW_SAVE_DECALS,
500     /// @}
501 
502     ///@brief help button
503     MID_HELP,
504 
505     /// @name dynamic interaction with the simulation via SUMO-GUI
506     /// @{
507 
508     MID_CLOSE_LANE,
509     MID_CLOSE_EDGE,
510     MID_ADD_REROUTER,
511     /// @}
512 
513     /// @name Toolbar file messages
514     /// @{
515 
516     /// @brief open foreign network
517     MID_GNE_TOOLBARFILE_OPENFOREIGN,
518     /// @brief save additionals as
519     MID_GNE_TOOLBARFILE_SAVEADDITIONALS_AS,
520     /// @brief save TLS Programs as
521     MID_GNE_TOOLBARFILE_SAVETLSPROGRAMS_AS,
522     /// @brief save demand elements as
523     MID_GNE_TOOLBARFILE_SAVEDEMAND_AS,
524     /// @}
525 
526 
527     /// @name GNEViewParent dialog messages
528     /// @{
529 
530     /// @brief Size of frame area updated
531     MID_GNE_VIEWPARENT_FRAMEAREAWIDTH,
532     /// @}
533 
534 
535     /// @name GNEViewNet messages
536     /// @{
537 
538     /// @brief show demand elements
539     MID_GNE_VIEWNET_SHOW_DEMAND_ELEMENTS,
540     /// @brief show connections
541     MID_GNE_VIEWNET_SHOW_CONNECTIONS,
542     /// @brief select edges
543     MID_GNE_VIEWNET_SELECT_EDGES,
544     /// @brief show junctions as bubbles
545     MID_GNE_VIEWNET_SHOW_BUBBLES,
546     /// @brief move elevation instead of x,y
547     MID_GNE_VIEWNET_MOVE_ELEVATION,
548     /// @brief show grid
549     MID_GNE_VIEWNET_SHOW_GRID,
550     /// @}
551 
552 
553     /// @name GNEFrame messages
554     /// @{
555     // MID_GNE_WIZARD,
556     /// @brief attribute added
557     MID_GNE_ADD_ATTRIBUTE,
558     /// @brief attribute removed
559     MID_GNE_REMOVE_ATTRIBUTE,
560     /// @brief attribute edited
561     MID_GNE_SET_ATTRIBUTE,
562     /// @brief create something
563     MID_GNE_CREATE,
564     /// @brief used to select a type of element in a combo box
565     MID_GNE_SET_TYPE,
566     /// @brief text attribute edited
567     MID_GNE_SET_ATTRIBUTE_TEXT,
568     /// @brief bool attribute edited
569     MID_GNE_SET_ATTRIBUTE_BOOL,
570     /// @brief attribute edited trought dialog
571     MID_GNE_SET_ATTRIBUTE_DIALOG,
572     /// @brief attribute selected using a radio button
573     MID_GNE_SET_ATTRIBUTE_RADIOBUTTON,
574     /// @brief select items
575     MID_GNE_SELECT,
576     /// @}
577 
578 
579     /// @name GNESelectorFrame messages
580     /// @{
581 
582     /// @brief select tag in selector frame
583     MID_GNE_SELECTORFRAME_SELECTTAG,
584     /// @brief select attribute in selector frame
585     MID_GNE_SELECTORFRAME_SELECTATTRIBUTE,
586     /// @brief process string
587     MID_GNE_SELECTORFRAME_PROCESSSTRING,
588     /// @brief changes the visual scaling of selected items
589     MID_GNE_SELECTORFRAME_SELECTSCALE,
590     /// @brief start drawing polygon
591     MID_GNE_STARTDRAWING,
592     /// @brief stop drawing polygon
593     MID_GNE_STOPDRAWING,
594     /// @brief abort drawing polygon
595     MID_GNE_ABORTDRAWING,
596     /// @}
597 
598 
599     /// @name GNEConnectorFrame messages
600     /// @{
601 
602     /// @brief select dead end lanes
603     MID_GNE_CONNECTORFRAME_SELECTDEADENDS,
604     /// @brief select lanes that have no connection leading to it
605     MID_GNE_CONNECTORFRAME_SELECTDEADSTARTS,
606     /// @brief select lanes that are connected from concurrent lanes
607     MID_GNE_CONNECTORFRAME_SELECTCONFLICTS,
608     /// @brief select lanes with connections that have the pass attribute set to 'true'
609     MID_GNE_CONNECTORFRAME_SELECTPASS,
610     /// @}
611 
612 
613     /// @name GNEInspectorFrame messages
614     /// @{
615 
616     /// @brief In GNEINSPECTORFRAME, center element
617     MID_GNE_INSPECTORFRAME_CENTER,
618     /// @brief In GNEINSPECTORFRAME, inspect element
619     MID_GNE_INSPECTORFRAME_INSPECT,
620     /// @brief In GNEINSPECTORFRAME, delete element
621     MID_GNE_INSPECTORFRAME_DELETE,
622     /// @brief set object as template
623     MID_GNE_INSPECTORFRAME_SETTEMPLATE,
624     /// @brief copy template
625     MID_GNE_INSPECTORFRAME_COPYTEMPLATE,
626     /// @brief go back to the previous element
627     MID_GNE_INSPECTORFRAME_GOBACK,
628     /// @brief inspect next element
629     MID_GNE_INSPECTORFRAME_NEXT,
630     /// @brief inspect previous element
631     MID_GNE_INSPECTORFRAME_PREVIOUS,
632     /// @brief show list of overlapped elements
633     MID_GNE_INSPECTORFRAME_SHOWLIST,
634     /// @brief list item selected
635     MID_GNE_INSPECTORFRAME_ITEMSELECTED,
636     /// @}
637 
638 
639     /// @name GNETLSEditorFrame messages
640     /// @{
641 
642     /// @brief selected junction von TLS
643     MID_GNE_TLSFRAME_SELECT_JUNCTION,
644     /// @brief update TLS status
645     MID_GNE_TLSFRAME_UPDATE_STATUS,
646     /// @brief replace program with a newly guessed program
647     MID_GNE_TLSFRAME_GUESSPROGRAM,
648     /// @brief definition related controls
649     MID_GNE_TLSFRAME_OFFSET,
650     /// @brief switch between programs
651     MID_GNE_TLSFRAME_SWITCH,
652     /// @brief Create TLS
653     MID_GNE_TLSFRAME_CREATE,
654     /// @brief delete TLS
655     MID_GNE_TLSFRAME_DELETE,
656     /// @brief rename TLS
657     MID_GNE_TLSFRAME_RENAME,
658     /// @brief sub-rename TLS
659     MID_GNE_TLSFRAME_SUBRENAME,
660     /// @brief add off to TLS
661     MID_GNE_TLSFRAME_ADDOFF,
662     /// @brief select phase thable
663     MID_GNE_TLSFRAME_PHASE_TABLE,
664     /// @brief create phase thable
665     MID_GNE_TLSFRAME_PHASE_CREATE,
666     /// @brief delete  phase thable
667     MID_GNE_TLSFRAME_PHASE_DELETE,
668     /// @brief cleanup unused states
669     MID_GNE_TLSFRAME_CLEANUP,
670     /// @brief mark unused states
671     MID_GNE_TLSFRAME_MARKUNUSED,
672     /// @brief mark unused states
673     MID_GNE_TLSFRAME_ADDUNUSED,
674     /// @brief Load Program
675     MID_GNE_TLSFRAME_LOAD_PROGRAM,
676     /// @brief cleanup unused states
677     MID_GNE_TLSFRAME_SAVE_PROGRAM,
678     /// @}
679 
680 
681     /// @name GNETLSEditorFrame messages
682     /// @{
683     /// @brief create vehicle types
684     MID_GNE_VEHICLETYPEFRAME_CREATE,
685     /// @brief delete a vehicle type
686     MID_GNE_VEHICLETYPEFRAME_DELETE,
687     /// @brief reset a default vehicle type
688     MID_GNE_VEHICLETYPEFRAME_RESET,
689     /// @brief copy a vehicle type
690     MID_GNE_VEHICLETYPEFRAME_COPY,
691     /// @}
692 
693 
694     /// @name GNECrossingFrame messages
695     /// @{
696 
697     /// @brief Create crossing
698     MID_GNE_CROSSINGFRAME_CREATECROSSING,
699     /// @}
700 
701     /// @name GNEAdditionalFrame messages
702     /// @{
703 
704     /// @brief add row
705     MID_GNE_ADDITIONALFRAME_ADDROW,
706     /// @brief remove row
707     MID_GNE_ADDITIONALFRAME_REMOVEROW,
708     /// @brief search element
709     MID_GNE_ADDITIONALFRAME_SEARCH,
710     /// @brief use selected elements
711     MID_GNE_ADDITIONALFRAME_USESELECTED,
712     /// @brief select element
713     MID_GNE_ADDITIONALFRAME_SELECT,
714     /// @brief clear selection of elements
715     MID_GNE_ADDITIONALFRAME_CLEARSELECTION,
716     /// @brief invert selection of eleents
717     MID_GNE_ADDITIONALFRAME_INVERTSELECTION,
718     /// @brief start selection of consecutive egdes/lanes
719     MID_GNE_ADDITIONALFRAME_STARTSELECTION,
720     /// @brief stop selection of consecutive egdes/lanes
721     MID_GNE_ADDITIONALFRAME_STOPSELECTION,
722     /// @brief abort selection of consecutive egdes/lanes
723     MID_GNE_ADDITIONALFRAME_ABORTSELECTION,
724     /// @}
725 
726 
727     /// @name GNEProhibitionFrame messages
728     /// @{
729 
730     /// @brief select prohibiting connection
731     MID_GNE_PROHIBITIONFRAME_SELECTPROHIBITING,
732     /// @brief select connections to be prohibited
733     MID_GNE_PROHIBITIONFRAME_SELECTPROHIBITED,
734     /// @brief abort drawing polygon
735     MID_GNE_PROHIBITIONFRAME_ABORTDRAWING,
736     /// @}
737 
738 
739     /// @name GNEVehicleFrame messages
740     /// @{
741 
742     /// @brief abort route creation
743     MID_GNE_VEHICLEFRAME_ABORT,
744     /// @brief finish route creation
745     MID_GNE_VEHICLEFRAME_FINISHCREATION,
746     /// @brief remove last inserted edge
747     MID_GNE_VEHICLEFRAME_REMOVELASTEDGE,
748     /// @}
749 
750 
751     /// @name GNEEdge messages
752     /// @{
753 
754     /// @brief change default geometry endpoints
755     MID_GNE_EDGE_EDIT_ENDPOINT,
756     /// @brief reset default geometry endpoints
757     MID_GNE_EDGE_RESET_ENDPOINT,
758     /// @brief remove inner geometry
759     MID_GNE_EDGE_STRAIGHTEN,
760     /// @brief smooth geometry
761     MID_GNE_EDGE_SMOOTH,
762     /// @brief interpolate z values linear between junctions
763     MID_GNE_EDGE_STRAIGHTEN_ELEVATION,
764     /// @brief smooth elevation with regard to adjoining edges
765     MID_GNE_EDGE_SMOOTH_ELEVATION,
766     /// @brief split an edge
767     MID_GNE_EDGE_SPLIT,
768     /// @brief split an edge
769     MID_GNE_EDGE_SPLIT_BIDI,
770     /// @brief reverse an edge
771     MID_GNE_EDGE_REVERSE,
772     /// @brief add reverse edge
773     MID_GNE_EDGE_ADD_REVERSE,
774     /// @}
775 
776 
777     /// @name GNEJunction messages
778     /// @{
779 
780     /// @brief clear junction's connections
781     MID_GNE_JUNCTION_CLEAR_CONNECTIONS,
782     /// @brief reset junction's connections
783     MID_GNE_JUNCTION_RESET_CONNECTIONS,
784     /// @brief turn junction into geometry node
785     MID_GNE_JUNCTION_REPLACE,
786     /// @brief turn junction into multiple junctions
787     MID_GNE_JUNCTION_SPLIT,
788     /// @brief turn junction into multiple junctions and reconnect them heuristically
789     MID_GNE_JUNCTION_SPLIT_RECONNECT,
790     /// @brief edit junction shape
791     MID_GNE_JUNCTION_EDIT_SHAPE,
792     /// @brief reset junction shape
793     MID_GNE_JUNCTION_RESET_SHAPE,
794     /// @}
795 
796 
797     /// @name GNEConnection messages
798     /// @{
799 
800     /// @brief edit junction shape
801     MID_GNE_CONNECTION_EDIT_SHAPE,
802     /// @}
803 
804 
805     /// @name GNECrossing messages
806     /// @{
807 
808     /// @brief edit junction shape
809     MID_GNE_CROSSING_EDIT_SHAPE,
810     /// @}
811 
812 
813     /// @name GNEPoly messages
814     /// @{
815 
816     /// @brief simplify polygon geometry
817     MID_GNE_POLYGON_SIMPLIFY_SHAPE,
818     /// @brief close opened polygon
819     MID_GNE_POLYGON_CLOSE,
820     /// @brief open closed polygon
821     MID_GNE_POLYGON_OPEN,
822     /// @brief Set a vertex of polygon as first verte
823     MID_GNE_POLYGON_SET_FIRST_POINT,
824     /// @brief delete geometry point
825     MID_GNE_POLYGON_DELETE_GEOMETRY_POINT,
826     /// @}
827 
828 
829     /// @name GNEPOI messages
830     /// @{
831 
832     /// @brief Transform POI to POILane, and viceversa
833     MID_GNE_POI_TRANSFORM,
834     /// @}
835 
836     /// @name GNELane messages
837     /// @{
838 
839     /// @brief duplicate a lane
840     MID_GNE_LANE_DUPLICATE,
841     /// @brief remove greenVerge
842     MID_GNE_LANE_RESET_CUSTOMSHAPE,
843     /// @brief transform lane to sidewalk
844     MID_GNE_LANE_TRANSFORM_SIDEWALK,
845     /// @brief transform lane to bikelane
846     MID_GNE_LANE_TRANSFORM_BIKE,
847     /// @brief transform lane to busLane
848     MID_GNE_LANE_TRANSFORM_BUS,
849     /// @brief transform lane to greenVerge
850     MID_GNE_LANE_TRANSFORM_GREENVERGE,
851     /// @brief add sidewalk
852     MID_GNE_LANE_ADD_SIDEWALK,
853     /// @brief add bikelane
854     MID_GNE_LANE_ADD_BIKE,
855     /// @brief add busLane
856     MID_GNE_LANE_ADD_BUS,
857     /// @brief add greenVerge
858     MID_GNE_LANE_ADD_GREENVERGE,
859     /// @brief remove sidewalk
860     MID_GNE_LANE_REMOVE_SIDEWALK,
861     /// @brief remove bikelane
862     MID_GNE_LANE_REMOVE_BIKE,
863     /// @brief remove busLane
864     MID_GNE_LANE_REMOVE_BUS,
865     /// @brief remove greenVerge
866     MID_GNE_LANE_REMOVE_GREENVERGE,
867     /// @}
868 
869 
870     /// @name Additional Dialog messages (used in all GNEAdditionalDialogs)
871     /// @{
872 
873     /// @brief accept button
874     MID_GNE_ADDITIONALDIALOG_BUTTONACCEPT,
875     /// @brief cancel button
876     MID_GNE_ADDITIONALDIALOG_BUTTONCANCEL,
877     /// @brief reset button
878     MID_GNE_ADDITIONALDIALOG_BUTTONRESET,
879     /// @}
880 
881     /// @name Variable Speed Sign Dialog messages
882     /// @{
883     /// @brief add row
884     MID_GNE_VARIABLESPEEDSIGN_ADDROW,
885     /// @brief Click over Table
886     MID_GNE_VARIABLESPEEDSIGN_TABLE,
887     /// @brief sort table values
888     MID_GNE_VARIABLESPEEDSIGN_SORT,
889     /// @}
890 
891 
892     /// @name Rerouter Dialog messages
893     /// @{
894 
895     /// @brief select table interval
896     MID_GNE_REROUTEDIALOG_TABLE_INTERVAL,
897     /// @brief change table closing lane reroute reroute
898     MID_GNE_REROUTEDIALOG_TABLE_CLOSINGLANEREROUTE,
899     /// @brief change table route closing reroute
900     MID_GNE_REROUTEDIALOG_TABLE_CLOSINGREROUTE,
901     /// @brief change table destiny probability reroute
902     MID_GNE_REROUTEDIALOG_TABLE_DESTPROBREROUTE,
903     /// @brief change table route probability reroute
904     MID_GNE_REROUTEDIALOG_TABLE_ROUTEPROBREROUTE,
905     /// @brief change table parkingAreaReroute
906     MID_GNE_REROUTEDIALOG_TABLE_PARKINGAREAREROUTE,
907     /// @brief add interval
908     MID_GNE_REROUTEDIALOG_ADD_INTERVAL,
909     /// @brief sort rerouter intervals
910     MID_GNE_REROUTEDIALOG_SORT_INTERVAL,
911     /// @brief add closing lane reroute
912     MID_GNE_REROUTEDIALOG_ADD_CLOSINGLANEREROUTE,
913     /// @brief add closing reroute
914     MID_GNE_REROUTEDIALOG_ADD_CLOSINGREROUTE,
915     /// @brief add destiny probability route
916     MID_GNE_REROUTEDIALOG_ADD_DESTPROBREROUTE,
917     /// @brief add route probability route
918     MID_GNE_REROUTEDIALOG_ADD_ROUTEPROBREROUTE,
919     /// @brief add parkingAreaReroute
920     MID_GNE_REROUTEDIALOG_ADD_PARKINGAREAREROUTE,
921     /// @brief edit interval
922     MID_GNE_REROUTEDIALOG_EDIT_INTERVAL,
923     /// @}
924 
925 
926     /// @name Calibrator Dialog messages
927     /// @{
928 
929     /// @brief change table route
930     MID_GNE_CALIBRATORDIALOG_TABLE_ROUTE,
931     /// @brief add new route
932     MID_GNE_CALIBRATORDIALOG_ADD_ROUTE,
933     /// @brief change table flow
934     MID_GNE_CALIBRATORDIALOG_TABLE_FLOW,
935     MID_GNE_CALIBRATORDIALOG_ADD_FLOW,
936     /// @brief change table route
937     MID_GNE_CALIBRATORDIALOG_TABLE_VEHICLETYPE,
938     /// @brief add vehicle type
939     MID_GNE_CALIBRATORDIALOG_ADD_VEHICLETYPE,
940     /// @brief set new variable
941     MID_GNE_CALIBRATORDIALOG_SET_VARIABLE,
942     /// @}
943 
944     /// @name allowDisallow Dialog messages
945     /// @{
946 
947     /// @brief select/unselect single vehicle
948     MID_GNE_ALLOWDISALLOW_CHANGE,
949     /// @brief select all vehicles
950     MID_GNE_ALLOWDISALLOW_SELECTALL,
951     /// @brief unselect all vehicles
952     MID_GNE_ALLOWDISALLOW_UNSELECTALL,
953     /// @brief select only non road vehicles
954     MID_GNE_ALLOWDISALLOW_SELECTONLYNONROAD,
955     /// @}
956 
957 
958     /// @name Fix Stoppingplaces Dialog messages
959     /// @{
960 
961     /// @brief FixStoppingPlaces dialog
962     MID_GNE_FIXSTOPPINGPLACES_CHANGE,
963     /// @}
964 
965     /// @name Generic Parameters Dialog messages
966     /// @{
967 
968     /// @brief Generic parameters dialog load
969     MID_GNE_GENERICPARAMETERS_LOAD,
970     /// @brief Generic parameters dialog save
971     MID_GNE_GENERICPARAMETERS_SAVE,
972     /// @brief Generic parameters dialog clear
973     MID_GNE_GENERICPARAMETERS_CLEAR,
974     /// @brief Generic parameters dialog sort
975     MID_GNE_GENERICPARAMETERS_SORT,
976     /// @}
977 
978 
979     /// @brief last element of enum (not used)
980     MID_LAST
981 };
982 
983 
984 #endif
985 
986 /****************************************************************************/
987 
988