Sharing Model [message #895072] |
Wed, 11 July 2012 11:25  |
Eclipse User |
|
|
|
Hello,
First of all thanks for the wonderful Sapphire 0.5.1 relases. Hats of for you all hard work.
Back to business, I am developing Navigator for my project, I have developed a SapphireXML editor, my navigator will show the nodes of the xml file that uses Sapphire XML editor as default editor. The user will be able to open the XML file form the Navigator nodes --> Trigger Sapphire XML Editor opening.
Now the problem is that I am not able to trigger selections from my Navigatore nodes and Sapphire MasterDetailContentNodes, after debugging I found out that there two different object tree is available 1. created by sapphire 2. another one i loaded when in my navigator tree, so naturally I cant fire MasterDetailContentNode.findByModelElement(myNavigatorSelectedModelElement), i resorted to manual comparison caseting objects and then doing by ID property.
Is there any better way to do the slection synch ? somethign like how OutlineViewer and SapphireEditor Nodes are synched ..
~Kamesh
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06043 seconds