Interface ISaveablesLifecycleListener

public interface ISaveablesLifecycleListener
Listener for events fired by implementers of ISaveablesSource.

This service can be acquired from a part's service locator:

 ISaveablesLifecycleListener listener = (ISaveablesLifecycleListener) getSite()
or, in the case of implementers of ISaveablesSource that are not a part, from the workbench:
 ISaveablesLifecycleListener listener = (ISaveablesLifecycleListener) workbench
  • This service is available globally.
  • Method Details

    • handleLifecycleEvent

      void handleLifecycleEvent(SaveablesLifecycleEvent event)
      Handle the given event. This method must be called on the UI thread.
      event - the event