74 myRouteList->setSelBackColor(FXRGBA(255, 255, 255, 255));
75 myRouteList->setSelTextColor(FXRGBA(0, 0, 0, 255));
76 myRouteList->setEditable(
false);
85 myVehicleTypeList->setSelBackColor(FXRGBA(255, 255, 255, 255));
86 myVehicleTypeList->setSelTextColor(FXRGBA(0, 0, 0, 255));
87 myVehicleTypeList->setEditable(
false);
96 myFlowList->setSelBackColor(FXRGBA(255, 255, 255, 255));
97 myFlowList->setSelTextColor(FXRGBA(0, 0, 0, 255));
98 myFlowList->setEditable(
false);
102 updateVehicleTypeTable();
121 getApp()->stopModal(
this, TRUE);
131 getApp()->stopModal(
this, FALSE);
166 std::vector<GNEAdditional*> calibratorFlowsToErase;
169 calibratorFlowsToErase.push_back(j);
173 if (calibratorFlowsToErase.size() > 0) {
175 WRITE_DEBUG(
"Opening FXMessageBox of type 'question'");
183 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'No'");
184 }
else if (answer == 4) {
185 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'ESC'");
191 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'Yes'");
193 for (
auto j : calibratorFlowsToErase) {
235 throw ProcessError(
"myEditedAdditional->getViewNet()->getNet()->getAttributeCarriers().demandElements.at(SUMO_TAG_ROUTE) cannot be empty");
282 FXMessageBox::warning(getApp(), MBOX_OK,
287 std::vector<GNEAdditional*> calibratorFlowsToErase;
290 calibratorFlowsToErase.push_back(j);
294 if (calibratorFlowsToErase.size() > 0) {
301 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'No'");
302 }
else if (answer == 4) {
303 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'ESC'");
309 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'Yes'");
311 for (
auto j : calibratorFlowsToErase) {
360 FXTableItem* item =
nullptr;
371 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
372 item->setEnabled(
false);
399 FXTableItem* item =
nullptr;
410 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
411 item->setEnabled(
false);
438 FXTableItem* item =
nullptr;
442 item =
new FXTableItem(i.second->getAttribute(
SUMO_ATTR_ID).c_str());
451 item =
new FXTableItem(
"");
453 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
454 item->setEnabled(
false);