001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.data.conflict; 003 004/** 005 * Interface for listeners that get notified when conflicts are added to or 006 * removed from a {@link ConflictCollection}. 007 */ 008public interface IConflictListener { 009 /** 010 * Called when conflicts are added. 011 * @param conflicts collection to which conflicts have been added 012 */ 013 void onConflictsAdded(ConflictCollection conflicts); 014 015 /** 016 * Called when conflicts are removed. 017 * @param conflicts collection from which conflicts have been removed 018 */ 019 void onConflictsRemoved(ConflictCollection conflicts); 020}