fragment... unable to instantiate the view class [message #246402] |
Thu, 27 May 2004 13:28 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04594 seconds