Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » About the inputObject of the editor.
About the inputObject of the editor. [message #168806] Fri, 18 January 2008 16:47 Go to next message
Mikai Yang is currently offline Mikai YangFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,
I have built an graphical model editor with GMF. It is generated from a
gmfmap file as a plugin. Then I run this plugin as an eclipse application.
Everything is fine so far. In the newly launched Eclipse IDE, I have to
creat a blank file with the specified extension. As we know, the file is
linked to this editor as the default editor. However, when i open this
file, there is an error always poping up. I think it is because this editor
has not set an input object. Does anybody has specific solution to this
problem?
Thanks.
Michael.
Re: About the inputObject of the editor. [message #168833 is a reply to message #168806] Fri, 18 January 2008 18:44 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Michael,

I think there should always be a wizard (like the one that EMF generates
along with it's editors) to create a new instance of the file that
already contains the initial root object. An empty file just isn't
valid XML and will cause problems...


Michael wrote:
> Hi,
> I have built an graphical model editor with GMF. It is generated from a
> gmfmap file as a plugin. Then I run this plugin as an eclipse application.
> Everything is fine so far. In the newly launched Eclipse IDE, I have to
> creat a blank file with the specified extension. As we know, the file is
> linked to this editor as the default editor. However, when i open this
> file, there is an error always poping up. I think it is because this editor
> has not set an input object. Does anybody has specific solution to this
> problem?
> Thanks.
> Michael.
>
>
>
Previous Topic:How can I view the old message in Outlook Express?
Next Topic:GMF Graph Generation
Goto Forum:
  


Current Time: Thu Apr 25 00:54:49 GMT 2024

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

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

Back to the top