org.eclipse.cdt.debug.ui.sourcelookup
Class OldDefaultSourceLocator

java.lang.Object
  extended by org.eclipse.cdt.debug.ui.sourcelookup.OldDefaultSourceLocator
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IPersistableSourceLocator, org.eclipse.debug.core.model.ISourceLocator

public class OldDefaultSourceLocator
extends java.lang.Object
implements org.eclipse.debug.core.model.IPersistableSourceLocator, org.eclipse.core.runtime.IAdaptable

Old default source locator. We keep it for migration purposes.


Field Summary
static java.lang.String ID_DEFAULT_SOURCE_LOCATOR
          Identifier for the 'Default C/C++ Source Locator' extension (value "org.eclipse.cdt.debug.ui.DefaultSourceLocator").
static java.lang.String ID_OLD_DEFAULT_SOURCE_LOCATOR
           
 
Constructor Summary
OldDefaultSourceLocator()
           
 
Method Summary
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 java.lang.String getMemento()
           
 java.lang.Object getSourceElement(org.eclipse.debug.core.model.IStackFrame stackFrame)
           
 void initializeDefaults(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
 void initializeFromMemento(java.lang.String memento)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_DEFAULT_SOURCE_LOCATOR

public static final java.lang.String ID_DEFAULT_SOURCE_LOCATOR
Identifier for the 'Default C/C++ Source Locator' extension (value "org.eclipse.cdt.debug.ui.DefaultSourceLocator").


ID_OLD_DEFAULT_SOURCE_LOCATOR

public static final java.lang.String ID_OLD_DEFAULT_SOURCE_LOCATOR
See Also:
Constant Field Values
Constructor Detail

OldDefaultSourceLocator

public OldDefaultSourceLocator()
Method Detail

getMemento

public java.lang.String getMemento()
                            throws org.eclipse.core.runtime.CoreException
Specified by:
getMemento in interface org.eclipse.debug.core.model.IPersistableSourceLocator
Throws:
org.eclipse.core.runtime.CoreException

initializeFromMemento

public void initializeFromMemento(java.lang.String memento)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
initializeFromMemento in interface org.eclipse.debug.core.model.IPersistableSourceLocator
Throws:
org.eclipse.core.runtime.CoreException

initializeDefaults

public void initializeDefaults(org.eclipse.debug.core.ILaunchConfiguration configuration)
                        throws org.eclipse.core.runtime.CoreException
Specified by:
initializeDefaults in interface org.eclipse.debug.core.model.IPersistableSourceLocator
Throws:
org.eclipse.core.runtime.CoreException

getAdapter

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

getSourceElement

public java.lang.Object getSourceElement(org.eclipse.debug.core.model.IStackFrame stackFrame)
Specified by:
getSourceElement in interface org.eclipse.debug.core.model.ISourceLocator