Changeset 22015 in osm
- Timestamp:
- 2010-06-25T21:07:15+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/czechaddress
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/czechaddress/build.xml
r20558 r22015 45 45 <attribute name="Plugin-Description" value="Creating and handling address nodes and buildings within Czech Republic."/> 46 46 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/Cz:JOSM/Plugins/CzechAddress"/> 47 <attribute name="Plugin-Mainversion" value="3 147"/>47 <attribute name="Plugin-Mainversion" value="3338"/> 48 48 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 49 49 </manifest> -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/GroupManipulatorDialog.java
r18409 r22015 1 1 package org.openstreetmap.josm.plugins.czechaddress.gui; 2 2 3 import java.awt.event.ActionEvent; 4 import java.awt.event.KeyEvent; 5 6 import javax.swing.tree.TreePath; 7 8 import org.openstreetmap.josm.Main; 3 9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 import org.openstreetmap.josm.gui.ExtendedDialog; 11 import org.openstreetmap.josm.plugins.czechaddress.CzechAddressPlugin; 4 12 import org.openstreetmap.josm.plugins.czechaddress.addressdatabase.AddressElement; 5 13 import org.openstreetmap.josm.plugins.czechaddress.gui.utils.UniversalTreeRenderer; 6 import java.awt.event.ActionEvent;7 import java.awt.event.KeyEvent;8 import javax.swing.tree.TreePath;9 import org.openstreetmap.josm.Main;10 import org.openstreetmap.josm.gui.ExtendedDialog;11 import org.openstreetmap.josm.plugins.czechaddress.CzechAddressPlugin;12 14 import org.openstreetmap.josm.plugins.czechaddress.intelligence.Reasoner; 13 15 import org.openstreetmap.josm.plugins.czechaddress.intelligence.ReasonerListener; … … 63 65 64 66 @Override 65 protected void buttonAction( ActionEvent evt) {66 super.buttonAction( evt);67 protected void buttonAction(int i, ActionEvent evt) { 68 super.buttonAction(i, evt); 67 69 if (getValue() == 1) 68 70 database.applyAll(); … … 83 85 public void recreateProposals() { 84 86 locationTextField.setText(CzechAddressPlugin.getLocation().toString()); 85 87 86 88 database = Reasoner.getInstance().getProposals(); 87 89 proposalTree.setModel(database); … … 90 92 /** 91 93 * This method is called from within the constructor to initialize the form. 92 * 94 * 93 95 * <p><b>WARNING:</b> Do NOT modify this code. The content of this method is 94 96 * always regenerated by the Netbeans Form Editor.</p> 95 97 */ 96 @SuppressWarnings("unchecked")97 98 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 98 99 private void initComponents() { … … 123 124 124 125 proposalTree.addKeyListener(new java.awt.event.KeyAdapter() { 126 @Override 125 127 public void keyReleased(java.awt.event.KeyEvent evt) { 126 128 proposalTreeKeyReleased(evt); -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/PointManipulatorDialog.java
r17857 r22015 91 91 92 92 @Override 93 protected void buttonAction( ActionEvent evt) {94 super.buttonAction( evt);93 protected void buttonAction(int i, ActionEvent evt) { 94 super.buttonAction(i, evt); 95 95 if (getValue() == 1) { 96 96 … … 184 184 * always regenerated by the Form Editor.</p> 185 185 */ 186 @SuppressWarnings("unchecked")187 186 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 188 187 private void initComponents() { … … 208 207 209 208 alternateNumberEdit.addKeyListener(new java.awt.event.KeyAdapter() { 209 @Override 210 210 public void keyReleased(java.awt.event.KeyEvent evt) { 211 211 PointManipulatorDialog.this.keyReleased(evt); … … 227 227 228 228 proposalList.addKeyListener(new java.awt.event.KeyAdapter() { 229 public void keyReleased(java.awt.event.KeyEvent evt) { 229 @Override 230 public void keyReleased(java.awt.event.KeyEvent evt) { 230 231 proposalListKeyReleased(evt); 231 232 }
Note:
See TracChangeset
for help on using the changeset viewer.