Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » class not found
class not found [message #162074] Sat, 18 December 2004 17:26 Go to next message
Eclipse UserFriend
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 #162126 is a reply to message #162074] Mon, 20 December 2004 05:11 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
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:)
>
Re: class not found [message #162141 is a reply to message #162126] Mon, 20 December 2004 06:30 Go to previous message
Eclipse UserFriend
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:)
>>
Previous Topic:Selecting/moving a Figure within a Figure
Next Topic:Length of PolylineConnection ?
Goto Forum:
  


Current Time: Fri Apr 26 22:29:39 GMT 2024

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

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

Back to the top