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

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.ui.views.disassembly.DisassemblyEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput

public class DisassemblyEditorInput
extends java.lang.Object
implements org.eclipse.ui.IEditorInput

Editor input associated with a debug element.


Field Summary
static org.eclipse.ui.IEditorInput EMPTY_EDITOR_INPUT
           
static org.eclipse.ui.IEditorInput PENDING_EDITOR_INPUT
           
 
Method Summary
 ICLineBreakpoint breakpointExists(IAddress address)
           
 boolean contains(ICStackFrame frame)
           
static DisassemblyEditorInput create(ICStackFrame frame)
           
 boolean exists()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 IAddress getAddress(int lineNumber)
           
 java.lang.String getContents()
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
           
 int getInstructionLine(IAddress address)
           
 int getInstructionLine(ICLineBreakpoint breakpoint)
           
 java.lang.String getModuleFile()
           
 java.lang.String getName()
           
 org.eclipse.ui.IPersistableElement getPersistable()
           
 java.lang.String getSourceFile()
           
 int getSourceLine(int instrNumber)
           
 org.eclipse.jface.text.IRegion[] getSourceRegions()
           
 java.lang.String getToolTipText()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_EDITOR_INPUT

public static final org.eclipse.ui.IEditorInput EMPTY_EDITOR_INPUT

PENDING_EDITOR_INPUT

public static final org.eclipse.ui.IEditorInput PENDING_EDITOR_INPUT
Method Detail

exists

public boolean exists()
Specified by:
exists in interface org.eclipse.ui.IEditorInput

getImageDescriptor

public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
Specified by:
getImageDescriptor in interface org.eclipse.ui.IEditorInput

getName

public java.lang.String getName()
Specified by:
getName in interface org.eclipse.ui.IEditorInput

getPersistable

public org.eclipse.ui.IPersistableElement getPersistable()
Specified by:
getPersistable in interface org.eclipse.ui.IEditorInput

getToolTipText

public java.lang.String getToolTipText()
Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable

contains

public boolean contains(ICStackFrame frame)

getContents

public java.lang.String getContents()

getInstructionLine

public int getInstructionLine(IAddress address)

getInstructionLine

public int getInstructionLine(ICLineBreakpoint breakpoint)

getAddress

public IAddress getAddress(int lineNumber)

getModuleFile

public java.lang.String getModuleFile()

getSourceFile

public java.lang.String getSourceFile()

getSourceLine

public int getSourceLine(int instrNumber)

create

public static DisassemblyEditorInput create(ICStackFrame frame)
                                     throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

getSourceRegions

public org.eclipse.jface.text.IRegion[] getSourceRegions()

breakpointExists

public ICLineBreakpoint breakpointExists(IAddress address)
                                  throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException