monitors
Download
Skip this Video
Download Presentation
Monitors

Loading in 2 Seconds...

play fullscreen
1 / 7

Monitors - PowerPoint PPT Presentation


  • 112 Views
  • Uploaded on

Monitors. IProgressMonitor IRepositoryProgressMonitor Surya Tripathi. Purpose. Monitor is used to monitor the progress of an operation. It provides functions to set the progress and cancel the operation in the middle. Listeners can be added to respond to state change of the monitor.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Monitors' - sean-sellers


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
monitors

Monitors

IProgressMonitor IRepositoryProgressMonitor

Surya Tripathi

purpose
Purpose
  • Monitor is used to monitor the progress of an operation.
  • It provides functions to set the progress and cancel the operation in the middle.
  • Listeners can be added to respond to state change of the monitor.
demo code
Demo/Code
  • Running long operation without any feedback to users.
  • Running long operation with a busy cursor – hourglass, spin cursor.
  • Running long operation with progress
  • Running long operation without blocking UI.
eclipse 4
Eclipse 4
  • Uses SubMonitor
  • No need to call done()
  • Pass monitor to another function using SubMonitor.newChild()
progress monitor in rtc
Progress Monitor in RTC
  • Uses the same IProgressMonitor
  • Uses wrapper IRepositoryProgressMonitor to pass to server side.
  • Whenever you invoke a IScmService function, pass IRepositoryProgressMonitor
  • SCMClientUtil.monitorFor() creates IRPM from IPM.
  • IRepositoryProgressMonitor.ITEM_FACTORY.createItem(monitor);
  • SCMProgressMonitor, RepositoryProgressMonitorImplmodel object implementation.
ad