Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Providing Links across different documents in the Runtime
Providing Links across different documents in the Runtime [message #15804] Fri, 11 August 2006 10:44 Go to next message
Eclipse UserFriend
Originally posted by: ganesh.mohan.hp.com

Hello,

Usin my GMF runtime is it possible to refer from one file to another file.

example: suppose i have a graphical editor for writing xml application.

say:

File 1:

<Root1>
<NodeB>reference to some other (NodeC) node in file2></Node>
.......
</Root>

File 2:

<Root2>
<NodeC>..........</Node>
</Root>

My question is :

a) Is it possible after droping NodeB on the editor, we can add a new
wizard to create File2 with NodeC whose root <Root2> refers to Root1.

b) Is it possible to provide a link from NodeB to NodeC in File2.

If any of these is possible, can you please explain how it can done.

Thanx,
Ganesh
Re: Providing Links across different documents in the Runtime [message #17102 is a reply to message #15804] Mon, 14 August 2006 10:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: senthil.periasamy.flextronicssoftware.com

hi ganesh are you from india you have any reference docs or links for GMF
please let me know.

regards
senthil
Re: Providing Links across different documents in the Runtime [message #19766 is a reply to message #15804] Tue, 15 August 2006 17:32 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Ganesh,

> a) Is it possible after droping NodeB on the editor, we can add a new
> wizard to create File2 with NodeC whose root <Root2> refers to Root1.
Check XXXItemSemanticEditPolicy generated for diagram - the code responsible
for creating NodeB is located there, so you can patch it.

> b) Is it possible to provide a link from NodeB to NodeC in File2.
Yes. Such a links are supported by EMF.

-----------------
Alex Shatalin
Previous Topic:ShortCuts for Edges?
Next Topic:creating link elements in a different file
Goto Forum:
  


Current Time: Sat Oct 19 17:58:14 GMT 2024

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

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

Back to the top