Eclipse Platform
Release 3.4

org.eclipse.ui
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()
 		.getService(ISaveablesLifecycleListener.class);
 
or, in the case of implementers of ISaveablesSource that are not a part, from the workbench:
 ISaveablesLifecycleListener listener = (ISaveablesLifecycleListener) workbench
 		.getService(ISaveablesLifecycleListener.class);
 

Since:
3.2

Method Summary
 void handleLifecycleEvent(SaveablesLifecycleEvent event)
          Handle the given event.
 

Method Detail

handleLifecycleEvent

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

Parameters:
event -

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.