Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Weird OpenDiagram behavior
Weird OpenDiagram behavior [message #188959] Fri, 23 May 2008 09:25 Go to next message
Eclipse UserFriend
Originally posted by: zippo29.hotmail.fr

Hi!

I add an open diagram behavior to a node. In the new diagram editor i
added also an open diagram behavior.

For the first case it works well but for the second the editor refuses to
open the new editor if I don't select the palette element corresponding to
the figure displayed. To make it clearer:

1. I display a figure in the editor
2. I double clik on displayed figure
=> Nothing happened

1. I display a figure in the editor
2. I choose the creation tool in the palette like if i am trying to create
a new one
2. I double clik on the displayed figure
=> The editor opens

Is it made like this on purpose ? Why is it working well the first time
and no the second ? Is it because it is a "sub editor" of a "sub editor" ?
Note that I checked the OpenDiagramEditPolicy classes and they are exactly
alike.

I am thankfull for any help.
Re: Weird OpenDiagram behavior [message #189010 is a reply to message #188959] Fri, 23 May 2008 10:34 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Mous,

You can debug OpenDiagramEditPolicy to see the problem.

-----------------
Alex Shatalin
RESOLVED [message #190440 is a reply to message #189010] Mon, 02 June 2008 07:24 Go to previous message
Eclipse UserFriend
Originally posted by: zippo29.hotmail.fr

The problem was that I did not add a griddata to my label!
I noticed also that if i double clik on the name of a package in the ecore
editor But when i used the same method that i had described i-e clik on
the tool then double clik on the figure it opens the package sub-editor.
Previous Topic:Taipan example diagnosis
Next Topic:Is a metamodel without a root node supported ?
Goto Forum:
  


Current Time: Sun May 05 01:57:30 GMT 2024

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

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

Back to the top