- Timestamp:
- 2020-09-03T22:12:24+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/properties
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/CopyAllKeyValueAction.java
r16438 r17007 33 33 putValue(NAME, tr("Copy all Keys/Values")); 34 34 putValue(SHORT_DESCRIPTION, tr("Copy the key and value of all the tags to clipboard")); 35 } 36 37 /** 38 * Registers this action shortcut 39 * @return this instance, for easy chaining 40 */ 41 CopyAllKeyValueAction registerShortcut() { 35 42 Shortcut sc = Shortcut.registerShortcut("system:copytags", tr("Edit: {0}", tr("Copy Tags")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE); 36 43 MainApplication.registerActionShortcut(this, sc); 37 44 sc.setAccelerator(this); 45 return this; 38 46 } 39 47 -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r16960 r17007 205 205 tagTable, editHelper::getDataKey, OsmDataManager.getInstance()::getInProgressISelection); 206 206 private final CopyAllKeyValueAction copyAllKeyValueAction = new CopyAllKeyValueAction( 207 tagTable, editHelper::getDataKey, OsmDataManager.getInstance()::getInProgressISelection) ;207 tagTable, editHelper::getDataKey, OsmDataManager.getInstance()::getInProgressISelection).registerShortcut(); 208 208 private final SearchAction searchActionSame = new SearchAction(true); 209 209 private final SearchAction searchActionAny = new SearchAction(false);
Note:
See TracChangeset
for help on using the changeset viewer.