Interface IPersistableSourceLocator2
- All Superinterfaces:
IPersistableSourceLocator,ISourceLocator
- All Known Subinterfaces:
ISourceLookupDirector
- All Known Implementing Classes:
AbstractSourceLookupDirector
Extensions to the
IPersistableSourceLocator interface.
Clients may optionally implement this interface when implementing an
IPersistableSourceLocator.
- Since:
- 3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Disposes this source locator.voidinitializeFromMemento(String memento, ILaunchConfiguration configuration) Initializes this source locator based on the given memento, for the given launch configuration.Methods inherited from interface org.eclipse.debug.core.model.IPersistableSourceLocator
getMemento, initializeDefaults, initializeFromMementoMethods inherited from interface org.eclipse.debug.core.model.ISourceLocator
getSourceElement
-
Method Details
-
initializeFromMemento
Initializes this source locator based on the given memento, for the given launch configuration. This method is called instead ofinitializeFrom(String memento)defined inIPersistableSourceLocatorwhen a source locator implements this interface.- Parameters:
memento- a memento to initialize this source locatorconfiguration- the launch configuration this source locator is being created for- Throws:
CoreException- on failure to initialize
-
dispose
void dispose()Disposes this source locator. This method is called when a source locator's associated launch is removed from the launch manager.
-