mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Favorites: breakpoints nodes become collapsed after breakpointsChanged() event
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
package com.intellij.debugger.ui;
|
||||
|
||||
import com.intellij.debugger.DebuggerBundle;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.util.PlatformIcons;
|
||||
import com.intellij.xdebugger.breakpoints.ui.XBreakpointGroup;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+11
@@ -32,6 +32,17 @@ public abstract class XBreakpointGroup implements Comparable<XBreakpointGroup> {
|
||||
@NotNull
|
||||
public abstract String getName();
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == this) return true;
|
||||
return (getClass() == obj.getClass()) && compareTo((XBreakpointGroup)obj) == 0;
|
||||
}
|
||||
|
||||
public int compareTo(final XBreakpointGroup o) {
|
||||
return getName().compareTo(o.getName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user