Class StateChangeEvent

java.lang.Object
java.util.EventObject
com.e1c.langtool.sync.StateChangeEvent
All Implemented Interfaces:
Serializable

public class StateChangeEvent extends EventObject
The Class StateChangeEvent.
See Also:
  • Constructor Details

    • StateChangeEvent

      public StateChangeEvent(SynchronizationManager source, org.eclipse.core.resources.IProject project, EqualityState oldState, EqualityState newState)
      Instantiates a new state change event.
      Parameters:
      source - the source
      project - the project
      oldState - the old state
      newState - the new state
  • Method Details

    • getManager

      public SynchronizationManager getManager()
      Gets the synchronization manager whitch sent this event.
      Returns:
      the manager
    • getProject

      public org.eclipse.core.resources.IProject getProject()
      Gets the translated project for witch the state has changed.
      Returns:
      the project
    • getOldState

      public EqualityState getOldState()
      Gets the old state.
      Returns:
      the oldState
    • getNewState

      public EqualityState getNewState()
      Gets the new state.
      Returns:
      the newState