Class PlottingSystemUpdateEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
uk.ac.gda.client.live.stream.event.LiveStreamEvent
uk.ac.gda.client.live.stream.event.PlottingSystemUpdateEvent
- All Implemented Interfaces:
Serializable,RootCompositeAware
Published by a component to communicate it created a
IPlottingSystem.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPlottingSystemUpdateEvent(Object source, UUID rootComposite, IPlottingSystem<org.eclipse.swt.widgets.Composite> plottingSystem) -
Method Summary
Modifier and TypeMethodDescriptionIPlottingSystem<org.eclipse.swt.widgets.Composite> Returns the root component for the element which publishes this eventMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface uk.ac.gda.client.event.RootCompositeAware
haveSameParent
-
Constructor Details
-
PlottingSystemUpdateEvent
public PlottingSystemUpdateEvent(Object source, UUID rootComposite, IPlottingSystem<org.eclipse.swt.widgets.Composite> plottingSystem) - Parameters:
source- the object which published the eventrootComposite- the id of the root parent composite, eventuallynullif the composite has no root parentplottingSystem- the new plotting system
-
-
Method Details
-
getRootComposite
Description copied from interface:RootCompositeAwareReturns the root component for the element which publishes this event- Specified by:
getRootCompositein interfaceRootCompositeAware- Returns:
- a component unique id
-
getPlottingSystem
-