Uses of Class
org.openstreetmap.josm.gui.layer.OsmDataLayer
-
Packages that use OsmDataLayer Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.downloadtasks Provides the classes for JOSMdownload tasks.org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap modes.org.openstreetmap.josm.gui.conflict.pair Provides the classes for displaying conflicts as pair of lists.org.openstreetmap.josm.gui.datatransfer Provides the classes for transferring data using cut/copy/paste operations.org.openstreetmap.josm.gui.datatransfer.data Provides the classes for defining the serializable data transferred using cut/copy/paste operations.org.openstreetmap.josm.gui.datatransfer.importers Provides the classes for the transfer support controllers allowing cut/copy/paste operations.org.openstreetmap.josm.gui.dialogs Provides three kinds of dialogs: Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI Changeset dialog based on a standalone implementation, dedicated to OSM changesets management Extended dialogs for everything elseorg.openstreetmap.josm.gui.dialogs.relation Toggle dialog allowing to display currently loaded relations and perform operations on them.org.openstreetmap.josm.gui.dialogs.relation.actions Provides the classes for relation editor actions.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.gui.io.importexport Provides GUI classes for handling file import/export operations.org.openstreetmap.josm.gui.layer Provides classes for handling the different kinds of map layers.org.openstreetmap.josm.gui.layer.geoimage Provides classes for handling layers displaying geotagged pictures.org.openstreetmap.josm.gui.preferences.advanced Provides classes for handling advanced preferences.org.openstreetmap.josm.gui.tagging Provides classes for handling edition of OSM tags: tag tables, tag editors.org.openstreetmap.josm.gui.widgets Provides GUI widgets customized for JOSM needs.org.openstreetmap.josm.io.session Provides the classes for user sessions import/export. -
-
Uses of OsmDataLayer in org.openstreetmap.josm.actions
Fields in org.openstreetmap.josm.actions declared as OsmDataLayer Modifier and Type Field Description protected OsmDataLayerPurgeAction. layerprivate OsmDataLayerToggleUploadDiscouragedLayerAction. layerprivate OsmDataLayerUploadSelectionAction.DeletedParentsChecker. layerMethods in org.openstreetmap.josm.actions with parameters of type OsmDataLayer Modifier and Type Method Description protected static voidUploadAction. alertUnresolvedConflicts(OsmDataLayer layer)static voidCopyAction. copy(OsmDataLayer source, java.util.Collection<OsmPrimitive> primitives)Copies the given primitive ids to the clipboard.static voidMergeNodesAction. doMergeNodes(OsmDataLayer layer, java.util.Collection<Node> nodes, Node targetLocationNode)Merges the nodes innodesat the specified node's location.static voidDownloadReferrersAction. downloadReferrers(OsmDataLayer targetLayer, java.util.Collection<OsmPrimitive> children)Downloads the primitives referring to the primitives inprimitivesinto the target layertargetLayer.protected voidUploadSelectionAction. processPostParentChecker(OsmDataLayer layer, java.util.Collection<OsmPrimitive> toUpload)private static voidUploadAction. realUploadData(OsmDataLayer layer, APIDataSet apiData)Uploads data to the OSM API.voidUploadAction. uploadData(OsmDataLayer layer, APIDataSet apiData)Uploads data to the OSM API.voidUploadSelectionAction. uploadPrimitives(OsmDataLayer layer, java.util.Collection<OsmPrimitive> toUpload)Uploads the primitives intoUploadto the server.Constructors in org.openstreetmap.josm.actions with parameters of type OsmDataLayer Constructor Description DeletedParentsChecker(OsmDataLayer layer, java.util.Collection<OsmPrimitive> toUpload)Constructs a newDeletedParentsChecker.ToggleUploadDiscouragedLayerAction(OsmDataLayer layer)Constructs a newToggleUploadDiscouragedLayerAction. -
Uses of OsmDataLayer in org.openstreetmap.josm.actions.downloadtasks
Fields in org.openstreetmap.josm.actions.downloadtasks declared as OsmDataLayer Modifier and Type Field Description private OsmDataLayerDownloadReferrersTask. targetLayerthe target layerMethods in org.openstreetmap.josm.actions.downloadtasks that return OsmDataLayer Modifier and Type Method Description protected OsmDataLayerDownloadOsmTask.AbstractInternalTask. addNewLayerIfRequired(java.lang.String newLayerName)protected OsmDataLayerDownloadGeoJsonTask.InternalDownloadTask. createNewLayer(DataSet dataSet, java.util.Optional<java.lang.String> layerName)protected OsmDataLayerDownloadOsmTask.AbstractInternalTask. createNewLayer(java.util.Optional<java.lang.String> layerName)Convenience method forDownloadOsmTask.AbstractInternalTask.createNewLayer(DataSet, Optional), uses the dataset from fieldDownloadOsmTask.AbstractInternalTask.dataSetand applies the settings from fieldDownloadOsmTask.AbstractInternalTask.settings.protected OsmDataLayerDownloadOsmTask.AbstractInternalTask. createNewLayer(DataSet ds, java.util.Optional<java.lang.String> layerName)Can be overridden (e.g.protected OsmDataLayerDownloadOsmTask.AbstractInternalTask. getEditLayer()protected OsmDataLayerDownloadOsmTask.AbstractInternalTask. getFirstModifiableDataLayer()Returns the first modifiable data layerMethods in org.openstreetmap.josm.actions.downloadtasks that return types with arguments of type OsmDataLayer Modifier and Type Method Description private static java.util.stream.Stream<OsmDataLayer>DownloadOsmTask.AbstractInternalTask. getModifiableDataLayers()Constructors in org.openstreetmap.josm.actions.downloadtasks with parameters of type OsmDataLayer Constructor Description DownloadReferrersTask(OsmDataLayer targetLayer, java.util.Collection<? extends PrimitiveId> children)constructorDownloadReferrersTask(OsmDataLayer targetLayer, PrimitiveId primitiveId, ProgressMonitor progressMonitor)constructor -
Uses of OsmDataLayer in org.openstreetmap.josm.actions.mapmode
Methods in org.openstreetmap.josm.actions.mapmode with parameters of type OsmDataLayer Modifier and Type Method Description static voidDeleteAction. deleteRelation(OsmDataLayer layer, Relation toDelete)Deletes the relation in the context of the given layer.static voidDeleteAction. deleteRelations(OsmDataLayer layer, java.util.Collection<Relation> toDelete)Deletes the relations in the context of the given layer.voidSelectAction. mergeNodes(OsmDataLayer layer, java.util.Collection<Node> nodes, Node targetLocationNode)Merge nodes usingMergeNodesAction. -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.conflict.pair
Methods in org.openstreetmap.josm.gui.conflict.pair that return OsmDataLayer Modifier and Type Method Description protected <P extends OsmPrimitive>
OsmDataLayerAbstractListMerger. findLayerFor(P primitive)Methods in org.openstreetmap.josm.gui.conflict.pair with parameters of type OsmDataLayer Modifier and Type Method Description OsmPrimitivePairTable. getPrimitiveInLayer(int row, OsmDataLayer layer) -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.datatransfer
Fields in org.openstreetmap.josm.gui.datatransfer declared as OsmDataLayer Modifier and Type Field Description private OsmDataLayerPrimitiveTransferable. sourceLayerMethods in org.openstreetmap.josm.gui.datatransfer with parameters of type OsmDataLayer Modifier and Type Method Description protected booleanAbstractStackTransferHandler. importData(javax.swing.TransferHandler.TransferSupport support, OsmDataLayer layer, EastNorth center)voidOsmTransferHandler. pasteOn(OsmDataLayer editLayer, EastNorth mPosition)Paste the current clipboard current at the given positionvoidOsmTransferHandler. pasteOn(OsmDataLayer editLayer, EastNorth mPosition, java.awt.datatransfer.Transferable transferable)Paste the given clipboard current at the given positionConstructors in org.openstreetmap.josm.gui.datatransfer with parameters of type OsmDataLayer Constructor Description PrimitiveTransferable(PrimitiveTransferData primitives, OsmDataLayer sourceLayer)Constructs a newPrimitiveTransferable. -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.datatransfer.data
Fields in org.openstreetmap.josm.gui.datatransfer.data declared as OsmDataLayer Modifier and Type Field Description private OsmDataLayerOsmLayerTransferData. osmLayerMethods in org.openstreetmap.josm.gui.datatransfer.data that return OsmDataLayer Modifier and Type Method Description OsmDataLayerOsmLayerTransferData. getOsmLayer()Gets the OSM data layer.Constructors in org.openstreetmap.josm.gui.datatransfer.data with parameters of type OsmDataLayer Constructor Description OsmLayerTransferData(LayerManager layerManager, OsmDataLayer layer)Create a newOsmLayerTransferDataobject -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.datatransfer.importers
Methods in org.openstreetmap.josm.gui.datatransfer.importers with parameters of type OsmDataLayer Modifier and Type Method Description private static AddPrimitivesCommandPrimitiveDataPaster. createNewPrimitives(PrimitiveTransferData pasteBuffer, EastNorth offset, OsmDataLayer layer)abstract booleanAbstractOsmDataPaster. importData(javax.swing.TransferHandler.TransferSupport support, OsmDataLayer layer, EastNorth pasteAt)Attempts to import the given transfer data.booleanAbstractTagPaster. importData(javax.swing.TransferHandler.TransferSupport support, OsmDataLayer layer, EastNorth pasteAt)booleanFilePaster. importData(javax.swing.TransferHandler.TransferSupport support, OsmDataLayer layer, EastNorth pasteAt)booleanOsmLinkPaster. importData(javax.swing.TransferHandler.TransferSupport support, OsmDataLayer layer, EastNorth pasteAt)booleanPrimitiveDataPaster. importData(javax.swing.TransferHandler.TransferSupport support, OsmDataLayer layer, EastNorth pasteAt) -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type OsmDataLayer Modifier and Type Method Description private voidConflictDialog. addDataLayerListeners(OsmDataLayer newLayer)private voidConflictDialog. removeDataLayerListeners(OsmDataLayer oldLayer) -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.dialogs.relation
Fields in org.openstreetmap.josm.gui.dialogs.relation declared as OsmDataLayer Modifier and Type Field Description private OsmDataLayerDownloadRelationMemberTask. curLayerprivate OsmDataLayerChildRelationBrowser. layerthe osm data layer this browser is related toprivate OsmDataLayerDownloadRelationTask. layerprivate OsmDataLayerMemberTableModel. layerprivate OsmDataLayerReferringRelationsBrowser. layerOsmDataLayerRelationDialogManager.DialogContext. layerprivate OsmDataLayerRelationEditor. layerThe data layer the relation belongs toprivate OsmDataLayerSelectionTableModel. layerthis selection table model only displays selected primitives in this layerMethods in org.openstreetmap.josm.gui.dialogs.relation that return OsmDataLayer Modifier and Type Method Description protected OsmDataLayerChildRelationBrowser. getLayer()Replies theOsmDataLayerthis editor is related toOsmDataLayerIRelationEditor. getLayer()Replies theOsmDataLayerin whose context this relation editor is openOsmDataLayerMemberTableModel. getLayer()Returns the data layer.protected OsmDataLayerReferringRelationsBrowser. getLayer()OsmDataLayerRelationEditor. getLayer()Methods in org.openstreetmap.josm.gui.dialogs.relation with parameters of type OsmDataLayer Modifier and Type Method Description voidRelationDialogManager. close(OsmDataLayer layer, Relation relation)Closes the editor open for a specific layer and a specific relation.static RelationEditorRelationEditor. getEditor(OsmDataLayer layer, Relation r, java.util.Collection<RelationMember> selectedMembers)This is a factory method that creates an appropriate RelationEditor instance suitable for editing the relation that was passed in as an argument.RelationEditorRelationDialogManager. getEditorForRelation(OsmDataLayer layer, Relation relation)Replies the editor for the relation managed by layer.booleanRelationDialogManager. isOpenInEditor(OsmDataLayer layer, Relation relation)Replies true if there is an open relation editor for the relation managed by the given layer.booleanRelationDialogManager.DialogContext. matchesLayer(OsmDataLayer layer)protected voidSelectionTableModel. populateSelectedPrimitives(OsmDataLayer layer)populates the model with the primitives currently selected inlayervoidRelationDialogManager. register(OsmDataLayer layer, Relation relation, RelationEditor editor)Register the relation editor for a relation managed by aOsmDataLayer.voidRelationDialogManager. updateContext(OsmDataLayer layer, Relation relation, RelationEditor editor)Constructors in org.openstreetmap.josm.gui.dialogs.relation with parameters of type OsmDataLayer Constructor Description ChildRelationBrowser(OsmDataLayer layer)constructorChildRelationBrowser(OsmDataLayer layer, Relation root)constructorDialogContext(OsmDataLayer layer, Relation relation)DownloadRelationMemberTask(java.util.Collection<Relation> parents, java.util.Collection<OsmPrimitive> children, OsmDataLayer curLayer)Creates a download task for downloading the child primitiveschildrenfor all parent relations inparents.DownloadRelationMemberTask(Relation parent, java.util.Collection<OsmPrimitive> children, OsmDataLayer curLayer)DownloadRelationMemberTask(Relation parent, java.util.Collection<OsmPrimitive> children, OsmDataLayer curLayer, java.awt.Dialog dialog)DownloadRelationTask(java.util.Collection<Relation> relations, OsmDataLayer layer)Creates the download taskGenericRelationEditor(OsmDataLayer layer, Relation relation, java.util.Collection<RelationMember> selectedMembers)Creates a new relation editor for the given relation.MemberTable(OsmDataLayer layer, Relation relation, MemberTableModel model)constructor for relation member tableMemberTableModel(Relation relation, OsmDataLayer layer, TaggingPresetHandler presetHandler)constructorReferringRelationsBrowser(OsmDataLayer layer, ReferringRelationsBrowserModel model)Constructs a newReferringRelationsBrowser.RelationEditor(OsmDataLayer layer, Relation relation)Creates a new relation editorSelectionTableModel(OsmDataLayer layer)Creates a newSelectionTableModelfor a given layer -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.dialogs.relation.actions
Methods in org.openstreetmap.josm.gui.dialogs.relation.actions that return OsmDataLayer Modifier and Type Method Description protected OsmDataLayerAbstractRelationEditorAction. getLayer() -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as OsmDataLayer Modifier and Type Field Description protected OsmDataLayerAbstractPrimitiveTask. layerprivate OsmDataLayerUploadLayerTask. layerprivate OsmDataLayerUploadPrimitivesTask. layerprivate OsmDataLayerDownloadPrimitivesWithReferrersTask. tmpLayerTemporary layer where downloaded primitives are putprivate OsmDataLayerAsynchronousUploadPrimitivesTask. uploadDataLayerMethods in org.openstreetmap.josm.gui.io with parameters of type OsmDataLayer Modifier and Type Method Description static java.util.Optional<AsynchronousUploadPrimitivesTask>AsynchronousUploadPrimitivesTask. createAsynchronousUploadTask(UploadStrategySpecification uploadStrategySpecification, OsmDataLayer dataLayer, APIDataSet apiDataSet, Changeset changeset)Creates an instance of AsynchronousUploadPrimitiveTaskConstructors in org.openstreetmap.josm.gui.io with parameters of type OsmDataLayer Constructor Description AbstractPrimitiveTask(java.lang.String title, OsmDataLayer layer)AbstractPrimitiveTask(java.lang.String title, ProgressMonitor progressMonitor, OsmDataLayer layer)AsynchronousUploadPrimitivesTask(UploadStrategySpecification uploadStrategySpecification, OsmDataLayer osmDataLayer, APIDataSet apiDataSet, Changeset changeset)Private constructor to restrict creating more Asynchronous upload tasksDownloadPrimitivesTask(OsmDataLayer layer, java.util.List<PrimitiveId> ids, boolean fullRelation)Constructs a newDownloadPrimitivesTask.DownloadPrimitivesTask(OsmDataLayer layer, java.util.List<PrimitiveId> ids, boolean fullRelation, ProgressMonitor progressMonitor)Constructs a newDownloadPrimitivesTask.UpdatePrimitivesTask(OsmDataLayer layer, java.util.Collection<? extends OsmPrimitive> toUpdate)Constructs a newUpdatePrimitivesTask.UploadLayerTask(UploadStrategySpecification strategy, OsmDataLayer layer, ProgressMonitor monitor, Changeset changeset)Creates the upload taskUploadPrimitivesTask(UploadStrategySpecification strategy, OsmDataLayer layer, APIDataSet toUpload, Changeset changeset)Creates the task -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.io.importexport
Fields in org.openstreetmap.josm.gui.io.importexport declared as OsmDataLayer Modifier and Type Field Description private OsmDataLayerOsmImporter.OsmImporterData. layerMethods in org.openstreetmap.josm.gui.io.importexport that return OsmDataLayer Modifier and Type Method Description protected OsmDataLayerOsmImporter. createLayer(DataSet dataSet, java.io.File associatedFile, java.lang.String layerName)OsmDataLayerOsmImporter.OsmImporterData. getLayer()Methods in org.openstreetmap.josm.gui.io.importexport with parameters of type OsmDataLayer Modifier and Type Method Description protected java.lang.RunnableOsmImporter. createPostLayerTask(DataSet dataSet, java.io.File associatedFile, java.lang.String layerName, OsmDataLayer layer)protected voidOsmExporter. doSave(java.io.File file, OsmDataLayer layer)private voidOsmExporter. save(java.io.File file, OsmDataLayer layer, boolean isAutosave)Constructors in org.openstreetmap.josm.gui.io.importexport with parameters of type OsmDataLayer Constructor Description OsmImporterData(OsmDataLayer layer, java.lang.Runnable postLayerTask) -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.layer
Fields in org.openstreetmap.josm.gui.layer declared as OsmDataLayer Modifier and Type Field Description private OsmDataLayerMainLayerManager. osmDataLayerThe current active OSM data layer.private OsmDataLayerMainLayerManager.ActiveLayerChangeEvent. previousDataLayerMethods in org.openstreetmap.josm.gui.layer that return OsmDataLayer Modifier and Type Method Description OsmDataLayerOsmDataLayer. duplicate(java.lang.String newName)Duplicates this layer with a new name and a copy of this layer dataset.OsmDataLayerMainLayerManager. getActiveDataLayer()Replies the active data layer.OsmDataLayerMainLayerManager. getEditLayer()Replies the current edit layer, if present and not readOnlyOsmDataLayerMainLayerManager.ActiveLayerChangeEvent. getPreviousDataLayer()Gets the data layer that was previously used.Methods in org.openstreetmap.josm.gui.layer with parameters of type OsmDataLayer Modifier and Type Method Description voidMainLayerManager. prepareLayerForUpload(OsmDataLayer layer)Prepares an OsmDataLayer for upload.voidMainLayerManager. processLayerAfterUpload(OsmDataLayer layer)Post upload processing of the OsmDataLayer.private voidAutosaveTask. registerNewlayer(OsmDataLayer layer)protected static voidOsmDataLayer. removeClipboardDataFor(OsmDataLayer osm)voidOsmDataLayer.LayerStateChangeListener. uploadDiscouragedChanged(OsmDataLayer layer, boolean newValue)Notifies that the "upload discouraged" (upload=no) state has changed.Constructors in org.openstreetmap.josm.gui.layer with parameters of type OsmDataLayer Constructor Description ActiveLayerChangeEvent(MainLayerManager source, OsmDataLayer previousDataLayer, Layer previousActiveLayer)Create a newMainLayerManager.ActiveLayerChangeEvent -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.layer.geoimage
Subclasses of OsmDataLayer in org.openstreetmap.josm.gui.layer.geoimage Modifier and Type Class Description classCorrelationSupportLayerA support layer meant to be modified by the user to provide real-time images correlation. -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.preferences.advanced
Subclasses of OsmDataLayer in org.openstreetmap.josm.gui.preferences.advanced Modifier and Type Class Description private static classAdvancedPreference.UnclearableOsmDataLayer -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.tagging
Methods in org.openstreetmap.josm.gui.tagging with parameters of type OsmDataLayer Modifier and Type Method Description voidTagEditorPanel. initAutoCompletion(OsmDataLayer layer)Initializes the auto completion infrastructure used in this tag editor panel. -
Uses of OsmDataLayer in org.openstreetmap.josm.gui.widgets
Fields in org.openstreetmap.josm.gui.widgets declared as OsmDataLayer Modifier and Type Field Description private OsmDataLayerOsmPrimitivesTable. layerthe data layer in whose context primitives are edited in this tableMethods in org.openstreetmap.josm.gui.widgets that return OsmDataLayer Modifier and Type Method Description OsmDataLayerOsmPrimitivesTable. getLayer()Returns the data layer.Methods in org.openstreetmap.josm.gui.widgets with parameters of type OsmDataLayer Modifier and Type Method Description OsmPrimitiveOsmPrimitivesTable. getPrimitiveInLayer(int row, OsmDataLayer layer)Returns primitive at the specified row.voidOsmPrimitivesTable. setLayer(OsmDataLayer layer)Sets the data layer. -
Uses of OsmDataLayer in org.openstreetmap.josm.io.session
Constructors in org.openstreetmap.josm.io.session with parameters of type OsmDataLayer Constructor Description OsmDataSessionExporter(OsmDataLayer layer)Constructs a newOsmDataSessionExporter.
-