Using GEF for a Track Planning system? [message #1870515] |
Sat, 31 August 2024 15:46 |
Christian Eugster Messages: 214 Registered: July 2009 Location: St. Gallen Switzerland |
Senior Member |
|
|
Hi
I want to implement a track planning system. With it it should be possible to draw Tracklayouts for model railways. Before I start from scratch I want to ask, if gef could be a propriate tool for doing this. I have no experiences with gef, but with eclipse, swt, jface. If yes, could you propose first steps to start.
The idea is to have some hardcoded components like straight tracks, curved tracks, switches, crossings with given sizes and forms (e.g. as a library). These components can be put together to get a track layout.
Thanks
Christian
[Updated on: Sun, 01 September 2024 04:40] Report message to a moderator
|
|
|
Re: Using GEF for a Track Planning system? [message #1870587 is a reply to message #1870515] |
Tue, 03 September 2024 17:54 |
|
Hi,
If you have a set of fixed elements that you would like to arrange on a graphical canvas I think GEF is well suited for you. However you have to options. Either GEF Classic or GEF 5. With the information given it is hard to say which of the two is better suited for you. With my experience and background I'm a bit biased towards GEF Classic. The main reason is that it solely builds on SWT and I also think the surrounding support classes and the available tutorial information is better. GEF 5 on the other side utilizes JavaFX which allows more fancy graphics.
For GEF Classic I can point you to our wiki https://github.com/eclipse/gef-classic/wiki which has very nice overview and getting started tutorials. Personaly I find this overview https://github.com/eclipse/gef-classic/blob/master/docs/GEF_Description.md very nice. Also the tutorials from Vainolo http://www.vainolo.com/tutorials/gef-tutorials/ helped my a lot to get my GEF Classic editors better.
I hope this helps,
Alois
|
|
|
Powered by
FUDForum. Page generated in 0.03112 seconds