Changeset 9366 in josm for trunk/src/org/openstreetmap/josm/actions/relation/AddSelectionToRelations.java
- Timestamp:
- 2016-01-09T21:55:12+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/relation/AddSelectionToRelations.java
r7937 r9366 9 9 import java.util.LinkedList; 10 10 11 import javax.swing.JOptionPane; 12 11 13 import org.openstreetmap.josm.Main; 12 14 import org.openstreetmap.josm.command.Command; … … 15 17 import org.openstreetmap.josm.data.osm.OsmPrimitive; 16 18 import org.openstreetmap.josm.data.osm.Relation; 19 import org.openstreetmap.josm.gui.Notification; 17 20 import org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor; 18 21 import org.openstreetmap.josm.gui.util.GuiHelper; … … 43 46 if (!cmds.isEmpty()) { 44 47 Main.main.undoRedo.add(new SequenceCommand(tr("Add selection to relation"), cmds)); 48 new Notification( 49 tr("<html><strong>Add selection to relation</strong>: Control every single relation to avoid damage!")) 50 .setIcon(JOptionPane.WARNING_MESSAGE) 51 .show();; 45 52 } 46 53 }
Note:
See TracChangeset
for help on using the changeset viewer.