Listening for Data Selection Events

The Data Selector can listen for data selection events as well as sending data selection events. Data selection event listening is enabled by clicking the OpenSpirit event listing icon EventListeningOffIcon.gif in the Data Selector tool bar. The icon changes to display a lightning bolt EventListeningOnIcon.gif to indicate that event listening is enabled. Data selection events sent from other applications cause rows to be added to corresponding data type views in the Data Selector. Rows of data added by data selection event reception appear with a lightning bolt icon LightningBoltIcon.gif in the left-most column.

ReceivedDataSelectionEventRows.jpg

Data selection events that refer to data that resides in data sources that are not in the Data Selectors current data source selection scope causes a question window to appear.

Pressing the Yes button causes the Data Selector's data source selection to be expanded to include all data sources referenced in the received event. Pressing the No button causes the received event to be ignored.

UnselectedProjectsQuestionDialog.jpg

Tip: The Data Selector only listens for selection events containing data keys that are for data types that belong to the data model that is being viewed. For example, if the Data Selector is viewing data types that belong to the OpenWorks native model and data selection listening is turned on, selection events for OpenSpirit common model data types are ignored. The event sender and the event receiver must both be working with the same data model type and version.