Interface IPersistableSourceLocator2

All Superinterfaces:
IPersistableSourceLocator, ISourceLocator
All Known Subinterfaces:
ISourceLookupDirector
All Known Implementing Classes:
AbstractSourceLookupDirector

public interface IPersistableSourceLocator2 extends IPersistableSourceLocator
Extensions to the IPersistableSourceLocator interface.

Clients may optionally implement this interface when implementing an IPersistableSourceLocator.

Since:
3.0
See Also:
  • Method Details

    • initializeFromMemento

      void initializeFromMemento(String memento, ILaunchConfiguration configuration) throws CoreException
      Initializes this source locator based on the given memento, for the given launch configuration. This method is called instead of initializeFrom(String memento) defined in IPersistableSourceLocator when a source locator implements this interface.
      Parameters:
      memento - a memento to initialize this source locator
      configuration - 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.