public class CheckEvaluationRequest
extends java.lang.Object
Constructor and Description |
---|
CheckEvaluationRequest(java.util.Collection<org.eclipse.core.resources.IFile> checkFiles,
java.util.Collection<java.lang.Object> modelObjects)
Constructs a Check model evaluation request.
|
CheckEvaluationRequest(java.util.Collection<org.eclipse.core.resources.IFile> checkFiles,
java.lang.Object modelRootObject)
Constructs a Check model evaluation request.
|
CheckEvaluationRequest(org.eclipse.core.resources.IFile checkFile,
java.util.Collection<java.lang.Object> modelObjects)
Constructs a Check model evaluation request.
|
CheckEvaluationRequest(org.eclipse.core.resources.IFile checkFile,
java.lang.Object modelRootObject)
Constructs a Check model evaluation request.
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Collection<java.lang.Object> |
getAllContents(java.lang.Object modelObject)
Returns the
modelObject object and its direct contents and indirect
contents. |
java.util.Collection<org.eclipse.core.resources.IFile> |
getCheckFiles()
Gets the Check files to be use.
|
java.util.Collection<java.lang.Object> |
getModelObjects()
Gets all the model objects to be check.
|
java.lang.Object |
getModelRootObject()
Gets the root model element.
|
public CheckEvaluationRequest(org.eclipse.core.resources.IFile checkFile, java.lang.Object modelRootObject)
checkFile
- a Check file.modelRootObject
- the root model to be check.public CheckEvaluationRequest(java.util.Collection<org.eclipse.core.resources.IFile> checkFiles, java.lang.Object modelRootObject)
checkFiles
- a collection of Check files.modelRootObject
- the root model to be check.public CheckEvaluationRequest(org.eclipse.core.resources.IFile checkFile, java.util.Collection<java.lang.Object> modelObjects)
checkFile
- a Check file.modelObjects
- all model objects to be check.public CheckEvaluationRequest(java.util.Collection<org.eclipse.core.resources.IFile> checkFiles, java.util.Collection<java.lang.Object> modelObjects)
checkFiles
- a collection of Check files.modelObjects
- all model objects to be check.protected static java.util.Collection<java.lang.Object> getAllContents(java.lang.Object modelObject)
modelObject
object and its direct contents
and indirect
contents.modelObject
- the selected model object.modelObject
object and its direct contents
and indirect
contents.public java.util.Collection<org.eclipse.core.resources.IFile> getCheckFiles()
public java.util.Collection<java.lang.Object> getModelObjects()
public java.lang.Object getModelRootObject()
modelObject
element.EcoreUtil#getRootContainer(EObject)} method.