source: josm/trunk/src/org/openstreetmap/josm/plugins/PluginPreferenceFactory.java@ 9067

Last change on this file since 9067 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
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.plugins;
3
4import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
5import org.openstreetmap.josm.gui.preferences.PreferenceSettingFactory;
6
7public class PluginPreferenceFactory implements PreferenceSettingFactory {
8
9 private final PluginProxy plugin;
10
11 public PluginPreferenceFactory(PluginProxy plugin) {
12 this.plugin = plugin;
13 }
14
15 @Override
16 public PreferenceSetting createPreferenceSetting() {
17 return plugin.getPreferenceSetting();
18 }
19
20}
Note: See TracBrowser for help on using the repository browser.