class not found [message #162074] |
Sat, 18 December 2004 17:26 |
Eclipse User |
|
|
|
Originally posted by: zhlmmc.hotmail.com
I download a gef example from
http://download.eclipse.org/tools/gef/downloads/
i want to know how the progrma works,so i create a project and put the scr
into the project.Also,i copy the plugin.xml into the project directory.
Now,i run a new workbench,i use the wizard to create a new .shapes
file,when
i click "finish" to finish the wizard,it always report
org.eclipse.ui.PartInitException: Unable to instantiate editor: GEF Shapes
Editor java.lang.ExceptionInInitializerError
which shows that it can't found "ShapesEditor.class",but how could it
found "ShapesCreationWizard.class"?
What's wrong?
thanks:)
|
|
|
|
Re: class not found [message #162141 is a reply to message #162126] |
Mon, 20 December 2004 06:30 |
Eclipse User |
|
|
|
Originally posted by: zhlmmc.hotmail.com
It really works!
I new a run-time workbench,when i trid to create a .shapes file with the
wizard,i found the run-time workbench didn't load the shapes plugin in
eclipse\plugins directory.
So,i want to know what the run-time workbench do while it load the plugins.
Would you tell me?
Thank you :)
ps:I can hardly find any differences between the project i use the import
wizard and the project that i copy the source into it except the "src"
directory was replaced by "src-shapes".
Pratik Shah wrote:
> Instead of coping plug-in files, you should use the import feature (if
> you're trying to do what I think you're trying to do). Import -> External
> Plug-ins and Fragments.
> "zhlmmc" <zhlmmc@hotmail.com> wrote in message
> news:cq1p90$dbe$1@www.eclipse.org...
>>I download a gef example from
>>http://download.eclipse.org/tools/gef/downloads/
>> i want to know how the progrma works,so i create a project and put the scr
>> into the project.Also,i copy the plugin.xml into the project directory.
>> Now,i run a new workbench,i use the wizard to create a new .shapes
>> file,when
>> i click "finish" to finish the wizard,it always report
>> org.eclipse.ui.PartInitException: Unable to instantiate editor: GEF Shapes
>> Editor java.lang.ExceptionInInitializerError
>> which shows that it can't found "ShapesEditor.class",but how could it
>> found "ShapesCreationWizard.class"?
>> What's wrong?
>> thanks:)
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02971 seconds