public interface IModelInclusionTester
IFile
shall be considered as EMF Model or not.
Implementations of this interface can be registered for the extension point
org.eclipse.emf.compare.ide.modelInclusionTester
to specify whether EMF Compare's model
provider should be enabled for certain files or not. See extension point description for more details.
Modifier and Type | Method and Description |
---|---|
boolean |
shouldInclude(org.eclipse.core.resources.IFile file)
Specifies whether the given
file should be included or not. |
boolean shouldInclude(org.eclipse.core.resources.IFile file)
file
should be included or not.
It is strongly recommended to keep this method as efficient and simple as possible, because it will be called several times for existing and potentially inexistent files.
file
- The file to test.true
if the file
should be included, false
otherwise.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.