From 8f080a62bf908ea447fc3b6f8887f7a61124abd8 Mon Sep 17 00:00:00 2001 From: Maxim Shafirov Date: Mon, 28 Feb 2005 23:06:47 +0300 Subject: [PATCH] Disabling cdr's feature. --- source/com/intellij/ide/util/gotoByName/ChooseByNameBase.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/com/intellij/ide/util/gotoByName/ChooseByNameBase.java b/source/com/intellij/ide/util/gotoByName/ChooseByNameBase.java index 42ffbf344040..fda92e0d72d1 100644 --- a/source/com/intellij/ide/util/gotoByName/ChooseByNameBase.java +++ b/source/com/intellij/ide/util/gotoByName/ChooseByNameBase.java @@ -219,11 +219,13 @@ public abstract class ChooseByNameBase{ myEditor = (Editor)DataManager.getInstance().getDataContext(myPreviouslyFocusedComponent).getData(DataConstants.EDITOR); if (myEditor != null) { myTextField.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, Collections.EMPTY_SET); + /* TODO[max, cdr]: to discuss. final JPanel p = new JPanel(new BorderLayout()); final JLabel label = new JLabel("
Press TAB to paste the reference into editor.
"); label.setHorizontalAlignment(SwingConstants.CENTER); p.add(label, BorderLayout.CENTER); myTextFieldPanel.add(p); + */ } myTextFieldPanel.add(myTextField);