Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Open sub-editor on link double-click
Open sub-editor on link double-click [message #202039] Fri, 15 August 2008 03:14 Go to next message
Jevon  is currently offline Jevon Friend
Messages: 164
Registered: July 2009
Senior Member
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 08:40 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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: Tue Apr 16 23:31:37 GMT 2024

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

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

Back to the top