Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to setup the shapes example
How to setup the shapes example [message #221542] Tue, 15 August 2006 16:15 Go to next message
Eclipse UserFriend
Originally posted by: martin.tauber.t-online.de

Hi newsgroup!

I am trying to setup the shapes example, but I am experiencing some
problems. Just downloading the examples and installing them as plugins
works fine. But now I want to play around with the source code, so I wanted
to create a project and install the source code.

This is what I did:

1) I created a plugin project in eclipse and copied the source code into the
src directory.
2) I copied the plugin.xml file and the MANIFEST.MF file from the jar file
into my project
3) I created an application using the template and added the New Action from
the ActionFactory so that I can create a new shapes file.

When I run the program I get the an exception:
org.eclipse.ui.PartInitException: No editor found to edit the file resource


What am I doing wrong?

Thanks for your help!
Re: How to setup the shapes example [message #221558 is a reply to message #221542] Tue, 15 August 2006 19:30 Go to previous message
Eclipse UserFriend
Originally posted by: martin.tauber.t-online.de

I found the problem: If you don't specify a icon for the editor, this error
occurs. I found it beexamining the <workspace>/.metadata/.log file.

Regards
Martin

"Martin Tauber" <martin.tauber@t-online.de> schrieb im Newsbeitrag
news:ebss99$t8s$1@utils.eclipse.org...
> Hi newsgroup!
>
> I am trying to setup the shapes example, but I am experiencing some
> problems. Just downloading the examples and installing them as plugins
> works fine. But now I want to play around with the source code, so I
> wanted
> to create a project and install the source code.
>
> This is what I did:
>
> 1) I created a plugin project in eclipse and copied the source code into
> the
> src directory.
> 2) I copied the plugin.xml file and the MANIFEST.MF file from the jar file
> into my project
> 3) I created an application using the template and added the New Action
> from
> the ActionFactory so that I can create a new shapes file.
>
> When I run the program I get the an exception:
> org.eclipse.ui.PartInitException: No editor found to edit the file
> resource
>
>
> What am I doing wrong?
>
> Thanks for your help!
Previous Topic:Properties sort
Next Topic:About Border
Goto Forum:
  


Current Time: Thu Sep 19 19:08:25 GMT 2024

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

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

Back to the top