org.eclipse.cdt.debug.internal.ui
Class EvaluationContextManager

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.ui.EvaluationContextManager
All Implemented Interfaces:
org.eclipse.ui.IPageListener, org.eclipse.ui.IPartListener2, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IWindowListener

public class EvaluationContextManager
extends java.lang.Object
implements org.eclipse.ui.IWindowListener, org.eclipse.ui.IPageListener, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IPartListener2

Manages the current evaluation context (stack frame) for evaluation actions. In each page, the selection is tracked in each debug view (if any). When a debug target selection exists, the "debuggerActive" System property is set to true. This property is used to make the "Run To Line" and "Resume At Line" actions visible in editors only if there is a running debug session.


Method Summary
 void pageActivated(org.eclipse.ui.IWorkbenchPage page)
           
 void pageClosed(org.eclipse.ui.IWorkbenchPage page)
           
 void pageOpened(org.eclipse.ui.IWorkbenchPage page)
           
 void partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void partHidden(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void partOpened(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void partVisible(org.eclipse.ui.IWorkbenchPartReference partRef)
           
 void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
           
static void startup()
           
 void windowActivated(org.eclipse.ui.IWorkbenchWindow window)
           
 void windowClosed(org.eclipse.ui.IWorkbenchWindow window)
           
 void windowDeactivated(org.eclipse.ui.IWorkbenchWindow window)
           
 void windowOpened(org.eclipse.ui.IWorkbenchWindow window)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startup

public static void startup()

windowActivated

public void windowActivated(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowActivated in interface org.eclipse.ui.IWindowListener

windowDeactivated

public void windowDeactivated(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowDeactivated in interface org.eclipse.ui.IWindowListener

windowClosed

public void windowClosed(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowClosed in interface org.eclipse.ui.IWindowListener

windowOpened

public void windowOpened(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
windowOpened in interface org.eclipse.ui.IWindowListener

pageActivated

public void pageActivated(org.eclipse.ui.IWorkbenchPage page)
Specified by:
pageActivated in interface org.eclipse.ui.IPageListener

pageClosed

public void pageClosed(org.eclipse.ui.IWorkbenchPage page)
Specified by:
pageClosed in interface org.eclipse.ui.IPageListener

pageOpened

public void pageOpened(org.eclipse.ui.IWorkbenchPage page)
Specified by:
pageOpened in interface org.eclipse.ui.IPageListener

selectionChanged

public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.ISelectionListener

partActivated

public void partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partActivated in interface org.eclipse.ui.IPartListener2

partBroughtToTop

public void partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partBroughtToTop in interface org.eclipse.ui.IPartListener2

partClosed

public void partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partClosed in interface org.eclipse.ui.IPartListener2

partDeactivated

public void partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partDeactivated in interface org.eclipse.ui.IPartListener2

partOpened

public void partOpened(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partOpened in interface org.eclipse.ui.IPartListener2

partHidden

public void partHidden(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partHidden in interface org.eclipse.ui.IPartListener2

partVisible

public void partVisible(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partVisible in interface org.eclipse.ui.IPartListener2

partInputChanged

public void partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef)
Specified by:
partInputChanged in interface org.eclipse.ui.IPartListener2