public final class LogicalModelViewHandlerUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Collection<org.eclipse.core.resources.IResource> |
getLogicalModelResources(Collection<SynchronizationModel> logicalModels,
org.eclipse.core.runtime.IProgressMonitor monitor)
Get the resources of the given logical models.
|
static Collection<SynchronizationModel> |
getSynchronizationModels(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
Get the logical model associated with the given file.
|
static boolean |
isEMFCompareCompliantFile(org.eclipse.core.resources.IFile file)
Check if the given file is a model compliant with EMF Compare.
|
public static Collection<SynchronizationModel> getSynchronizationModels(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
file
- the given file to compute the logical model.monitor
- to monitor the process.public static Collection<org.eclipse.core.resources.IResource> getLogicalModelResources(Collection<SynchronizationModel> logicalModels, org.eclipse.core.runtime.IProgressMonitor monitor)
logicalModels
- the logical models.monitor
- to monitor the process.public static boolean isEMFCompareCompliantFile(org.eclipse.core.resources.IFile file)
file
- the file to test.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.