Ecore

org.topcased.search.ecore.engine
Class ECoreModelResourceValidator

java.lang.Object
  extended by AbstractModelResourceValidator
      extended by org.topcased.search.ecore.engine.ECoreModelResourceValidator

public class ECoreModelResourceValidator
extends AbstractModelResourceValidator

Convenience class allowing to check whether a resource is valid or not according to some basic file extension for exemple. Users can extend this class and override the check method in order to add additional, exhaustive & pertinent resource checkings.


Constructor Summary
ECoreModelResourceValidator()
           
 
Method Summary
 boolean check(org.eclipse.core.resources.IResource resource)
          Check if a resource is valid or not for model element search purpose for the current model kind.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECoreModelResourceValidator

public ECoreModelResourceValidator()
Method Detail

check

public boolean check(org.eclipse.core.resources.IResource resource)
Check if a resource is valid or not for model element search purpose for the current model kind.


Ecore

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.