Class TagTransferPaster
- java.lang.Object
-
- org.openstreetmap.josm.gui.datatransfer.importers.AbstractOsmDataPaster
-
- org.openstreetmap.josm.gui.datatransfer.importers.AbstractTagPaster
-
- org.openstreetmap.josm.gui.datatransfer.importers.TagTransferPaster
-
public final class TagTransferPaster extends AbstractTagPaster
This transfer support allows us to transfer tags from the copied primitives on to the selected ones.- Since:
- 10604
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.gui.datatransfer.importers.AbstractOsmDataPaster
df
-
-
Constructor Summary
Constructors Constructor Description TagTransferPaster()
Create a newTagTransferPaster
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>
getTags(TransferHandler.TransferSupport support)
Gets the tags that should be pasted.-
Methods inherited from class org.openstreetmap.josm.gui.datatransfer.importers.AbstractTagPaster
commitCommands, importData, importTagsOn
-
Methods inherited from class org.openstreetmap.josm.gui.datatransfer.importers.AbstractOsmDataPaster
supports, supports
-
-
-
-
Constructor Detail
-
TagTransferPaster
public TagTransferPaster()
Create a newTagTransferPaster
-
-
Method Detail
-
getTags
protected Map<String,String> getTags(TransferHandler.TransferSupport support) throws UnsupportedFlavorException, IOException
Description copied from class:AbstractTagPaster
Gets the tags that should be pasted.- Specified by:
getTags
in classAbstractTagPaster
- Parameters:
support
- The TransferSupport to get the tags from.- Returns:
- The tags
- Throws:
UnsupportedFlavorException
- if the requested data flavor is not supportedIOException
- if an I/O error occurs
-
-