Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » fragment... unable to instantiate the view class
fragment... unable to instantiate the view class [message #246402] Thu, 27 May 2004 13:28
Eclipse UserFriend
Originally posted by: jmyron.ioconcepts.com

I have been trying to create a fragment that extends the functionality of a
plugin. The fragment contains a view class. When I run the runtime workbench
and then attempt to show the view I get the error: Unable to instantiate
view. I thought there might be something occuring in the view that was
causing the instantiation to fail, so I moved the view class directly into
the plugin codebase to test it and it loads then and is shown. It just seems
the plugin classloader cannot find the class when its in a fragment. Is
there some problem with the runtime workbench that prevents fragment classes
from being found by the parent plugin? The following:
<runtime>
<library name="macrovarviewer.jar">
<packages prefixes="com.ioc.eclipse.macrovarviewer"/>
</library>
</runtime>
is included in my fragment.xml to make available the package that contains
the view class to the classloader. Can anyone indicate anything I may be
doing wrong?

--
J Myron Smith
I/O Concepts Inc.
jmyron@ioconcepts.com
http://www.ioconcepts.com
http://www.consoleautomation.com
Previous Topic:Transpose Characters key binding
Next Topic:Panda3D, Running simulation engine within Eclipse
Goto Forum:
  


Current Time: Wed May 14 00:36:15 EDT 2025

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

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

Back to the top