Class ProgressMonitor

java.lang.Object
org.eclipse.lemminx.commons.progress.ProgressMonitor
All Implemented Interfaces:
org.eclipse.lsp4j.jsonrpc.CancelChecker

public class ProgressMonitor extends Object implements org.eclipse.lsp4j.jsonrpc.CancelChecker
Progress monitor which wraps the LSP progress API to simplify the implementation of progress.
Author:
Angelo ZERR
  • Constructor Details

  • Method Details

    • begin

      public void begin(String title, String message, Integer percentage, Boolean cancellable)
    • report

      public void report(String message, Integer percentage, Boolean cancellable)
    • end

      public void end(String message)
    • checkCanceled

      public void checkCanceled()
      Specified by:
      checkCanceled in interface org.eclipse.lsp4j.jsonrpc.CancelChecker
    • isCanceled

      public boolean isCanceled()
      Specified by:
      isCanceled in interface org.eclipse.lsp4j.jsonrpc.CancelChecker