Changeset 32549 in osm for applications/editors/josm/plugins/namemanager
- Timestamp:
- 2016-07-04T09:23:54+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/namemanager
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/namemanager/.project
r32286 r32549 16 16 </arguments> 17 17 </buildCommand> 18 <buildCommand> 19 <name>net.sf.eclipsecs.core.CheckstyleBuilder</name> 20 <arguments> 21 </arguments> 22 </buildCommand> 18 23 </buildSpec> 19 24 <natures> 20 25 <nature>org.eclipse.jdt.core.javanature</nature> 26 <nature>net.sf.eclipsecs.core.CheckstyleNature</nature> 21 27 </natures> 22 28 </projectDescription> -
applications/editors/josm/plugins/namemanager/src/org/openstreetmap/josm/plugins/namemanager/NameManagerPlugin.java
r29778 r32549 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.namemanager; 2 3 -
applications/editors/josm/plugins/namemanager/src/org/openstreetmap/josm/plugins/namemanager/countryData/Country.java
r25594 r32549 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.namemanager.countryData; 2 3 -
applications/editors/josm/plugins/namemanager/src/org/openstreetmap/josm/plugins/namemanager/countryData/CountryDataMemory.java
r30737 r32549 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.namemanager.countryData; 2 3 … … 4 5 import java.util.Map; 5 6 6 public class CountryDataMemory {7 public final class CountryDataMemory { 7 8 8 9 private static Map<String, Country> countryCache; 10 11 private CountryDataMemory() { 12 // Hide default constructor for utilities classes 13 } 9 14 10 15 public static void instantiateCountryCache() { -
applications/editors/josm/plugins/namemanager/src/org/openstreetmap/josm/plugins/namemanager/dialog/NameManagerDialog.java
r32493 r32549 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.namemanager.dialog; 2 3 … … 55 56 * 56 57 */ 57 public class NameManagerDialog extends JDialog {58 public final class NameManagerDialog extends JDialog { 58 59 59 60 private static final String TAG_NAME = "Tag name"; … … 382 383 class AddModifyAction extends AbstractAction { 383 384 384 publicAddModifyAction() {385 AddModifyAction() { 385 386 putValue(Action.NAME, tr(ADD) + "/" + tr(EDIT)); 386 387 ImageIcon addModifyIcon = ImageProvider.get("", "addnode"); … … 408 409 class DeleteAction extends AbstractAction { 409 410 410 publicDeleteAction() {411 DeleteAction() { 411 412 putValue(Action.NAME, tr(DELETE)); 412 413 ImageIcon deleteIcon = ImageProvider.get("", "purge"); … … 434 435 class CancelAction extends AbstractAction { 435 436 436 publicCancelAction() {437 CancelAction() { 437 438 putValue(Action.NAME, tr("Cancel")); 438 439 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0)); … … 451 452 class SaveAction extends AbstractAction { 452 453 453 publicSaveAction() {454 SaveAction() { 454 455 putValue(Action.NAME, tr("Save")); 455 456 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0)); -
applications/editors/josm/plugins/namemanager/src/org/openstreetmap/josm/plugins/namemanager/listeners/NameManagerAction.java
r32493 r32549 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.namemanager.listeners; 2 3 -
applications/editors/josm/plugins/namemanager/src/org/openstreetmap/josm/plugins/namemanager/utils/NameManagerUtils.java
r32493 r32549 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.namemanager.utils; 2 3 … … 26 27 import org.xml.sax.SAXException; 27 28 28 public class NameManagerUtils { 29 public final class NameManagerUtils { 30 31 private NameManagerUtils() { 32 // Hide default constructor for utilities classes 33 } 34 29 35 /** 30 36 * @return the top {@link Window} of the JOSM application.
Note:
See TracChangeset
for help on using the changeset viewer.