Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2005-11-23 18:11:24 +0000
committerDarin Wright2005-11-23 18:11:24 +0000
commit66c6d750a53def4f0025912b1c500379b0370837 (patch)
tree723dd1f5ca750dcee3cb6a44788f7eeb03abac11 /org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts
parentbbaac91025985428cfc2ea8e822fc6c95ccdfc23 (diff)
downloadeclipse.platform.debug-66c6d750a53def4f0025912b1c500379b0370837.tar.gz
eclipse.platform.debug-66c6d750a53def4f0025912b1c500379b0370837.tar.xz
eclipse.platform.debug-66c6d750a53def4f0025912b1c500379b0370837.zip
Bug 117491 - Debug event handlers no more
Bug 117089 - [flex-hierarchy] the "Lookup Source" action does not work
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextListener.java41
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextManager.java99
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider.java35
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISourceDisplayAdapter.java31
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTrigger.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTriggerListener.java29
6 files changed, 0 insertions, 261 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextListener.java
deleted file mode 100644
index 42240d61b..000000000
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextListener.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.ui.contexts;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.ui.IWorkbenchPart;
-
-/**
- *
- * @since 3.2
- */
-public interface IDebugContextListener {
-
- /**
- * Notification the given selection contains the active context in the
- * specified part.
- *
- * @param selection selection containing active context
- * @param part workbench part or <code>null</code>
- */
- public void contextActivated(ISelection selection, IWorkbenchPart part);
-
- /**
- * Notification the context in the given selection has changed state
- * in the specified part. Context changes are only sent for contexts
- * that are active.
- *
- * @param selection selection containing changed context
- * @param part workbench part or <code>null</code>
- */
- public void contextChanged(ISelection selection, IWorkbenchPart part);
-
-}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextManager.java
deleted file mode 100644
index 1fff05031..000000000
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextManager.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.ui.contexts;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.ui.IWorkbenchWindow;
-
-/**
- * A debug context drives debugging - source lookup and action enablement in the
- * debug user interface. The context service provides notification
- * of changes in the active context specific to the workbench, a specific window, or a
- * specific part.
- * <p>
- * Cleints provide a context policy to notifiy the context service of interesting
- * contexts within a model. For example the debug platform provides a context policy
- * that maps debug events to suspended contexts.
- * </p>
- * <p>
- * Not intended to be implemented by clients.
- * </p>
- * @since 3.2
- */
-public interface IDebugContextManager {
-
- /**
- * Registers the given debug context provider.
- *
- * @param provider
- */
- public void addDebugContextProvider(IDebugContextProvider provider);
-
- /**
- * Deregisters the given debug context provider.
- *
- * @param provider
- */
- public void removeDebugContextProvider(IDebugContextProvider provider);
-
- /**
- * Registers for context activation notification in the given window.
- *
- * @param listener
- * @param window
- */
- public void addDebugContextListener(IDebugContextListener listener, IWorkbenchWindow window);
- /**
- * Deregisters for context activation notification in this service in the
- * given window.
- *
- * @param listener
- * @param window
- */
- public void removeDebugContextListener(IDebugContextListener listener, IWorkbenchWindow window);
-
- /**
- * Registers for context activation notification in the specified part of the
- * specified window.
- *
- * @param listener
- * @param window
- * @param partId
- */
- public void addDebugContextListener(IDebugContextListener listener, IWorkbenchWindow window, String partId);
-
- /**
- * Deregisters for context activation notification in the specified part of
- * the specified window.
- *
- * @param listener
- * @param partId
- */
- public void removeDebugContextListener(IDebugContextListener listener, IWorkbenchWindow window, String partId);
-
- /**
- * Returns the active context in the given window
- * or <code>null</code>.
- *
- * @param window
- * @return
- */
- public ISelection getActiveContext(IWorkbenchWindow window);
-
- /**
- * Returns the active context in the specified part of the given
- * window or <code>null</code>.
- *
- * @param partId
- * @return
- */
- public ISelection getActiveContext(IWorkbenchWindow window, String partId);
-}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider.java
deleted file mode 100644
index 1052a4e4d..000000000
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.ui.contexts;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.ui.IWorkbenchPart;
-
-/**
- * Provides a debug context.
- *
- * @since 3.2
- */
-public interface IDebugContextProvider {
-
- /**
- * Returns the part associated with this provider.
- *
- * @return
- */
- public IWorkbenchPart getPart();
-
- public void addDebugContextListener(IDebugContextListener listener);
- public void removeDebugContextListener(IDebugContextListener listener);
-
- public ISelection getActiveContext();
-
-}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISourceDisplayAdapter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISourceDisplayAdapter.java
deleted file mode 100644
index 938e49278..000000000
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISourceDisplayAdapter.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.ui.contexts;
-
-import org.eclipse.ui.IWorkbenchPage;
-
-/**
- * An adpater that is capable of displaying source for an object.
- * The adapter is obtained from an object in a debug context.
- *
- * @since 3.2
- */
-public interface ISourceDisplayAdapter {
-
- /**
- * Displays source for the given context in the specified page.
- *
- * @param context debug context to display source for
- * @param page the page in which to display source
- */
- public void displaySource(Object context, IWorkbenchPage page);
-
-}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTrigger.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTrigger.java
deleted file mode 100644
index a5ce7e0bb..000000000
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTrigger.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.ui.contexts;
-
-/**
- * Adapter retrieved from an <code>ILaunch</code> that notifies
- * listeners when it suspends. A suspend trigger is responsible
- * for cleaning itself up when it's launch is no longer capable
- * of suspending.
- *
- * @since 3.2
- */
-public interface ISuspendTrigger {
-
- public void addSuspendTriggerListener(ISuspendTriggerListener listener);
- public void removeSuspendTriggerListener(ISuspendTriggerListener listener);
-
-}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTriggerListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTriggerListener.java
deleted file mode 100644
index 5daafe5e7..000000000
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTriggerListener.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005 IBM Corporation 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:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.ui.contexts;
-
-import org.eclipse.debug.core.ILaunch;
-
-/**
- * @since 3.2
- */
-public interface ISuspendTriggerListener {
-
- /**
- * Notification the given launch has suspended at the
- * specified context.
- *
- * @param launch
- * @param context
- */
- public void suspended(ILaunch launch, Object context);
-
-}

Back to the top