Changeset 27852 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePreferenceSetting.java
- Timestamp:
- 2012-02-18T13:40:52+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePreferenceSetting.java
r27484 r27852 10 10 11 11 import org.openstreetmap.josm.Main; 12 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 12 import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting; 13 13 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 14 14 import org.openstreetmap.josm.tools.GBC; … … 21 21 * @author Pieren <pieren3@gmail.com> 22 22 */ 23 public class CadastrePreferenceSetting implementsPreferenceSetting {23 public class CadastrePreferenceSetting extends DefaultTabPreferenceSetting { 24 24 25 25 static final int TRANS_MIN = 1; … … 91 91 static final int DEFAULT_CROSSPIECES = 0; 92 92 93 public void addGui(finalPreferenceTabbedPane gui) {94 95 String description =tr("A special handler of the French cadastre wms at www.cadastre.gouv.fr" + "<BR><BR>"93 public CadastrePreferenceSetting() { 94 super("cadastrewms.gif", I18n.tr("French cadastre WMS"), 95 tr("A special handler of the French cadastre wms at www.cadastre.gouv.fr" + "<BR><BR>" 96 96 + "Please read the Terms and Conditions of Use here (in French): <br>" 97 97 + "<a href=\"http://www.cadastre.gouv.fr/scpc/html/CU_01_ConditionsGenerales_fr.html\"> " 98 98 + "http://www.cadastre.gouv.fr/scpc/html/CU_01_ConditionsGenerales_fr.html</a> <BR>" 99 + "before any upload of data created by this plugin."); 100 JPanel cadastrewmsMast = gui.createPreferenceTab("cadastrewms.gif", I18n.tr("French cadastre WMS"), description); 99 + "before any upload of data created by this plugin.") 100 ); 101 } 102 103 104 public void addGui(final PreferenceTabbedPane gui) { 105 JPanel cadastrewmsMast = gui.createPreferenceTab(this); 101 106 102 107 JPanel cadastrewms = new JPanel(new GridBagLayout());
Note:
See TracChangeset
for help on using the changeset viewer.
