mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce constant: preselect chosen target class (IDEA-158401)
This commit is contained in:
+1
@@ -210,6 +210,7 @@ class IntroduceConstantDialog extends DialogWrapper {
|
||||
for (String possibleClassName : possibleClassNames) {
|
||||
myTfTargetClassName.prependItem(possibleClassName);
|
||||
}
|
||||
myTfTargetClassName.getChildComponent().setSelectedItem(myParentClass.getQualifiedName());
|
||||
myTfTargetClassName.getChildComponent().addDocumentListener(new DocumentAdapter() {
|
||||
public void documentChanged(DocumentEvent e) {
|
||||
targetClassChanged();
|
||||
|
||||
Reference in New Issue
Block a user