Interface IPersistableSourceLocator2

    • Method Detail

      • 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.