|
Re: About the inputObject of the editor. [message #168833 is a reply to message #168806] |
Fri, 18 January 2008 18:44 |
Eclipse User |
|
|
|
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.
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03244 seconds