switcher - auto selection + fixes
[idea/community.git] / platform / platform-impl / src / com / intellij / openapi / wm / impl / content / ToolWindowContentUi.java
index 77ca8292b2cd1240360b33a31b8976a67b094443..5bd2b46b1cd92bea1616d824f6600fd4223107da 100644 (file)
@@ -482,6 +482,11 @@ public class ToolWindowContentUi extends JPanel implements ContentUI, PropertyCh
       return myManager.getComponent();
     }
 
+    @Override
+    public String toString() {
+      return myContent.getDisplayName();
+    }
+
     @Override
     public Object[] getEqualityObjects() {
       return new Object[] {myContent};