Home » Eclipse Projects » GEF » Where are the arrow heads?([ZEST])
|
Re: Where are the arrow heads? [message #1749662 is a reply to message #1749619] |
Fri, 09 December 2016 09:57   |
|
Hi Thomas,
thank you for sharing your findings. The arrows vanished when we introduced properties (ZestProperties) for source and target decorations, because the example graph that is displayed by the "Zest Graph Example" does not set these properties. I filed a Bugzilla ticket for the issue [1]. Moreover, the documentation that is available in the Eclipse Wiki is not updated anymore, because it was migrated to GitHub where it is now maintained [2]. However, even there, the images are out-of-date, so I filed another Bugzilla ticket for updating the images in the documentation [3]. Feel free to add a comment to the last ticket if you encounter more inconsistencies w.r.t. the documentation. Also, if you find a bug while playing with the example, feel free to file another Bugzilla ticket [4]. You can subscribe to the tickets to receive notifications when they are updated, but I will also reply again when the arrows are back 
[1] Bring back arrows in the Zest Graph Example: https://bugs.eclipse.org/bugs/show_bug.cgi?id=508960
[2] GEF Wiki @ GitHub: https://github.com/eclipse/gef/wiki
[3] Update images in the wiki: https://bugs.eclipse.org/bugs/show_bug.cgi?id=508959
[4] File a Bugzilla ticket for GEF: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GEF
Best regards,
Matthias
|
|
| |
Re: Where are the arrow heads? [message #1749669 is a reply to message #1749665] |
Fri, 09 December 2016 11:01   |
|
The arrows are back on the master branch. The relevant code is within ZestGraphExample where the example graph is constructed. I added a method e(Node,Node) that creates an edge and sets its target decoration:
private static Edge e(Node n, Node m) {
return e(n, m, ZestProperties.TARGET_DECORATION__E, new javafx.scene.shape.Polygon(0, 0, 10, 3, 10, -3),
ZestProperties.TARGET_DECORATION_CSS_STYLE__E, "-fx-fill: white;");
}
Best regards,
Matthias
|
|
| |
Goto Forum:
Current Time: Wed Nov 29 06:41:18 GMT 2023
Powered by FUDForum. Page generated in 0.01591 seconds
|