Platform: globally use customized 'Delete' shortcuts (IDEA-102003) + more places use standard shortcuts

This commit is contained in:
Anton Makeev
2014-04-04 10:41:00 +02:00
parent 50ae3193d4
commit 15150f5fb3
@@ -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);