| Revision 3083,
548 bytes
checked in by bastiK, 2 years ago
(diff) |
|
added svn:eol-style=native to source files
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file. |
|---|
| 2 | package org.openstreetmap.josm.plugins; |
|---|
| 3 | |
|---|
| 4 | import org.openstreetmap.josm.gui.preferences.PreferenceSetting; |
|---|
| 5 | import org.openstreetmap.josm.gui.preferences.PreferenceSettingFactory; |
|---|
| 6 | |
|---|
| 7 | public class PluginPreferenceFactory implements PreferenceSettingFactory { |
|---|
| 8 | |
|---|
| 9 | private final PluginProxy plugin; |
|---|
| 10 | |
|---|
| 11 | public PluginPreferenceFactory(PluginProxy plugin) { |
|---|
| 12 | this.plugin = plugin; |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| 15 | public PreferenceSetting createPreferenceSetting() { |
|---|
| 16 | return plugin.getPreferenceSetting(); |
|---|
| 17 | } |
|---|
| 18 | |
|---|
| 19 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.