Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Wtp-wst-dev] Synchronizing SSE and EMF models

I have a need to use both an SSE model and an EMF model in a multi-page editor (the "Source" tab will contain the SSE-based XML editor and other tabs will contain editors that are driven off an EMF model). I realize that this is a very broad-reaching question, but what is the general approach to keep the SSE model and the EMF model synchronized?
 
I see classes in packages "org.eclipse.jst.j2ee.internal.emf2xml.sed" and "org.eclipse.wst.common.internal.emf.resource" (particularly TranslatorResource) that appear to provide some (or all?) of the functionality that I will need - I'm just having a hard time understanding the general flow and how to initialize and use these objects to perform the synchronization that I require.
 
Any help would be much appreciated. If someone could provide some form of high-level overview, then I'll be more capable of drilling down and hopefully will be able to derive more specific follow-up questions.
 
Thanks in advance,
 - Ian (working on the JSF project)
 
------------------------------------------------------------
Ian Trimble
JDeveloper Group
Oracle Corporation Canada Inc.
Office: (250) 954-0837
------------------------------------------------------------
This email may contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies.
 

Back to the top