Ignore:
Timestamp:
2012-02-18T15:10:01+01:00 (13 years ago)
Author:
bastik
Message:

update because of core api change (preferences - rev. 4968)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/gui/RoutingPreferenceDialog.java

    r23561 r27857  
    5555import org.apache.log4j.Logger;
    5656import org.openstreetmap.josm.Main;
    57 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
     57import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting;
    5858import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
    5959import org.openstreetmap.josm.tools.GBC;
     
    6161import com.innovant.josm.jrt.osm.OsmWayTypes;
    6262
    63 public class RoutingPreferenceDialog implements PreferenceSetting {
     63public class RoutingPreferenceDialog extends DefaultTabPreferenceSetting {
    6464
    6565    /**
     
    7575     */
    7676    public RoutingPreferenceDialog() {
    77         super();
     77        super("routing", tr("Routing Plugin Preferences"), tr("Configure routing preferences."));
    7878        readPreferences();
    7979    }
     
    8181    public void addGui(final PreferenceTabbedPane gui) {
    8282
    83         JPanel principal = gui.createPreferenceTab("routing",
    84                 tr("Routing Plugin Preferences"), tr("Configure routing preferences."));
     83        JPanel principal = gui.createPreferenceTab(this);
    8584
    8685        JPanel p = new JPanel();
Note: See TracChangeset for help on using the changeset viewer.