Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [RCP3] Block Diagram Generating API in Eclipse(Need Prefered Api s to generate Block Diagram in Java Eclipse RCP3)  () 1 Vote
icon8.gif  [RCP3] Block Diagram Generating API in Eclipse [message #1747592] Wed, 16 November 2016 10:48 Go to next message
Sumit Fataniya is currently offline Sumit FataniyaFriend
Messages: 12
Registered: July 2016
Junior Member
Hi,

I am Generated Zest API using "Block Diagram" in Eclipse rcp 3
But that design is not satisfied to client.
iam using below example of zest.
http://www.vogella.com/tutorials/EclipseZest/article.html

The client Imagine is quite different to our design implementation
He wants below like that.
http://unmasadalha.blogspot.in/2016/01/block-diagram.html
Please help me any supporting API s for that design block diagram .
Re: [RCP3] Block Diagram Generating API in Eclipse [message #1747597 is a reply to message #1747592] Wed, 16 November 2016 11:55 Go to previous messageGo to next message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 163
Registered: March 2015
Senior Member
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 #1747942 is a reply to message #1747597] Thu, 17 November 2016 06:10 Go to previous messageGo to next message
surekha somisetty is currently offline surekha somisettyFriend
Messages: 18
Registered: April 2016
Junior Member
Hi Matthias Wienand,

Thank you for u r reply, Actually we want just like Zest but that design client not consider , he needs http://unmasadalha.blogspot.in/2016/01/block-diagram.html this type of block diagrams, we are in confuse to how to start .
We want to generate my values dynamically on editor part of eclipse rcp 3 , user can select tree items as like zest give me an idea to how to design as per client requirement on eclipse rcp 3 editor.
Note : we don't want to design GEF editor use drag and drop

Thank you.


Re: [RCP3] Block Diagram Generating API in Eclipse [message #1747979 is a reply to message #1747942] Thu, 17 November 2016 12:22 Go to previous messageGo to next message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 163
Registered: March 2015
Senior Member
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
Re: [RCP3] Block Diagram Generating API in Eclipse [message #1748046 is a reply to message #1747979] Fri, 18 November 2016 05:54 Go to previous messageGo to next message
surekha somisetty is currently offline surekha somisettyFriend
Messages: 18
Registered: April 2016
Junior Member
Thank you for your valuable reply, Please provide any source code example link , for reference , That is help full to us and we will get some idea on that .

Thank You So Much
Re: [RCP3] Block Diagram Generating API in Eclipse [message #1748060 is a reply to message #1748046] Fri, 18 November 2016 09:26 Go to previous messageGo to next message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 163
Registered: March 2015
Senior Member
For sure I can give you some pointers:
- GEF 5.x Milestone Builds: http://download.eclipse.org/tools/gef/updates/milestones
- Using JavaFX CSS to customize the styling of Zest (maybe sufficient or a good starting point): https://github.com/eclipse/gef/wiki/Zest#customizing-styles
- Zest CustomNodePart example (needed if CSS styling is insufficient): https://github.com/eclipse/gef/wiki/Zest-Examples#jfacecustomnodeexample
- MVC Logo example (contains palette for object creation): https://github.com/eclipse/gef/tree/master/org.eclipse.gef.mvc.examples.logo/src/org/eclipse/gef/mvc/examples/logo

Best regards,
Matthias
Re: [RCP3] Block Diagram Generating API in Eclipse [message #1748148 is a reply to message #1748060] Sat, 19 November 2016 05:07 Go to previous messageGo to next message
Sumit Fataniya is currently offline Sumit FataniyaFriend
Messages: 12
Registered: July 2016
Junior Member
Hi Matthias Wienand,
My application purely based on the Eclipse RCP ,SWT, Jface ,GEF,zest.
So how can I use javaFX CSS into application? and can I used only SWT is this possible? Or so is there any other solution.

[Updated on: Sat, 19 November 2016 06:45]

Report message to a moderator

Re: [RCP3] Block Diagram Generating API in Eclipse [message #1748212 is a reply to message #1748148] Mon, 21 November 2016 09:05 Go to previous message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 163
Registered: March 2015
Senior Member
As long as you are unable to tell me which version of GEF and Zest you are using, I cannot give you specific help. If you are using GEF-Legacy (3.x), then you need to use SWT for the visualization. Otoh, if you are using GEF4 1.x or GEF 5.x, then you need to use JavaFX for the visualization. For information on how to style JavaFX visuals with CSS, please refer to the JavaFX CSS reference guide [1].

[1] https://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html

Best regards,
Matthias
Previous Topic:[Zest] Background information
Next Topic:How to modify GEF Shapes example
Goto Forum:
  


Current Time: Tue Sep 25 01:02:21 GMT 2018

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

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

Back to the top