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

add contextual help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.