Package org.eclipse.xtext.resource
Interface IResourceDescription.Event.Listener
-
- All Known Implementing Classes:
DelegatingEventSource
,ResourceDescriptionsBasedContainer
,StateBasedContainer
- Enclosing interface:
- IResourceDescription.Event
public static interface IResourceDescription.Event.Listener
A listener for events raised by aIResourceDescription.Event.Source
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
descriptionsChanged(IResourceDescription.Event event)
The source will invoke this method to announce changed resources.
-
-
-
Method Detail
-
descriptionsChanged
void descriptionsChanged(IResourceDescription.Event event)
The source will invoke this method to announce changed resources. The event will never be
null
. However, it may contain an empty list of deltas.Listeners are free to remove themselves from the sender of the event or add other listeners. However added listeners will not be informed about the current change.
This event may be fired asynchronously. It is ensured that the changed resources will provide the content as it was when the change has been announced to the sender of the event.
- Parameters:
event
- the fired event. Will never benull
.
-
-