Class ContextDefCacheCleaner

java.lang.Object
com.e1c.langtool.v8.dt.ContextDefCacheCleaner

public class ContextDefCacheCleaner extends Object
Clears ContextDef caches when project's environment settings are changed.
  • Constructor Details

    • ContextDefCacheCleaner

      public ContextDefCacheCleaner()
  • Method Details

    • init

      public void init(IContextDefCacheProviderCleanable cacheProvider, org.eclipse.core.resources.IProject project, boolean isRussian)
      Adds listeners to project preferences.
      Parameters:
      cacheProvider - the cache provider, cannot be null
      project - the project, cannot be null
      isRussian - the is russian script variant in the project
    • dispose

      public void dispose(org.eclipse.core.resources.IProject project)
      Removes listeners from project preferences
      Parameters:
      project - the project, cannot be null