|Adding listener to a ListSelectionService from outside Sapphire? [message #1008459]
||Tue, 12 February 2013 10:22
| Ellen Badgley
Registered: October 2012
First of all: Sapphire is pretty darn amazing and is substantially changing the way we do XML editing within several projects. Kudos!|
On to my question:
I'm in a situation where I need to link a separate View with my Sapphire editor, such that changes to the model in one are reflected instantly in the other, and vice-versa. (For more details: Sapphire is used to edit a model that defines several geolocated objects, and we have a Worldwind-based view that can be used to edit the locations and characteristics of the model objects as well.) I'm finding it difficult to locate examples of this kind of interaction to build from.
As a simple use case: we have a list property editor used to define a list of sensors, and selecting a sensor from the list should cause the corresponding object in the Worldwind view to be highlighted (and vice-versa).
Is there a recommended way to locate the correct ISapphirePart for access to the ListSelectionService, so that I can add an external listener for the selection change?
Powered by FUDForum
. Page generated in 0.01588 seconds