Class SafeSubMonitor

java.lang.Object
org.eclipse.emf.common.util.BasicMonitor.Delegating
org.eclipse.emf.compare.internal.utils.SafeSubMonitor
All Implemented Interfaces:
Monitor

public class SafeSubMonitor extends BasicMonitor.Delegating implements Monitor
An EMF Monitor that can be safely passed to clients because it will ignore calls to worked(int) and done() to allow the caller to master the number of ticks consumed, whatever the clients do with the monitor. Such a monitor allows clients to cancel an operation while preventing them to negatively (or positively alas) impact the progress report.