Ignore:
Timestamp:
2016-06-15T17:25:04+02:00 (3 years ago)
Author:
Don-vip
Message:

gsoc-core - remove more deprecation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/FileImporter.java

    r10212 r10386  
    1313import org.openstreetmap.josm.actions.ExtensionFileFilter;
    1414import org.openstreetmap.josm.gui.HelpAwareOptionPane;
    15 import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
    1615import org.openstreetmap.josm.gui.Notification;
    17 import org.openstreetmap.josm.gui.layer.Layer;
    1816import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1917import org.openstreetmap.josm.gui.util.GuiHelper;
     
    2220 * Abstract file importer.
    2321 * @since 1637
     22 * @since 10386 (signature)
    2423 */
    25 public abstract class FileImporter implements Comparable<FileImporter>, LayerChangeListener {
     24public abstract class FileImporter implements Comparable<FileImporter> {
    2625
    2726    /**
     
    182181        this.enabled = enabled;
    183182    }
    184 
    185     @Override
    186     public void activeLayerChange(Layer oldLayer, Layer newLayer) {
    187         // To be overriden by subclasses if their enabled state depends of the active layer nature
    188     }
    189 
    190     @Override
    191     public void layerAdded(Layer newLayer) {
    192         // To be overriden by subclasses if needed
    193     }
    194 
    195     @Override
    196     public void layerRemoved(Layer oldLayer) {
    197         // To be overriden by subclasses if needed
    198     }
    199183}
Note: See TracChangeset for help on using the changeset viewer.