Changeset 17872 in osm for applications/editors/josm


Ignore:
Timestamp:
2009-09-30T16:58:23+02:00 (15 years ago)
Author:
guggis
Message:

fixed #3624: OpenStreetBugs plugin fails to load in trunk with java.lang.NoClassDefFoundError
SuggestingJHistoryComboBox not used anymore, see #3371

Location:
applications/editors/josm/plugins/openstreetbugs
Files:
5 edited

Legend:

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

    r17713 r17872  
    2626                <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs"/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/OpenStreetBugs"/>
    28                 <attribute name="Plugin-Mainversion" value="2168"/>
     28                <attribute name="Plugin-Mainversion" value="2219"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/AddCommentAction.java

    r16731 r17872  
    3535
    3636import org.openstreetmap.josm.Main;
    37 import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
     37import org.openstreetmap.josm.gui.widgets.HistoryChangedListener;
    3838import org.openstreetmap.josm.plugins.osb.ConfigKeys;
    3939import org.openstreetmap.josm.plugins.osb.OsbPlugin;
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/CloseIssueAction.java

    r16731 r17872  
    3535
    3636import org.openstreetmap.josm.Main;
    37 import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
     37import org.openstreetmap.josm.gui.widgets.HistoryChangedListener;
    3838import org.openstreetmap.josm.plugins.osb.ConfigKeys;
    3939import org.openstreetmap.josm.plugins.osb.OsbPlugin;
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/NewIssueAction.java

    r16731 r17872  
    4343import org.openstreetmap.josm.Main;
    4444import org.openstreetmap.josm.data.osm.Node;
    45 import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
     45import org.openstreetmap.josm.gui.widgets.HistoryChangedListener;
    4646import org.openstreetmap.josm.plugins.osb.ConfigKeys;
    4747import org.openstreetmap.josm.plugins.osb.OsbPlugin;
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/dialogs/TextInputDialog.java

    r16559 r17872  
    5050import javax.swing.SwingUtilities;
    5151
    52 import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
    53 import org.openstreetmap.josm.gui.historycombobox.SuggestingJHistoryComboBox;
     52import org.openstreetmap.josm.gui.widgets.ComboBoxHistory;
     53import org.openstreetmap.josm.gui.widgets.HistoryChangedListener;
     54import org.openstreetmap.josm.gui.widgets.HistoryComboBox;
    5455
    5556/**
     
    7071    private JButton btnOk;
    7172    private JPanel pnlButtons;
    72     private SuggestingJHistoryComboBox input;
     73    private HistoryComboBox input;
    7374    private JLabel lblText;
    7475    private JPanel pnlMain;
     
    129130        }
    130131        {
    131             input = new SuggestingJHistoryComboBox();
     132            input = new HistoryComboBox();
    132133            pnlMain.add(input, new GridBagConstraints(1, 1, 1, 1, 0.9, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 10), 0, 0));
    133134            input.setSize(503, 22);
     
    200201   
    201202    public void addHistoryChangedListener(HistoryChangedListener l) {
    202         input.addHistoryChangedListener(l);
     203        ((ComboBoxHistory)input.getModel()).addHistoryChangedListener(l);
    203204    }
    204205   
Note: See TracChangeset for help on using the changeset viewer.