Ignore:
Timestamp:
26.10.2009 15:23:39 (3 years ago)
Author:
Gubaer
Message:

Added explicit help topics
See also current list of help topics with links to source files and to help pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java

    r2256 r2323  
    33 
    44import static org.openstreetmap.josm.tools.I18n.marktr; 
     5import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 
    56import static org.openstreetmap.josm.tools.I18n.tr; 
    67 
     
    5859        putValue("help", "Action/AutoScale/" + modeHelp); 
    5960        this.mode = mode; 
     61        if (mode.equals("data")) { 
     62            putValue("help", ht("/Action/ZoomToData")); 
     63        } else if (mode.equals("layer")) { 
     64            putValue("help", ht("/Action/ZoomToLayer")); 
     65        } else if (mode.equals("selection")) { 
     66            putValue("help", ht("/Action/ZoomToSelection")); 
     67        } else if (mode.equals("conflict")) { 
     68            putValue("help", ht("/Action/ZoomToConflict")); 
     69        }else if (mode.equals("download")) { 
     70            putValue("help", ht("/Action/ZoomToDownload")); 
     71        }                        
    6072    } 
    6173 
Note: See TracChangeset for help on using the changeset viewer.