Why GEF Editor Part doesn't show up?
-
02-07-2021 - |
Frage
I followed every step of this tutorial until I had to run the application for the first time, but the Graphical Editor Part doesn't show up. The only difference between the tutorial and my project is that on the Extensions tab of the plugins.xml file, the org.eclipse.ui.editor
extension doesn't contain a "MyGraphicalEditor (editor)" named child.
Lösung
That's the reason. Every editor should be added to org.eclipse.ui.editor extension point.
Andere Tipps
These tutorials will give you more practice and better understanding:
http://www.vogella.de/articles/EclipseRCP/article.html
http://www.vogella.de/articles/EclipsePlugIn/article.html
http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/SWTDraw2DExample.htm
http://nyssen.blogspot.com/2010/12/draw2d-examples-hidden-treasure.html