public interface ISavedState
IWorkspace.addSaveParticipant(org.eclipse.core.runtime.Plugin, ISaveParticipant)containing a save number and an optional resource delta.
|Modifier and Type||Method and Description|
Returns the files mapped with the
Returns the save number for the save participant.
Returns the mapped location associated with the given path or
Used to receive notification of changes that might have happened while this plug-in was not active.
ISaveContext.map(IPath, IPath)facility. Returns an empty array if there are no mapped files.
0if the plug-in has never actively participated in a successful save.
void processResourceChangeEvents(IResourceChangeListener listener)
No notification is received in the following cases:
ISaveContext.needDelta()was not called)
All clients should have a contingency plan in place in case a changes are not available (the case should be very similar to the first time a plug-in is activated, and only has the current state of the workspace to work from).
The supplied event is of type
and contains the delta detailing changes since this plug-in last participated
in a save. This event object (and the resource delta within it) is valid only
for the duration of the invocation of this method.
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.