Changeset 11554 in josm
- Timestamp:
- 2017-02-12T16:41:53+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AbstractPasteAction.java
r10766 r11554 85 85 @Override 86 86 public void actionPerformed(ActionEvent e) { 87 doPaste(e, ClipboardUtils.getClipboard ().getContents(null));87 doPaste(e, ClipboardUtils.getClipboardContent()); 88 88 } 89 89 -
trunk/src/org/openstreetmap/josm/gui/datatransfer/OsmTransferHandler.java
r10936 r11554 60 60 */ 61 61 public void pasteOn(OsmDataLayer editLayer, EastNorth mPosition) { 62 Transferable transferable = ClipboardUtils.getClipboard ().getContents(null);62 Transferable transferable = ClipboardUtils.getClipboardContent(); 63 63 pasteOn(editLayer, mPosition, transferable); 64 64 } … … 79 79 */ 80 80 public void pasteTags(Collection<? extends OsmPrimitive> primitives) { 81 Transferable transferable = ClipboardUtils.getClipboard ().getContents(null);81 Transferable transferable = ClipboardUtils.getClipboardContent(); 82 82 importTags(new TransferSupport(Main.panel, transferable), primitives); 83 83 } -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/PasteMembersAction.java
r10847 r11554 42 42 43 43 private TransferSupport getSupport() { 44 return new TransferSupport(memberTable, ClipboardUtils.getClipboard ().getContents(null));44 return new TransferSupport(memberTable, ClipboardUtils.getClipboardContent()); 45 45 } 46 46
Note:
See TracChangeset
for help on using the changeset viewer.