Changeset 12900 in josm for trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
- Timestamp:
- 2017-09-26T01:19:15+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java
r12878 r12900 388 388 } 389 389 390 downloadSourcesTab.getAllPanels().forEach(AbstractDownloadSourcePanel::restoreSettings); 390 391 downloadSourcesTab.setSelected(DOWNLOAD_SOURCE_TAB.get()); 391 392 … … 486 487 */ 487 488 protected <T> void addNewDownloadSourceTab(DownloadSource<T> downloadSource) { 488 downloadSourcesTab.addPanel(downloadSource.createPanel( ));489 downloadSourcesTab.addPanel(downloadSource.createPanel(this)); 489 490 } 490 491 … … 586 587 * @since 12706 587 588 */ 588 private staticclass DownloadSourceTabs extends JTabbedPane implements DownloadSourceListener {589 private class DownloadSourceTabs extends JTabbedPane implements DownloadSourceListener { 589 590 private final List<AbstractDownloadSourcePanel<?>> allPanels = new ArrayList<>(); 590 591 … … 645 646 @Override 646 647 public void downloadSourceAdded(DownloadSource<?> source) { 647 addPanel(source.createPanel( ));648 addPanel(source.createPanel(DownloadDialog.this)); 648 649 } 649 650 }
Note:
See TracChangeset
for help on using the changeset viewer.