Weird OpenDiagram behavior [message #188959] |
Fri, 23 May 2008 09:25 |
Eclipse User |
|
|
|
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.
|
|
|
|
RESOLVED [message #190440 is a reply to message #189010] |
Mon, 02 June 2008 07:24 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03520 seconds