001    // License: GPL. Copyright 2007 by Immanuel Scholz and others
002    package org.openstreetmap.josm.gui.layer;
003    
004    import java.awt.Graphics2D;
005    
006    import org.openstreetmap.josm.data.Bounds;
007    import org.openstreetmap.josm.gui.MapView;
008    
009    public interface MapViewPaintable {
010    
011        /**
012         * Paint the dataset using the engine set.
013         * @param mv The object that can translate GeoPoints to screen coordinates.
014         */
015        void paint(Graphics2D g, MapView mv, Bounds bbox);
016    
017    }