public static class DefaultUniqueNameContext.Global extends DefaultUniqueNameContext.BaseGlobalContextProvider
Provide a context for the entire index.
Drawback: If a resoure in a project A introduces a duplication with a resource in project B, an incremental build of A may fail to notify B, if B is a dependency of A. Triggering a clean build in B will subsequently create the validation problem / fix the validation problem there, too but in Eclipse, the incremental build will not provide the same level of consistency.
IsAffectedExtension.AllIsAffectedExtensions| Constructor and Description |
|---|
Global() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAffected(java.util.Collection<IResourceDescription.Delta> deltas,
IResourceDescription candidate,
IResourceDescriptions context)
Answers true if the given candidate is impacted by the given delta beyond the default
linking semantics.
|
INamesAreUniqueValidationHelper.Context |
tryGetContext(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Obtain the context of the unique name validation for the given resource.
|
getIndex, intersects, isAffectedgetCaseInsensitivityHelper, getResourceDescription, getResourceDescriptionManager, getResourceServiceProvider, setResourceServiceProviderRegistrypublic INamesAreUniqueValidationHelper.Context tryGetContext(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
INamesAreUniqueValidationHelper.ContextProviderpublic boolean isAffected(java.util.Collection<IResourceDescription.Delta> deltas, IResourceDescription candidate, IResourceDescriptions context)
IsAffectedExtension