Interface IPersistableSourceLocator2

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

public interface IPersistableSourceLocator2 extends IPersistableSourceLocator
Extensions to the IPersistableSourceLocator interface.

Clients may optionally implement this interface when implementing an IPersistableSourceLocator.

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.
      memento - a memento to initialize this source locator
      configuration - the launch configuration this source locator is being created for
      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.