public class UnloadingResourceSetHook extends AbstractResourceSetHooks
| Constructor and Description |
|---|
UnloadingResourceSetHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDispose(Iterable<Resource> resources)
This will be called when the resource set is disposed (if it is).
|
isHookFor, postLoadingHook, preLoadingHookpublic void onDispose(Iterable<Resource> resources)
By default, EMF Compare will not unload any resource. Still some resources might need to be unloaded. This method could be a good way to do it. Hooks are called in unspecified order, so resources may already have been unloaded by other hooks when yours is called.
onDispose in interface IResourceSetHookonDispose in class AbstractResourceSetHooksresources - List of Resources currently in the resource set.AbstractResourceSetHooks.onDispose(java.lang.Iterable)
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.