Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Open sub-editor on link double-click
Open sub-editor on link double-click [message #202039] Thu, 14 August 2008 23:14 Go to next message
Eclipse UserFriend
Hi,

To my GMF editor I tried to add a sub-editor to open when
double-clicking a link (not just a node). I followed the normal
procedure using OpenDiagramBehaviours but it didn't work, until I
noticed that this code was not being placed in the ViewFactory for the Link:

{
HintedDiagramLinkStyle diagramFacet = NotationFactory.eINSTANCE
.createHintedDiagramLinkStyle();
diagramFacet.setHint("Diagram_Sub"); // $NON-NLS-1$
styles.add(diagramFacet);
}

This code was added into the ViewFactory for a Node but not an Edge.
Once I added this code and made a new diagram the editor worked as
planned. Is this a bug or am I missing something?

Thanks

Jevon
Re: Open sub-editor on link double-click [message #202079 is a reply to message #202039] Fri, 15 August 2008 04:40 Go to previous message
Eclipse UserFriend
Hello Jevon,

Looks like a bug. Can you please submitt a bugzilla entry for it?

-----------------
Alex Shatalin
Previous Topic:Shadow Nodes
Next Topic:Tree Connection Router
Goto Forum:
  


Current Time: Mon May 12 17:41:42 EDT 2025

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

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

Back to the top