|
Re: [RCP3] Block Diagram Generating API in Eclipse [message #1747597 is a reply to message #1747592] |
Wed, 16 November 2016 11:55 |
|
Hi Sumit,
what are your expectations? What do you want to do? Why do you need assistance?
The old Eclipse Zest can be used for graph rendering. Customizing the visualization can be done by using custom figures for rendering nodes and connections, for example, when using a label-provider, you can also implement IFigureProvider.
The current GEF Zest can also be customized. However, now you need to implement a CustomNodePart that extends the default NodePart and ensure the CustomNodePart is constructed by the content-part-factory instead of NodePart if needed.
Best regards,
Matthias
|
|
|
|
Re: [RCP3] Block Diagram Generating API in Eclipse [message #1747979 is a reply to message #1747942] |
Thu, 17 November 2016 12:22 |
|
Well, GEF 3.x Zest is only suited for graph rendering, but not for editor functionality. As you need to develop a graphical editor, I would suggest using the latest GEF 5.0.0 Zest (current milestone release M3). Then, you can implement JavaFX-based visualizations for the different styles of block diagram nodes and edges. These can be used within custom NodePart and EdgePart implementations to render nodes and edges of a graph. In order to insert/remove nodes and edges, you could implement some kind of palette. For an example of how to implement a fly-out palette, you can take a look at the "Logo Example" that is shipped with GEF.
Best regards,
Matthias
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03536 seconds