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

update because of core api change: 2nd part (preferences - rev. 4968)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/dialogs/GraphViewPreferenceEditor.java

    r26481 r27863  
    3636import javax.swing.event.ChangeListener;
    3737
    38 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
     38import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting;
    3939import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
    4040import org.openstreetmap.josm.plugins.graphview.plugin.dialogs.AccessParameterDialog.BookmarkAction;
     
    4545import org.openstreetmap.josm.tools.GBC;
    4646
    47 public class GraphViewPreferenceEditor implements PreferenceSetting {
     47public class GraphViewPreferenceEditor extends DefaultTabPreferenceSetting {
    4848
    4949    private File rulesetFolder;
     
    7171    private JPanel arrowPreviewPanel;
    7272
     73    public GraphViewPreferenceEditor() {
     74        super("graphview", tr("Graphview"),
     75                tr("Settings for the Graphview plugin that visualizes routing graphs."));
     76    }
     77
    7378    public void addGui(PreferenceTabbedPane gui) {
    7479
    7580        readPreferences();
    7681
    77         preferencePanel = gui.createPreferenceTab("graphview", tr("Graphview"),
    78         tr("Settings for the Graphview plugin that visualizes routing graphs."));
     82        preferencePanel = gui.createPreferenceTab(this);
    7983
    8084        JPanel mainPanel = createMainPanel();
Note: See TracChangeset for help on using the changeset viewer.