List of usage examples for com.intellij.openapi.actionSystem IdeActions ACTION_SELECT_ALL_OCCURRENCES
String ACTION_SELECT_ALL_OCCURRENCES
To view the source code for com.intellij.openapi.actionSystem IdeActions ACTION_SELECT_ALL_OCCURRENCES.
Click Source Link
From source file:com.intellij.find.editorHeaderActions.SelectAllAction.java
License:Apache License
public SelectAllAction(EditorSearchComponent editorSearchComponent) { super(editorSearchComponent); copyFrom(ActionManager.getInstance().getAction(IdeActions.ACTION_SELECT_ALL_OCCURRENCES)); getTemplatePresentation().setIcon(AllIcons.Actions.CheckMulticaret); List<Shortcut> shortcuts = new ArrayList<Shortcut>(); ContainerUtil.addAll(shortcuts, getShortcutSet().getShortcuts()); ContainerUtil.addAll(shortcuts, CommonShortcuts.ALT_ENTER.getShortcuts()); registerShortcutsForComponent(shortcuts, editorSearchComponent.getSearchField()); }