How to make more editor working in an rcp application [message #210756] |
Sat, 08 November 2008 05:42 |
einphen Messages: 2 Registered: July 2009 |
Junior Member |
|
|
I created 3 GMF editors with one domain model working in a non-RCP
application, it like so:
The first editor have two nodes: A and B, if I double-click the A node, it
will open up the second editor; I can add nodes to this editor, for
example node C and D, if I double-click the D node, it will open up the
third editor.
I have created the 3 editors in a non-rcp application, and it runs well.
My problem is:
I have created the first editor in an rcp application, but when I
double-click the A node, it can¡¯t open up the second editor, I also
studied ¡°Integrating EMF and GMF Generated
Editors¡±( http://www.eclipse.org/articles/article.php?file=Article-Int egrating-EMF-GMF-Editors/index.html).
However, I can¡¯t make the 3 editors working in a rcp application, Can
somebody help me ?
Best regards,
einphen
|
|
|
|
Re: How to make more editor working in an rcp application [message #210896 is a reply to message #210808] |
Tue, 11 November 2008 11:42 |
einphen Messages: 2 Registered: July 2009 |
Junior Member |
|
|
hi,Alex Shatalin
now i can't deal with it well. if i run in eclipse, and new a project,
save the new file in this project, it can open up the second editor, it
run well!
also i created the first editor in a rcp app,and create a product follow
(Eclipse Rich Client Platform (RCP) with Eclipse Ganymede (3_4) -
Tutorial.mht). my product includes all project, and can open second
editor, but can't save, the error is that:
Save Failed
java.lang.nullpointerexception
i think we can't create the first editor in a rcp app, and should consider
the second editor, but i also don't know how to resove it.
|
|
|
Powered by
FUDForum. Page generated in 0.03554 seconds