Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to make more editor working in an rcp application
How to make more editor working in an rcp application [message #210756] Sat, 08 November 2008 05:42 Go to next message
einphen is currently offline einphenFriend
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 #210808 is a reply to message #210756] Mon, 10 November 2008 12:03 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello einphen,

> 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
Do you have any exceptions or any other additiona information concerning
the reason of this problem?

-----------------
Alex Shatalin
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 Go to previous message
einphen is currently offline einphenFriend
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.
Previous Topic:Shared Editing Domain disposed when closing editor
Next Topic:Get rid of node's children elements
Goto Forum:
  


Current Time: Mon May 17 05:01:08 GMT 2021

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

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

Back to the top