Changeset 12520 in josm for trunk/src/org/openstreetmap/josm/tools/Shortcut.java
- Timestamp:
- 2017-07-26T23:53:08+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Shortcut.java
r12519 r12520 254 254 */ 255 255 public String getKeyText() { 256 KeyStroke keyStroke = getKeyStroke(); 256 return getKeyText(getKeyStroke()); 257 } 258 259 /** 260 * Returns a human readable text for the key stroke. 261 * @param keyStroke key stroke to convert to human readable text 262 * @return a human readable text for the key stroke 263 * @since 12520 264 */ 265 public static String getKeyText(KeyStroke keyStroke) { 257 266 if (keyStroke == null) return ""; 258 267 String modifText = KeyEvent.getModifiersExText(keyStroke.getModifiers());
Note:
See TracChangeset
for help on using the changeset viewer.