Interface INameEnvironmentWithProgress

All Superinterfaces:
INameEnvironment, INameEnvironmentExtension
All Known Implementing Classes:
CancelableNameEnvironment

public interface INameEnvironmentWithProgress extends INameEnvironmentExtension
The name environment provides a callback API that the compiler can use to look up types, compilation units, and packages in the current environment. The name environment is passed to the compiler on creation. This name environment can be canceled using the monitor passed as an argument to setMonitor(IProgressMonitor).
Since:
3.6
  • Method Details

    • setMonitor

      void setMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
      Set the monitor for the given name environment. In order to be able to cancel this name environment calls, a non-null monitor should be given.
      Parameters:
      monitor - the given monitor