Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider2.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider2.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider2.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider2.java
new file mode 100644
index 000000000..7c093f306
--- /dev/null
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider2.java
@@ -0,0 +1,33 @@
+/*****************************************************************
+ * Copyright (c) 2010 Texas Instruments and others
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Patrick Chuong (Texas Instruments) - Allow multiple debug views and
+ * multiple debug context providers (Bug 327263)
+ *****************************************************************/
+package org.eclipse.debug.ui.contexts;
+
+/**
+ * IDebugContextProvider extension.
+ *
+ * @since 3.7
+ */
+public interface IDebugContextProvider2 extends IDebugContextProvider {
+ /**
+ * Return whether the provider can be set a an active provider for the
+ * window.
+ * <p>
+ * If <code>true</code> then upon the provider's part is
+ * activation this provider will become the active debug context provider
+ * for the whole window. If <code>false</code>, then this provider will
+ * only set the active context in a given workbench part.
+ *
+ * @return <code>true</code> if capable to be the active debug context
+ * provider for a window.
+ */
+ boolean isWindowContextProvider();
+}

Back to the top