How to setup the shapes example [message #221542] |
Tue, 15 August 2006 16:15 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.03293 seconds