Re: Plugin not activated/View not shown [message #468139] |
Tue, 04 August 2009 10:47 |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
Brian wrote:
> I have an application that is composed of several plug-ins. An
> additional, new plug-in has been created that contains a view. Due to
> the way the code has been laid out, the new plug-in is dependent upon
> one of the existing plug-ins. When I try to programatically display
> the new view, I'm getting a PartInitException. Also, when I look at
> the Plug-in details I see that the new plug-in is not listed even
> though the plug-in jar file exists. If I run as a product within
> Eclipse it works fine but when I build and run outside as a separate
> application, I have the problem.
>
> For instance, I have plug-ins A, B, and C. A new plug-in D is created
> that is dependent upon C. As the app runs, the views in C are
> displayed in the perspective. When the view from D attempts to be
> displayed I get the error. It appears that the new plug-in has not
> been activated and the IWorkbenchPage.showView cannot find the view.
>
> I'm wondering if I'm missing something obvious before I try changing
> the dependencies.
Start using -debug to see the bundle loading issues.
Dani
>
> Thanks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03754 seconds