Class EclipseProgressObserver


  • public class EclipseProgressObserver
    extends BasicProgressObserver
    Observes the progress of a longer lasting task for the eclipse ui.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • EclipseProgressObserver

        public EclipseProgressObserver()
    • Method Detail

      • register

        public void register​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Sets the monitor to this progress observer.
        Overwrites already set monitors.
        Parameters:
        monitor - The monitor which should be added to this observer.
      • unregister

        public void unregister​(org.eclipse.core.runtime.IProgressMonitor monitor)
        Sets this monitor to null if the current monitor is the same as the specified monitor.
        Parameters:
        monitor - If the given monitor is the same monitor as the monitor of this observer instance the monitor of this observer will be set to null otherwise will nothing happen.