Changeset 567 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2008-02-26T18:42:03+01:00 (16 years ago)
Author:
david
Message:

add contextual help

Location:
trunk/src/org/openstreetmap/josm/gui/layer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r561 r567  
    121121
    122122                JMenuItem color = new JMenuItem(tr("Customize Color"), ImageProvider.get("colorchooser"));
     123                color.putClientProperty("help", "Action/LayerCustomizeColor");
    123124                color.addActionListener(new ActionListener() {
    124125                        public void actionPerformed(ActionEvent e) {
     
    142143
    143144                JMenuItem markersFromNamedTrackpoints = new JMenuItem(tr("Markers From Named Points"), ImageProvider.get("addmarkers"));
     145                markersFromNamedTrackpoints.putClientProperty("help", "Action/MarkersFromNamedPoints");
    144146                markersFromNamedTrackpoints.addActionListener(new ActionListener() {
    145147                        public void actionPerformed(ActionEvent e) {
     
    159161
    160162                JMenuItem applyAudio = new JMenuItem(tr("Make Sampled Audio Layer"), ImageProvider.get("applyaudio"));
     163                applyAudio.putClientProperty("help", "Action/MakeSampledAudioLayer");
    161164                applyAudio.addActionListener(new ActionListener() {
    162165                        public void actionPerformed(ActionEvent e) {
     
    185188
    186189                JMenuItem tagimage = new JMenuItem(tr("Import images"), ImageProvider.get("tagimages"));
     190                tagimage.putClientProperty("help", "Action/ImportImages");
    187191                tagimage.addActionListener(new ActionListener() {
    188192                        public void actionPerformed(ActionEvent e) {
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java

    r561 r567  
    272272        @Override public Component[] getMenuEntries() {
    273273                JMenuItem color = new JMenuItem(tr("Customize Color"), ImageProvider.get("colorchooser"));
     274                color.putClientProperty("help", "Action/LayerCustomizeColor");
    274275                color.addActionListener(new ActionListener(){
    275276                        public void actionPerformed(ActionEvent e) {
     
    293294
    294295                JMenuItem applyaudio = new JMenuItem(tr("Apply Audio"), ImageProvider.get("applyaudio"));
     296                applyaudio.putClientProperty("help", "Action/ApplyAudio");
    295297                applyaudio.addActionListener(new ActionListener(){
    296298                        public void actionPerformed(ActionEvent e) {
     
    319321
    320322                JMenuItem syncaudio = new JMenuItem(tr("Synchronize Audio"), ImageProvider.get("audio-sync"));
     323                syncaudio.putClientProperty("help", "Action/SynchronizeAudio");
    321324                syncaudio.addActionListener(new ActionListener(){
    322325                        public void actionPerformed(ActionEvent e) {
     
    326329
    327330                JMenuItem moveaudio = new JMenuItem(tr("Make Audio Marker At Play Head"), ImageProvider.get("addmarkers"));
     331                moveaudio.putClientProperty("help", "Action/MakeAudioMarkerAtPlayHead");
    328332                moveaudio.addActionListener(new ActionListener(){
    329333                        public void actionPerformed(ActionEvent e) {
Note: See TracChangeset for help on using the changeset viewer.