Package com._1c.g5.v8.dt.bsl.validation
Class CustomUriValidator
- java.lang.Object
-
- org.eclipse.xtext.ui.resource.UriValidator
-
- com._1c.g5.v8.dt.bsl.validation.CustomUriValidator
-
public class CustomUriValidator extends org.eclipse.xtext.ui.resource.UriValidatorOptimized implementation ofUriValidatorwhich does not block resource subsystem during checks. The effect is achieved due to removal ofIResourceUIServiceProviderExtensioncheck and call. The implementation of this interface (DefaultResourceUIServiceProvider) checks Java nature of a project via reading project fields, blocking the resource subsystem while doing those readings
-
-
Constructor Summary
Constructors Constructor Description CustomUriValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBuild(org.eclipse.emf.common.util.URI uri, org.eclipse.core.resources.IStorage storage)booleanisValid(org.eclipse.emf.common.util.URI uri, org.eclipse.core.resources.IStorage storage)
-
-
-
Method Detail
-
isValid
public boolean isValid(org.eclipse.emf.common.util.URI uri, org.eclipse.core.resources.IStorage storage)- Overrides:
isValidin classorg.eclipse.xtext.ui.resource.UriValidator
-
canBuild
public boolean canBuild(org.eclipse.emf.common.util.URI uri, org.eclipse.core.resources.IStorage storage)- Overrides:
canBuildin classorg.eclipse.xtext.ui.resource.UriValidator
-
-