Package com.e1c.langtool.sync
Class StateChangeEvent
java.lang.Object
java.util.EventObject
com.e1c.langtool.sync.StateChangeEvent
- All Implemented Interfaces:
Serializable
The Class StateChangeEvent.
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionStateChangeEvent(SynchronizationManager source, org.eclipse.core.resources.IProject project, EqualityState oldState, EqualityState newState) Instantiates a new state change event. -
Method Summary
Modifier and TypeMethodDescriptionGets the synchronization manager whitch sent this event.Gets the new state.Gets the old state.org.eclipse.core.resources.IProjectGets the translated project for witch the state has changed.Methods inherited from class java.util.EventObject
getSource, toString
-
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 sourceproject- the projectoldState- the old statenewState- the new state
-
-
Method Details
-
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
Gets the old state.- Returns:
- the oldState
-
getNewState
Gets the new state.- Returns:
- the newState
-