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 Summary

    Modifier and Type
    Method
    Description
    void
    setMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
    Set the monitor for the given name environment.

    Methods inherited from interface INameEnvironment

    cleanup, findType, findType, isPackage
    Modifier and Type
    Method
    Description
    void
    This method cleans the environment.
    findType(char[][] compoundTypeName)
    Find a type with the given compound name.
    findType(char[] typeName, char[][] packageName)
    Find a type named <typeName> in the package <packageName>.
    boolean
    isPackage(char[][] parentPackageName, char[] packageName)
    Answer whether packageName is the name of a known subpackage inside the package parentPackageName.

    Methods inherited from interface INameEnvironmentExtension

    findType, findType
    Modifier and Type
    Method
    Description
    findType(char[] typeName, char[][] packageName, boolean searchWithSecondaryTypes)
     
    findType(char[] typeName, char[][] packageName, boolean searchWithSecondaryTypes, char[] moduleName)
    Find a type named <typeName> in the package <packageName>.
  • 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