Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sapphire » Sharing Model (Sharing Model with Navigator Content Nodes)
Sharing Model [message #895072] Wed, 11 July 2012 11:25 Go to previous message
Kamesh Sampath is currently offline Kamesh Sampath
Messages: 213
Registered: July 2009
Senior Member
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
 
Read Message
Read Message
Read Message
Previous Topic:How to run the examples?
Next Topic:Sapphire on Git
Goto Forum:
  


Current Time: Sat May 25 00:15:10 EDT 2013

Powered by FUDForum. Page generated in 0.01588 seconds