org.eclipse.cdt.debug.internal.ui.views.disassembly
Class DisassemblyInstructionPointerAnnotation

java.lang.Object
  extended by org.eclipse.jface.text.source.Annotation
      extended by org.eclipse.cdt.debug.internal.ui.views.disassembly.DisassemblyInstructionPointerAnnotation

public class DisassemblyInstructionPointerAnnotation
extends org.eclipse.jface.text.source.Annotation

An annotation for the vertical ruler in the disassembly view that shows one of two images for the current instruction pointer when debugging (one for the top stack frame, one for all others).


Field Summary
 
Fields inherited from class org.eclipse.jface.text.source.Annotation
TYPE_UNKNOWN
 
Constructor Summary
DisassemblyInstructionPointerAnnotation(ICStackFrame stackFrame, boolean isTopFrame)
          Construct an instruction pointer annotation for the given stack frame.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.eclipse.jface.text.source.Annotation
getText, getType, isMarkedDeleted, isPersistent, markDeleted, setText, setType
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisassemblyInstructionPointerAnnotation

public DisassemblyInstructionPointerAnnotation(ICStackFrame stackFrame,
                                               boolean isTopFrame)
Construct an instruction pointer annotation for the given stack frame.

Parameters:
stackFrame - frame to create an instruction pointer annotation for
isTopFrame - whether the given frame is the top stack frame in its thread
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object