Interface EditingChangeManager

All Known Subinterfaces:
ChangeManager, SourceChangeManager
All Known Implementing Classes:
InMemoryChangeManagerProxy, SourceChangeManagerWrapper

public interface EditingChangeManager
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds the post change listener.
    void
    Clear all changes in the manager.
    void
    Dispose change manager.
    boolean
    Checks if the change manager is disposed.
    boolean
    Checks if the change manager is muted of sending event notifications.
    void
    markToRemove(org.eclipse.core.resources.IFile file)
    Mark the file to remove in translated project.
    void
    markToRemove(org.eclipse.core.runtime.IPath fullPath)
    Mark the file (its full path) to remove in translated project.
    void
    markToSynchronize(org.eclipse.core.resources.IFile file)
    Mark the file to synchronize to translated project if it exists.
    void
    markToSynchronize(org.eclipse.core.runtime.IPath fullPath)
    Mark the file (its full path) to synchronize to translated project.
    void
    moved(org.eclipse.core.resources.IFile from, org.eclipse.core.resources.IFile to)
    Mark file as moved to enother place.
    void
    Mute event notification.
    void
    Removes the post change listener.
    void
    Unmute the change manager to send event notifications.
    void
    Unmute the change manager to send event notifications and notify an event.
  • Method Details

    • dispose

      void dispose()
      Dispose change manager.
    • isDisposed

      boolean isDisposed()
      Checks if the change manager is disposed.
      Returns:
      true, if the manager is disposed
    • clear

      void clear()
      Clear all changes in the manager.
    • mute

      void mute()
      Mute event notification.
    • isMuted

      boolean isMuted()
      Checks if the change manager is muted of sending event notifications.
      Returns:
      true, if the change manager is muted
    • unmute

      void unmute()
      Unmute the change manager to send event notifications.
    • unmute

      void unmute(ChangeEvent event)
      Unmute the change manager to send event notifications and notify an event.
      Parameters:
      event - the event
    • markToSynchronize

      void markToSynchronize(org.eclipse.core.resources.IFile file)
      Mark the file to synchronize to translated project if it exists. Call this method equivalent to call:
        if (!file.isAccesseble())
            return;
        markToSynchronize(file.getFullPath());
       
      Parameters:
      file - the file to synchronize
      See Also:
    • moved

      void moved(org.eclipse.core.resources.IFile from, org.eclipse.core.resources.IFile to)
      Mark file as moved to enother place.
      Parameters:
      from - the from file
      to - the to file
    • markToRemove

      void markToRemove(org.eclipse.core.resources.IFile file)
      Mark the file to remove in translated project.
      Parameters:
      file - the file
    • markToSynchronize

      void markToSynchronize(org.eclipse.core.runtime.IPath fullPath)
      Mark the file (its full path) to synchronize to translated project.
      Parameters:
      fullPath - the full path
    • markToRemove

      void markToRemove(org.eclipse.core.runtime.IPath fullPath)
      Mark the file (its full path) to remove in translated project.
      Parameters:
      fullPath - the full path
    • addPostChangeListener

      void addPostChangeListener(PostChangeListener listener)
      Adds the post change listener.
      Parameters:
      listener - the listener
    • removePostChangeListener

      void removePostChangeListener(PostChangeListener listener)
      Removes the post change listener.
      Parameters:
      listener - the listener