summaryrefslogtreecommitdiff
path: root/platform/xdebugger-api/src/com/intellij/xdebugger/settings/XDebuggerSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/xdebugger-api/src/com/intellij/xdebugger/settings/XDebuggerSettings.java')
-rw-r--r--platform/xdebugger-api/src/com/intellij/xdebugger/settings/XDebuggerSettings.java26
1 files changed, 21 insertions, 5 deletions
diff --git a/platform/xdebugger-api/src/com/intellij/xdebugger/settings/XDebuggerSettings.java b/platform/xdebugger-api/src/com/intellij/xdebugger/settings/XDebuggerSettings.java
index e3b101d2cb9b..52049f76ae72 100644
--- a/platform/xdebugger-api/src/com/intellij/xdebugger/settings/XDebuggerSettings.java
+++ b/platform/xdebugger-api/src/com/intellij/xdebugger/settings/XDebuggerSettings.java
@@ -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.
@@ -19,8 +19,9 @@ import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.options.Configurable;
import com.intellij.xdebugger.XDebuggerUtil;
-import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.NonNls;
+import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
/**
* Implement this class to provide settings page for debugger. Settings page will be placed under 'Debugger' node in the 'Settings' dialog.
@@ -29,11 +30,16 @@ import org.jetbrains.annotations.NonNls;
* &lt;extensions defaultExtensionNs="com.intellij"&gt;<br>
* &nbsp;&nbsp;&lt;xdebugger.settings implementation="qualified-class-name"/&gt;<br>
* &lt;/extensions&gt;
- *
+ *
* @author nik
*/
public abstract class XDebuggerSettings<T> implements PersistentStateComponent<T> {
+ public enum Category {
+ ROOT, DATA_VIEWS, STEPPING
+ }
+
public static final ExtensionPointName<XDebuggerSettings> EXTENSION_POINT = ExtensionPointName.create("com.intellij.xdebugger.settings");
+
private final String myId;
protected XDebuggerSettings(final @NotNull @NonNls String id) {
@@ -48,6 +54,16 @@ public abstract class XDebuggerSettings<T> implements PersistentStateComponent<T
return myId;
}
- @NotNull
- public abstract Configurable createConfigurable();
+ @Nullable
+ public Configurable createConfigurable() {
+ return null;
+ }
+
+ @Nullable
+ public Configurable createConfigurable(@NotNull Category category) {
+ return null;
+ }
+
+ public void generalApplied(@NotNull Category category) {
+ }
}