Changeset 27852 in osm for applications/editors/josm/plugins/cadastre-fr
- Timestamp:
- 2012-02-18T13:40:52+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/build.xml
r27788 r27852 32 32 <property name="ant.build.javac.target" value="1.5"/> 33 33 <property name="commit.message" value="Changed constructor for Plugin"/> 34 <property name="plugin.main.version" value="49 28"/>34 <property name="plugin.main.version" value="4980"/> 35 35 <target name="init"> 36 36 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Address.java
r27827 r27852 95 95 super(tr("Add address"), "buildings", 96 96 tr("Helping tool for tag address"), 97 Shortcut.registerShortcut("mapmode:buildings", tr("Mode: {0}", tr("Buildings")), KeyEvent.VK_E, Shortcut. GROUP_DIRECT3+Shortcut.GROUPS_ALT1),97 Shortcut.registerShortcut("mapmode:buildings", tr("Mode: {0}", tr("Buildings")), KeyEvent.VK_E, Shortcut.ALT_CTRL_SHIFT), 98 98 mapFrame, getCursor()); 99 99 } -
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(final PreferenceTabbedPane 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()); -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
r27788 r27852 26 26 super(tr(name), "cadastre_small", tr("Download Image from French Cadastre WMS"), 27 27 Shortcut.registerShortcut("cadastre:grab", tr("Cadastre: {0}", tr("Download Image from French Cadastre WMS")), 28 KeyEvent.VK_F10, Shortcut. GROUP_DIRECT), false);28 KeyEvent.VK_F10, Shortcut.DIRECT), false); 29 29 } 30 30
Note:
See TracChangeset
for help on using the changeset viewer.