public abstract static class DiagnosticDecorator.DiagnosticAdapter extends EContentAdapter
resource set's resources.Adapter.Internaltarget| Constructor and Description |
|---|
DiagnosticDecorator.DiagnosticAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
handleResourceDiagnostics(java.util.List<Resource> resources)
This will typically compute a diagnostic for the resource and call
updateDiagnostic(Diagnostic). |
void |
notifyChanged(Notification notification)
Handles a notification by calling
selfAdapter. |
protected void |
setTarget(Resource target)
Handles installation of the adapter on a Resource
by adding the adapter to each of the directly contained objects.
|
protected void |
setTarget(ResourceSet target)
Handles installation of the adapter on a ResourceSet
by adding the adapter to each of the directly contained objects.
|
protected void |
unsetTarget(Resource target)
Handles undoing the installation of the adapter from a Resource
by removing the adapter from each of the directly contained objects.
|
static void |
update(Notifier notifier,
Diagnostic diagnostic)
Inform all diagnostic adapters associated with the notifier of new diagnostic information.
|
protected abstract void |
updateDiagnostic(Diagnostic diagnostic) |
addAdapter, basicSetTarget, basicUnsetTarget, handleContainment, removeAdapter, resolve, selfAdapt, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, unsetTargetgetTarget, isAdapterForTypepublic DiagnosticDecorator.DiagnosticAdapter()
public static void update(Notifier notifier, Diagnostic diagnostic)
protected abstract void updateDiagnostic(Diagnostic diagnostic)
protected abstract void handleResourceDiagnostics(java.util.List<Resource> resources)
updateDiagnostic(Diagnostic).public void notifyChanged(Notification notification)
EContentAdapterselfAdapter.notifyChanged in interface AdapternotifyChanged in class EContentAdapternotification - a description of the change.protected void setTarget(ResourceSet target)
EContentAdaptersetTarget in class EContentAdapterprotected void setTarget(Resource target)
EContentAdaptersetTarget in class EContentAdapterprotected void unsetTarget(Resource target)
EContentAdapterunsetTarget in class EContentAdapter