Changeset 16420 in josm


Ignore:
Timestamp:
2020-05-16T16:08:41+02:00 (4 years ago)
Author:
simon04
Message:

see #19237 - Add /*ICON*/ markers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/TextContextualPopupMenu.java

    r16409 r16420  
    127127                addSeparator();
    128128            }
    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");
    132132        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");
    135135        }
    136136        addSeparator();
    137         addMenuEntry(component, tr("Select All"), DefaultEditorKit.selectAllAction, "dialogs/select");
     137        addMenuEntry(component, tr("Select All"), DefaultEditorKit.selectAllAction, /* ICON */ "dialogs/select");
    138138    }
    139139
Note: See TracChangeset for help on using the changeset viewer.