Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Diagram partitioning sharing an editing domain
Diagram partitioning sharing an editing domain [message #643802] Wed, 08 December 2010 10:44 Go to next message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member
Hi toolsmiths,

im looking for a way to create a GMF editor, when i double click on certain nodes to edit their contents, i was able to do so, accordings to http://www.jevon.org/wiki/GMF_Diagram_Partitioning, but the idea is that i want to retrieve all the contents of the node in the new editor (like using a zoom) Rolling Eyes

any ideas?
thanks
Re: Diagram partitioning sharing an editing domain [message #643847 is a reply to message #643802] Wed, 08 December 2010 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marius.groeger.googlemail.com

On 08.12.2010 11:44, Elhamlaoui Mahmoud wrote:
> Hi toolsmiths,
>
> im looking for a way to create a GMF editor, when i double click on
> certain nodes to edit their contents, i was able to do so, accordings to
> http://www.jevon.org/wiki/GMF_Diagram_Partitioning, but the idea is that
> i want to retrieve all the contents of the node in the new editor (like
> using a zoom) :roll:
> any ideas?

I don't quite understand, if you implemented what's shown on that web
page you should be having a second editor showing the original node's
contents. Which part does not work?

Marius
Re: Diagram partitioning sharing an editing domain [message #643859 is a reply to message #643847] Wed, 08 December 2010 14:00 Go to previous messageGo to next message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member
Hi marius,

yes, but in my fisrt editor i can display several nodes and their contents(also), but when i double click on a node i dlike to have a second editor containing the node selected and its contents. its like thet the second editor display just parts of the fisrt editor
Re: Diagram partitioning sharing an editing domain [message #643892 is a reply to message #643859] Wed, 08 December 2010 15:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marius.groeger.googlemail.com

On 08.12.2010 15:00, Elhamlaoui Mahmoud wrote:
> Hi marius,
>
> yes, but in my fisrt editor i can display several nodes and their
> contents(also), but when i double click on a node i dlike to have a
> second editor containing the node selected and its contents. its like
> thet the second editor display just parts of the fisrt editor

But the diagram partitioning example does exactly that - open a second
editor where the root element is the one you double-clicked. The only
difference I see is that in you main editor you also show the contents
of that element. But that should be no problem, IMHO.

Sorry if I keep misreading you...

Regards
Marius
Re: Diagram partitioning sharing an editing domain [message #643903 is a reply to message #643892] Wed, 08 December 2010 16:27 Go to previous messageGo to next message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member
Hi,
Quote:
The only difference I see is that in you main editor you also show the contents
of that element.
, sure and the second differance, the second editor must load automaticclay the contents elements of the first editor, ad that is my real problem ):
Re: Diagram partitioning sharing an editing domain [message #643925 is a reply to message #643903] Wed, 08 December 2010 16:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marius.groeger.googlemail.com

On 08.12.2010 17:27, Elhamlaoui Mahmoud wrote:
> Hi,
> Quote:
>> The only difference I see is that in you main editor you also show the
>> contents of that element.
> , sure and the second differance, the second editor must load
> automaticclay the contents elements of the first editor, ad that is my
> real problem ):

Strange, I would have thought that theses editors operate on the same
model/editing domain, so they should be synchronized. Do objects you
create in the second editor appear in the first?

I'll probably won't be able to really help you on this...
Marius
Re: Diagram partitioning sharing an editing domain [message #643934 is a reply to message #643925] Wed, 08 December 2010 18:03 Go to previous message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member
Hi marius,
unfortunately no, i have tested different solutions but without significant result
Previous Topic:Problem after generating Diagram code from the *.gmfgen
Next Topic:How to create an image viewer integrated to GMF-based editors
Goto Forum:
  


Current Time: Fri Apr 26 08:28:53 GMT 2024

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

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

Back to the top