source: josm/trunk/src/org/openstreetmap/josm/gui/download/DownloadSourceListener.java@ 17318

Last change on this file since 17318 was 12878, checked in by Don-vip, 7 years ago

see #15264 - change DownloadDialog.addDownloadSource() to a static method so that plugins can add their own sources without creating an instance of the download dialog

  • Property svn:eol-style set to native
File size: 408 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.download;
3
4/**
5 * Listener to get notified about changes in the list of download sources.
6 * @since 12878
7 */
8interface DownloadSourceListener {
9
10 /**
11 * Called when a download source has been added.
12 * @param source the new added download source.
13 */
14 void downloadSourceAdded(DownloadSource<?> source);
15}
Note: See TracBrowser for help on using the repository browser.