Interface ContentPromise

All Known Implementing Classes:
LazyEgxModule.LazyGenerationRuleContentPromise, StaticContentPromise

public interface ContentPromise
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default org.eclipse.core.runtime.IProgressMonitor
    Return the monitor used by the promise to detect if the user has requested the cancellation of its computation.
    default void
    setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
    Change the monitor used by the promise to detect if the user has requested the cancellation of its computation.
  • Method Details

    • getContent

      String getContent() throws Exception
      Throws:
      Exception
    • getProgressMonitor

      default org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()
      Return the monitor used by the promise to detect if the user has requested the cancellation of its computation.
    • setProgressMonitor

      default void setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
      Change the monitor used by the promise to detect if the user has requested the cancellation of its computation.