Open sub-editor on link double-click [message #202039] |
Thu, 14 August 2008 23:14  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02651 seconds