addMapMode(new IconToggleButton(mapModeDraw = new DrawAction(this)));
addMapMode(new IconToggleButton(mapModeZoom = new ZoomAction(this)));
addMapMode(new IconToggleButton(new DeleteAction(this), true));
addMapMode(new IconToggleButton(new ParallelWayAction(this), true));
addMapMode(new IconToggleButton(new ExtrudeAction(this), true));
addMapMode(new IconToggleButton(new ImproveWayAccuracyAction(Main.map), false));
toolBarActionsGroup.setSelected(allMapModeButtons.get(0).getModel(), true);
toolBarActions.setFloatable(false);
// toolBarToggles, toggle dialog buttons
LayerListDialog.createInstance(this);