Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Diagram partitioning (double click) and intializing the sub-diagram(PLEASE HELP! IT'S URGENT)
icon9.gif  Diagram partitioning (double click) and intializing the sub-diagram [message #533736] Sun, 16 May 2010 12:21 Go to next message
hejer  is currently offline hejer Friend
Messages: 4
Registered: May 2010
Junior Member
Hello, (sorry for my poor english)
I'm working in an editor with GMF and i'm new on it. I have a problem that i should solve as soon as possible!!!
SO, here is the situation:
I have a diagram which contains an element "components" , when i double click on it, another diagram should be open in which is initialized some elements :" activities", "roles", ...

The double click works, and when i was working on the sub-diagram only, elements are initialized without problem.
But when i link between the two diagrams, elements "activites, roles".. are not initialized when i double click !!

DO YOU HAVE ANY IDEA??

HELP, PLEASEEEE

Thanks Sad
Re: Diagram partitioning (double click) and intializing the sub-diagram [message #533745 is a reply to message #533736] Sun, 16 May 2010 15:20 Go to previous messageGo to next message
hejer  is currently offline hejer Friend
Messages: 4
Registered: May 2010
Junior Member
Any idea please????!!!!
Re: Diagram partitioning (double click) and intializing the sub-diagram [message #533878 is a reply to message #533745] Mon, 17 May 2010 11:19 Go to previous messageGo to next message
Jeno Jeyakumar Nathaniel is currently offline Jeno Jeyakumar NathanielFriend
Messages: 18
Registered: April 2010
Junior Member
Hi hejer,

I am not very clear about the problem.

Do you mean the sub diagram is not opening on double clicking the node?

If yes ,Please check the following,

In the .gmfgen of the sub diagram,
-have you changed the ModelID,ID,unique Editor ID

Also in the .gmfgen of the main diagram,
- added the Opendiagram behaviour's Diagram Kind with model ID of the subdiagram
- added the Opendiagram behaviour's Editor ID with unique Editor ID of the subdiagram.
- Modified the Edit Policy Class Namewith unique name.


Regards,
Jeno J
Re: Diagram partitioning (double click) and intializing the sub-diagram [message #533979 is a reply to message #533878] Mon, 17 May 2010 15:24 Go to previous messageGo to next message
hejer  is currently offline hejer Friend
Messages: 4
Registered: May 2010
Junior Member
No,
The diagram is opening when i double click. But i need this diagram to be initialized by default with some elements.
Re: Diagram partitioning (double click) and intializing the sub-diagram [message #534986 is a reply to message #533979] Thu, 20 May 2010 22:03 Go to previous messageGo to next message
hejer  is currently offline hejer Friend
Messages: 4
Registered: May 2010
Junior Member
Still have no idea?
Re: Diagram partitioning (double click) and intializing the sub-diagram [message #535001 is a reply to message #534986] Fri, 21 May 2010 01:01 Go to previous messageGo to next message
bachra04  is currently offline bachra04 Friend
Messages: 148
Registered: April 2010
Senior Member
It is difficult to answer the question like that. I suggest that you put break point and debug your application to see why the initialization didn't happen
Re: Diagram partitioning (double click) and intializing the sub-diagram [message #535031 is a reply to message #534986] Fri, 21 May 2010 06:57 Go to previous message
Sven Krause is currently offline Sven KrauseFriend
Messages: 119
Registered: July 2009
Senior Member
Am 21.05.2010 00:03, schrieb hejer:
> Still have no idea?

The problem might be the same as some other people reports for opening
diagrams the first time. A solution is mentioned within the thread too.
http://www.eclipse.org/forums/index.php?t=msg&&th=16 2860&goto=515207#msg_515207

Sven
Previous Topic:Open GMF Project from Ganymede Version to Galileo Version
Next Topic:Label Maping for a class
Goto Forum:
  


Current Time: Wed May 22 04:12:51 GMT 2024

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

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

Back to the top