Last change
on this file since 11057 was 6084, checked in by bastiK, 11 years ago |
see #8902 - add missing @Override annotations (patch by shinigami)
|
-
Property svn:eol-style
set to
native
|
File size:
562 bytes
|
Rev | Line | |
---|
[1742] | 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 |
|
---|
[6084] | 15 | @Override
|
---|
[1742] | 16 | public PreferenceSetting createPreferenceSetting() {
|
---|
| 17 | return plugin.getPreferenceSetting();
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.