Changeset 2378 in josm for trunk


Ignore:
Timestamp:
2009-11-01T19:54:31+01:00 (12 years ago)
Author:
Gubaer
Message:

Added context sensitive help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r2348 r2378  
    11package org.openstreetmap.josm.gui.dialogs.relation;
    22
     3import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    34import static org.openstreetmap.josm.tools.I18n.tr;
    45
     
    6869import org.openstreetmap.josm.gui.SideButton;
    6970import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;
     71import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction;
     72import org.openstreetmap.josm.gui.help.HelpUtil;
    7073import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    7174import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor;
     
    188191
    189192        memberTableModel.setSelectedMembers(selectedMembers);
     193        HelpUtil.setHelpContext(getRootPane(),ht("/Dialog/RelationEditor"));
    190194    }
    191195
     
    201205        pnl.add(new SideButton(new OKAction()));
    202206        pnl.add(new SideButton(new CancelAction()));
    203 
     207        pnl.add(new SideButton(new ContextSensitiveHelpAction(ht("/Dialog/RelationEditor"))));
    204208        return pnl;
    205209    }
Note: See TracChangeset for help on using the changeset viewer.