mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
extract EMPTY_SETTINGS_PANEL_PROVIDER
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -36,6 +36,9 @@ import org.jetbrains.annotations.Nullable;
|
||||
public abstract class DebuggerSupport {
|
||||
private static final ExtensionPointName<DebuggerSupport> EXTENSION_POINT = ExtensionPointName.create("com.intellij.xdebugger.debuggerSupport");
|
||||
|
||||
private static final DebuggerSettingsPanelProvider EMPTY_SETTINGS_PANEL_PROVIDER = new DebuggerSettingsPanelProvider() {
|
||||
};
|
||||
|
||||
protected static final class DisabledActionHandler extends DebuggerActionHandler {
|
||||
public static final DisabledActionHandler INSTANCE = new DisabledActionHandler();
|
||||
|
||||
@@ -58,7 +61,9 @@ public abstract class DebuggerSupport {
|
||||
public abstract BreakpointPanelProvider<?> getBreakpointPanelProvider();
|
||||
|
||||
@NotNull
|
||||
public abstract DebuggerSettingsPanelProvider getSettingsPanelProvider();
|
||||
public DebuggerSettingsPanelProvider getSettingsPanelProvider() {
|
||||
return EMPTY_SETTINGS_PANEL_PROVIDER;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public abstract DebuggerActionHandler getStepOverHandler();
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
Reference in New Issue
Block a user