Changeset 16420 in josm for trunk/src/org
- Timestamp:
- 2020-05-16T16:08:41+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/TextContextualPopupMenu.java
r16409 r16420 127 127 addSeparator(); 128 128 } 129 addMenuEntry(component, tr("Cut"), DefaultEditorKit.cutAction, "cut");130 } 131 addMenuEntry(component, tr("Copy"), DefaultEditorKit.copyAction, "copy");129 addMenuEntry(component, tr("Cut"), DefaultEditorKit.cutAction, /* ICON */ "cut"); 130 } 131 addMenuEntry(component, tr("Copy"), DefaultEditorKit.copyAction, /* ICON */ "copy"); 132 132 if (component.isEditable()) { 133 addMenuEntry(component, tr("Paste"), DefaultEditorKit.pasteAction, "paste");134 addMenuEntry(component, tr("Delete"), DefaultEditorKit.deleteNextCharAction, "dialogs/delete");133 addMenuEntry(component, tr("Paste"), DefaultEditorKit.pasteAction, /* ICON */ "paste"); 134 addMenuEntry(component, tr("Delete"), DefaultEditorKit.deleteNextCharAction, /* ICON */ "dialogs/delete"); 135 135 } 136 136 addSeparator(); 137 addMenuEntry(component, tr("Select All"), DefaultEditorKit.selectAllAction, "dialogs/select");137 addMenuEntry(component, tr("Select All"), DefaultEditorKit.selectAllAction, /* ICON */ "dialogs/select"); 138 138 } 139 139
Note:
See TracChangeset
for help on using the changeset viewer.