source: josm/trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerProducers.java@ 1169

Last change on this file since 1169 was 1169, checked in by stoecker, 15 years ago

removed usage of tab stops

  • Property svn:eol-style set to native
File size: 1012 bytes
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2package org.openstreetmap.josm.gui.layer.markerlayer;
3
4import java.io.File;
5
6import org.openstreetmap.josm.data.gpx.WayPoint;
7
8/**
9 * This interface has to be implemented by anyone who wants to create markers.
10 *
11 * When reading a gpx file, all implementations of MarkerMaker registered with
12 * the Marker are consecutively called until one returns a Marker object.
13 *
14 * @author Frederik Ramm <frederik@remote.org>
15 */
16public interface MarkerProducers {
17 /**
18 * Returns a Marker object if this implementation wants to create one for the
19 * given input data, or <code>null</code> otherwise.
20 *
21 * @param wp waypoint data
22 * @param relativePath An path to use for constructing relative URLs or
23 * <code>null</code> for no relative URLs
24 * @return A Marker object, or <code>null</code>.
25 */
26 public Marker createMarker(WayPoint wp, File relativePath, MarkerLayer parentLayer, double time, double offset);
27}
Note: See TracBrowser for help on using the repository browser.