Last change
on this file since 12649 was 12649, checked in by Don-vip, 7 years ago |
see #15182 - code refactoring to avoid dependence on GUI packages from Preferences
|
-
Property svn:eol-style
set to
native
|
File size:
555 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.preferences.sources;
|
---|
3 |
|
---|
4 | import java.util.Collection;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * Interface for a class that offers a list of {@link SourceEntry}s.
|
---|
8 | *
|
---|
9 | * Used by plugins to offer additional SourceEntrys to the user.
|
---|
10 | * @since 12649 (moved from gui.preferences package)
|
---|
11 | */
|
---|
12 | @FunctionalInterface
|
---|
13 | public interface SourceProvider {
|
---|
14 |
|
---|
15 | /**
|
---|
16 | * Get the collection of {@link SourceEntry}s.
|
---|
17 | * @return the collection of {@link SourceEntry}s
|
---|
18 | */
|
---|
19 | Collection<SourceEntry> getSources();
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.