This class contains methods fot Travel creation or modifications See theTravelEditor for the one and only one instance of this class
This method clear the current travel and start a new travel
This method is called when a route is dropped in the TravelUI and then routes reordered.
Name | Type | Description |
---|---|---|
draggedRouteObjId | Number | The objId of the dragged route |
targetRouteObjId | Number | The objId of the route on witch the drop was executed |
draggedBefore | Boolean | When true the dragged route is moved before the target route when false after |
This method save the current travel to a file. The user can choose to save the notes and the maneuvers
This method save the current travel to a file
This method save the travel to a file, removing notes and maneuvers, depending of the user choice.
Name | Type | Description |
---|---|---|
saveAsDialogData | SaveAsDialogData | An object describing witch data must be saved |
Verify that the travel have a name. Show an error and the TravelPropertiesDialog if no name