Interface ChangeManager

All Superinterfaces:
EditingChangeManager
All Known Implementing Classes:
InMemoryChangeManagerProxy

public interface ChangeManager extends EditingChangeManager
  • Method Details

    • initialize

      void initialize(org.eclipse.core.runtime.IProgressMonitor monitor)
      Initialize the change manager to accept changes. Clients must call this method must explicitly before use this manager in synchronization to get content from getFilesToUpdate() or from getFilesToRemove(). Calling this method several times has no effect if it is already initialized.
      Parameters:
      monitor - the monitor
      See Also:
    • isInitialized

      boolean isInitialized()
      Checks if the manager is initialized.
      Returns:
      true, if the manager is initialized
    • getFilesToUpdate

      Collection<org.eclipse.core.runtime.IPath> getFilesToUpdate()
      Gets the full path of files to update.
      Returns:
      the collection of full path of files to update
    • getFilesToRemove

      Collection<org.eclipse.core.runtime.IPath> getFilesToRemove()
      Gets the full path of files to remove.
      Returns:
      the collection of full path of files to remove
    • markSynchronized

      void markSynchronized(org.eclipse.core.runtime.IPath fullPath)
      Mark the file as synchronized with target project.
      Parameters:
      fullPath - the full path, cannot be null.
    • markRemoved

      void markRemoved(org.eclipse.core.runtime.IPath fullPath)
      Mark the file as removed in target project.
      Parameters:
      fullPath - the full path, cannot be null.