Changeset 12782 in josm for trunk


Ignore:
Timestamp:
2017-09-08T02:29:37+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - move ImageProcessor from gui.layer to tools

Location:
trunk/src/org/openstreetmap/josm
Files:
7 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java

    r12643 r12782  
    4141import org.openstreetmap.josm.gui.layer.imagery.TileSourceDisplaySettings;
    4242import org.openstreetmap.josm.tools.GBC;
     43import org.openstreetmap.josm.tools.ImageProcessor;
    4344import org.openstreetmap.josm.tools.ImageProvider;
    4445import org.openstreetmap.josm.tools.ImageProvider.ImageSizes;
  • trunk/src/org/openstreetmap/josm/gui/layer/Layer.java

    r12718 r12782  
    3333import org.openstreetmap.josm.data.projection.ProjectionChangeListener;
    3434import org.openstreetmap.josm.tools.Destroyable;
     35import org.openstreetmap.josm.tools.ImageProcessor;
    3536import org.openstreetmap.josm.tools.ImageProvider;
    3637import org.openstreetmap.josm.tools.Utils;
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/ColorfulImageProcessor.java

    r12620 r12782  
    66import java.util.Map;
    77
    8 import org.openstreetmap.josm.gui.layer.ImageProcessor;
    98import org.openstreetmap.josm.io.session.SessionAwareReadApply;
     9import org.openstreetmap.josm.tools.ImageProcessor;
    1010import org.openstreetmap.josm.tools.Logging;
    1111import org.openstreetmap.josm.tools.Utils;
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/GammaImageProcessor.java

    r12620 r12782  
    99import java.util.Map;
    1010
    11 import org.openstreetmap.josm.gui.layer.ImageProcessor;
    1211import org.openstreetmap.josm.io.session.SessionAwareReadApply;
     12import org.openstreetmap.josm.tools.ImageProcessor;
    1313import org.openstreetmap.josm.tools.Logging;
    1414import org.openstreetmap.josm.tools.Utils;
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/ImageryFilterSettings.java

    r10600 r12782  
    66import java.util.concurrent.CopyOnWriteArrayList;
    77
    8 import org.openstreetmap.josm.gui.layer.ImageProcessor;
     8import org.openstreetmap.josm.tools.ImageProcessor;
    99
    1010/**
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/SharpenImageProcessor.java

    r12620 r12782  
    88import java.util.Map;
    99
    10 import org.openstreetmap.josm.gui.layer.ImageProcessor;
    1110import org.openstreetmap.josm.io.session.SessionAwareReadApply;
     11import org.openstreetmap.josm.tools.ImageProcessor;
    1212import org.openstreetmap.josm.tools.Logging;
    1313import org.openstreetmap.josm.tools.Utils;
  • trunk/src/org/openstreetmap/josm/tools/ImageOverlay.java

    r12722 r12782  
    66
    77import javax.swing.ImageIcon;
    8 
    9 import org.openstreetmap.josm.gui.layer.ImageProcessor;
    108
    119/** class to describe how image overlay
  • trunk/src/org/openstreetmap/josm/tools/ImageProcessor.java

    r12778 r12782  
    11// License: GPL. For details, see LICENSE file.
    2 package org.openstreetmap.josm.gui.layer;
     2package org.openstreetmap.josm.tools;
    33
    44import java.awt.image.BufferedImage;
     
    66/**
    77 * Processor that modifies images (sharpen, brightness, etc.).
    8  * This interface is used by {@link ImageryLayer}s to filter the
     8 * This interface is used by imagery layers to filter the
    99 * displayed images (implemented in plugins).
    1010 *
     
    1212 * @since  8625 (creation)
    1313 * @since 10600 (functional interface)
     14 * @since 12782 (moved from {@code gui.layer} package)
    1415 */
    1516@FunctionalInterface
     
    1819    /**
    1920     * This method should process given image according to image processors
    20      * which is contained in the {@link Layer}
     21     * which is contained in the layer
    2122     *
    2223     * @param image that should be processed
Note: See TracChangeset for help on using the changeset viewer.