mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CR-IC-5839#CFR-87746 "Now it makes no sense to override this method so why not mark is as deprecated?"
This commit is contained in:
@@ -164,8 +164,10 @@ public abstract class XDebuggerEvaluator {
|
||||
return text;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
/**
|
||||
* @return delay before showing value tooltip (in ms)
|
||||
* @deprecated Since IDEA 14 it is a platform setting
|
||||
*/
|
||||
public int getValuePopupDelay() {
|
||||
return XDebuggerSettingsManager.getInstance().getDataViewSettings().getValueLookupDelay();
|
||||
|
||||
+1
-8
@@ -100,14 +100,7 @@ public class XQuickEvaluateHandler extends QuickEvaluateHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getValueLookupDelay(final Project project) {
|
||||
XDebugSession session = XDebuggerManager.getInstance(project).getCurrentSession();
|
||||
if (session != null) {
|
||||
XDebuggerEvaluator evaluator = session.getDebugProcess().getEvaluator();
|
||||
if (evaluator != null) {
|
||||
return evaluator.getValuePopupDelay();
|
||||
}
|
||||
}
|
||||
public int getValueLookupDelay(Project project) {
|
||||
return XDebuggerSettingsManager.getInstance().getDataViewSettings().getValueLookupDelay();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user