public class CompoundModelMinimizer extends Object implements IModelMinimizer
IModelMinimizer.Registry| Modifier and Type | Field and Description | 
|---|---|
| protected List<IModelMinimizer> | minimizersThe list of model minimizers. | 
| Constructor and Description | 
|---|
| CompoundModelMinimizer(IModelMinimizer... minimizers)Creates a new compound model minimizer with the given minimizers. | 
| CompoundModelMinimizer(List<IModelMinimizer> minimizers)Creates a new compound model minimizer with the given minimizers. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | minimize(org.eclipse.core.resources.IFile file,
        SynchronizationModel syncModel,
        org.eclipse.core.runtime.IProgressMonitor monitor)This will be called to reduce the number of resources in this model's traversals based on the given
 starting point of the left logical model. | 
| void | minimize(SynchronizationModel syncModel,
        org.eclipse.core.runtime.IProgressMonitor monitor)This will be called to reduce the number of resources in this model's traversals. | 
protected List<IModelMinimizer> minimizers
public CompoundModelMinimizer(IModelMinimizer... minimizers)
minimizers - model minimizerspublic CompoundModelMinimizer(List<IModelMinimizer> minimizers)
minimizers - model minimizerspublic void minimize(SynchronizationModel syncModel, org.eclipse.core.runtime.IProgressMonitor monitor)
minimize in interface IModelMinimizersyncModel - The synchronization model to be minimized.monitor - Monitor on which to report progress to the user.public void minimize(org.eclipse.core.resources.IFile file,
                     SynchronizationModel syncModel,
                     org.eclipse.core.runtime.IProgressMonitor monitor)
minimize in interface IModelMinimizerfile - The file that has been used as the starting point to resolve the left logical model.syncModel - The synchronization model to be minimized.monitor - Monitor on which to report progress to the user.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.