Changeset 12667 in josm for trunk/src/org/openstreetmap/josm/gui/layer/ValidatorLayer.java
- Timestamp:
- 2017-08-26T21:28:55+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/ValidatorLayer.java
r12636 r12667 5 5 6 6 import java.awt.Graphics2D; 7 import java.io.File; 7 8 import java.util.Collections; 8 9 import java.util.Enumeration; … … 15 16 16 17 import org.openstreetmap.josm.actions.RenameLayerAction; 18 import org.openstreetmap.josm.actions.SaveActionBase; 17 19 import org.openstreetmap.josm.data.Bounds; 18 20 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; … … 29 31 import org.openstreetmap.josm.gui.layer.LayerManager.LayerOrderChangeEvent; 30 32 import org.openstreetmap.josm.gui.layer.LayerManager.LayerRemoveEvent; 33 import org.openstreetmap.josm.io.ValidatorErrorExporter; 31 34 import org.openstreetmap.josm.tools.ImageProvider; 32 35 import org.openstreetmap.josm.tools.MultiMap; … … 140 143 new RenameLayerAction(null, this), 141 144 SeparatorLayerAction.INSTANCE, 142 new LayerListPopup.InfoAction(this) }; 145 new LayerListPopup.InfoAction(this), 146 new LayerSaveAsAction(this) 147 }; 148 } 149 150 @Override 151 public File createAndOpenSaveFileChooser() { 152 return SaveActionBase.createAndOpenSaveFileChooser(tr("Save Validation errors file"), ValidatorErrorExporter.FILE_FILTER); 143 153 } 144 154
Note:
See TracChangeset
for help on using the changeset viewer.