org.eclipse.ocl.ecore.delegate
Class DelegateResourceAdapter
java.lang.Object
AdapterImpl
org.eclipse.ocl.ecore.delegate.DelegateResourceAdapter
public class DelegateResourceAdapter
- extends AdapterImpl
DelegateResourceAdapter extends a Resource to load and unload DelegateDomains
for each package with a delegate annotation, when the resource is loaded and
unloaded.
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegateResourceAdapter
public DelegateResourceAdapter()
getAdapter
public static DelegateResourceAdapter getAdapter(Resource resource)
getTarget
public Resource getTarget()
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
notifyChanged
public void notifyChanged(Notification notification)
installPackages
protected void installPackages(EPackage.Registry packageRegistry,
java.util.List<? extends EObject> contents)
setTarget
public void setTarget(Notifier newTarget)
unloadDelegates
protected void unloadDelegates(java.util.List<? extends EObject> contents)