Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » creating link elements in a different file
creating link elements in a different file [message #16896] Mon, 14 August 2006 00:56 Go to next message
Eclipse UserFriend
Hi,

I have a requirement where in, I would like to provide an option of
saving an element added to an editor be saved in a different file. Can
this be done?

What I am trying to say is something like this:

file1.xml
<root>
<name id='1'>1</name>
<name id='2'>2</name>
</root>

file2.xml
<root ref='file1.xml'>
<name ref='1'/>
<name ref='2'/>
</root>

The requirement is I have these elements created in the first file
file1.xml. when creating the link elements I would like to have them to be
created in another file. How can I implement this?

Please help!!!

Thanks & Regards
Balraj
Re: creating link elements in a different file [message #19803 is a reply to message #16896] Tue, 15 August 2006 14:01 Go to previous message
Eclipse UserFriend
Hello Balraj,

Can you use shortcutting functionality to separate one part of the model
from another? see http://wiki.eclipse.org/index.php/GMF_GenModel_Hints#Diagram _group,
"Contains Shortcuts To" and "Shortcuts Provided For" properties.
-----------------
Alex Shatalin
Previous Topic:Providing Links across different documents in the Runtime
Next Topic:GMF training
Goto Forum:
  


Current Time: Sun May 25 09:19:52 EDT 2025

Powered by FUDForum. Page generated in 0.04197 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top