Package org.eclipse.emf.compare.command
Class CommandStackEvent
java.lang.Object
java.util.EventObject
org.eclipse.emf.compare.command.CommandStackEvent
- All Implemented Interfaces:
Serializable
An event that can be passed to
CommandStackListener.commandStackChanged(EventObject)
.- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionCommandStackEvent
(CommandStack commandStack, CommandStackEvent.Operation type) Constructor. -
Method Summary
-
Constructor Details
-
CommandStackEvent
Constructor.- Parameters:
commandStack
- the command stack of the event.type
- the type of event.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getOperation
Returns the type of this event.- Returns:
- the type of this event.
-
toString
- Overrides:
toString
in classEventObject
-