Class ExternalHtmlPageDependentContentComputer

java.lang.Object
com.e1c.langtool.v8.dt.htmldocument.sync.ExternalHtmlPageDependentContentComputer
All Implemented Interfaces:
DependentContentComputer

public class ExternalHtmlPageDependentContentComputer extends Object implements DependentContentComputer
  • Constructor Details

    • ExternalHtmlPageDependentContentComputer

      public ExternalHtmlPageDependentContentComputer()
  • Method Details

    • computeDependentContentToSynchronize

      public Collection<org.eclipse.core.resources.IFile> computeDependentContentToSynchronize(org.eclipse.core.resources.IFile source, boolean sourceRemoved, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: DependentContentComputer
      Compute dependent content to synchronize.
      Specified by:
      computeDependentContentToSynchronize in interface DependentContentComputer
      Parameters:
      source - the source
      sourceRemoved - the flag was the source removed, if true computer provides content that need to synchronize when the source removed.
      monitor - the monitor
      Returns:
      the collection of dependent content to synchronize
    • computeDependentContentToRemove

      public Collection<org.eclipse.core.resources.IFile> computeDependentContentToRemove(org.eclipse.core.resources.IFile source, boolean sourceRemoved, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: DependentContentComputer
      Compute dependent content to remove if source file has changed or removed.
      Specified by:
      computeDependentContentToRemove in interface DependentContentComputer
      Parameters:
      source - the source
      sourceRemoved - if true, source file removed and computer provides content that also to be removed, if false computer provides content to remove when source file has updated.
      monitor - the monitor
      Returns:
      the collection of files to be removed