Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » 2.1 M5 not opening new editor on double click of node, 2.0.2 does
2.1 M5 not opening new editor on double click of node, 2.0.2 does [message #174885] Thu, 28 February 2008 13:17 Go to next message
Eclipse UserFriend
I am trying my code on 2.1M5 (from 2.0.2) and noticed when I double
click on a node that used to open a new editor, in 2.1M5 it does not,
and from what I can see it does nothing, it does not hit any of my
breakpoints that 2.0.2 hits when doing the same operation? Any
direction on where to set a breakpoint to see if its just my code base
or if this is truly a bug?

Thanks
Brian Jakubik
Re: 2.1 M5 not opening new editor on double click of node, 2.0.2 does [message #175278 is a reply to message #174885] Mon, 03 March 2008 15:01 Go to previous messageGo to next message
Eclipse UserFriend
Hello Brian,

Try to:
- create new node of the same type and open a diagram for it by double-clicking
- put a break-point into generated OpenDiagramEditPolicy to see what's happening

-----------------
Alex Shatalin
Re: 2.1 M5 not opening new editor on double click of node, 2.0.2 does [message #175307 is a reply to message #175278] Mon, 03 March 2008 18:38 Go to previous messageGo to next message
Eclipse UserFriend
Alex, thanks for the reply.

I have created a new node of the same type, and set breakpoints in
OpenDiagramEditPolicy, and double clicked, I never hit the breakpoint.

I did hit the breakpoint in ***EditPart.createDefaultEditPolicies()
where I am installing OpenDiagramEditPolicy with the OPEN_ROLE when I
dropped the node on the canvas.

Ill look into it a little more in the morning,, then if I don't make
progress, Ill create a bugzilla for it.

Thanks again
Brian J

Alex Shatalin wrote:
> Hello Brian,
>
> Try to:
> - create new node of the same type and open a diagram for it by
> double-clicking
> - put a break-point into generated OpenDiagramEditPolicy to see what's
> happening
>
> -----------------
> Alex Shatalin
>
>
Re: 2.1 M5 not opening new editor on double click of node, 2.0.2 does [message #175315 is a reply to message #175278] Mon, 03 March 2008 18:39 Go to previous message
Eclipse UserFriend
Alex, thanks for the reply.

I have created a new node of the same type, and set breakpoints in
OpenDiagramEditPolicy, and double clicked, I never hit the breakpoint.

I did hit the breakpoint in ***EditPart.createDefaultEditPolicies()
where I am installing OpenDiagramEditPolicy with the OPEN_ROLE when I
dropped the node on the canvas.

Ill look into it a little more in the morning,, then if I don't make
progress, Ill create a bugzilla for it.

Thanks again
Brian J

Alex Shatalin wrote:
> Hello Brian,
>
> Try to:
> - create new node of the same type and open a diagram for it by
> double-clicking
> - put a break-point into generated OpenDiagramEditPolicy to see what's
> happening
>
> -----------------
> Alex Shatalin
>
>
Previous Topic:Properties of Compartment
Next Topic:how to show a svg file in the editor
Goto Forum:
  


Current Time: Mon May 12 15:13:50 EDT 2025

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

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

Back to the top