mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Platform: globally use customized 'Delete' shortcuts (IDEA-102003) + more places use standard shortcuts
This commit is contained in:
@@ -686,7 +686,7 @@ public class AntExplorer extends SimpleToolWindowPanel implements DataProvider,
|
||||
|
||||
public RemoveMetaTargetsOrBuildFileAction() {
|
||||
super(AntBundle.message("remove.meta.targets.action.name"), AntBundle.message("remove.meta.targets.action.description"), null);
|
||||
registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0)), myTree);
|
||||
registerCustomShortcutSet(CommonShortcuts.getDelete(), myTree);
|
||||
Disposer.register(AntExplorer.this, new Disposable() {
|
||||
public void dispose() {
|
||||
RemoveMetaTargetsOrBuildFileAction.this.unregisterCustomShortcutSet(myTree);
|
||||
|
||||
Reference in New Issue
Block a user