Changeset 22015 in osm


Ignore:
Timestamp:
2010-06-25T21:07:15+02:00 (15 years ago)
Author:
jttt
Message:

Adapt to latest josm

Location:
applications/editors/josm/plugins/czechaddress
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/czechaddress/build.xml

    r20558 r22015  
    4545            <attribute name="Plugin-Description" value="Creating and handling address nodes and buildings within Czech Republic."/>
    4646            <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/Cz:JOSM/Plugins/CzechAddress"/>
    47             <attribute name="Plugin-Mainversion" value="3147"/>
     47            <attribute name="Plugin-Mainversion" value="3338"/>
    4848            <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    4949        </manifest>
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/GroupManipulatorDialog.java

    r18409 r22015  
    11package org.openstreetmap.josm.plugins.czechaddress.gui;
    22
     3import java.awt.event.ActionEvent;
     4import java.awt.event.KeyEvent;
     5
     6import javax.swing.tree.TreePath;
     7
     8import org.openstreetmap.josm.Main;
    39import org.openstreetmap.josm.data.osm.OsmPrimitive;
     10import org.openstreetmap.josm.gui.ExtendedDialog;
     11import org.openstreetmap.josm.plugins.czechaddress.CzechAddressPlugin;
    412import org.openstreetmap.josm.plugins.czechaddress.addressdatabase.AddressElement;
    513import 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;
    1214import org.openstreetmap.josm.plugins.czechaddress.intelligence.Reasoner;
    1315import org.openstreetmap.josm.plugins.czechaddress.intelligence.ReasonerListener;
     
    6365
    6466    @Override
    65     protected void buttonAction(ActionEvent evt) {
    66         super.buttonAction(evt);
     67    protected void buttonAction(int i, ActionEvent evt) {
     68        super.buttonAction(i, evt);
    6769        if (getValue() == 1)
    6870            database.applyAll();
     
    8385    public void recreateProposals() {
    8486        locationTextField.setText(CzechAddressPlugin.getLocation().toString());
    85        
     87
    8688        database = Reasoner.getInstance().getProposals();
    8789        proposalTree.setModel(database);
     
    9092    /**
    9193     * This method is called from within the constructor to initialize the form.
    92      * 
     94     *
    9395     * <p><b>WARNING:</b> Do NOT modify this code. The content of this method is
    9496     * always regenerated by the Netbeans Form Editor.</p>
    9597     */
    96     @SuppressWarnings("unchecked")
    9798    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    9899    private void initComponents() {
     
    123124
    124125        proposalTree.addKeyListener(new java.awt.event.KeyAdapter() {
     126                @Override
    125127            public void keyReleased(java.awt.event.KeyEvent evt) {
    126128                proposalTreeKeyReleased(evt);
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/PointManipulatorDialog.java

    r17857 r22015  
    9191
    9292    @Override
    93     protected void buttonAction(ActionEvent evt) {
    94         super.buttonAction(evt);
     93    protected void buttonAction(int i, ActionEvent evt) {
     94        super.buttonAction(i, evt);
    9595        if (getValue() == 1) {
    9696
     
    184184     * always regenerated by the Form Editor.</p>
    185185     */
    186     @SuppressWarnings("unchecked")
    187186    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    188187    private void initComponents() {
     
    208207
    209208        alternateNumberEdit.addKeyListener(new java.awt.event.KeyAdapter() {
     209                @Override
    210210            public void keyReleased(java.awt.event.KeyEvent evt) {
    211211                PointManipulatorDialog.this.keyReleased(evt);
     
    227227
    228228        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) {
    230231                proposalListKeyReleased(evt);
    231232            }
Note: See TracChangeset for help on using the changeset viewer.