Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Re: Plugin not activated/View not shown
Re: Plugin not activated/View not shown [message #468139] Tue, 04 August 2009 10:47 Go to next message
Dani Megert is currently offline Dani MegertFriend
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.
Re: Plugin not activated/View not shown [message #468423 is a reply to message #468139] Wed, 05 August 2009 13:32 Go to previous message
Brian is currently offline BrianFriend
Messages: 15
Registered: July 2009
Junior Member
Thanks for your help. I started using the -console to discover that my
plug-in had a dependency that wasn't being fulfilled and caused the
plug-in to stay in the INSTALLED state.
Previous Topic:Re: Contribute command to existing menu?
Next Topic:Show List (or Collection) in a PropertiesView
Goto Forum:
  


Current Time: Fri Apr 26 15:13:21 GMT 2024

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

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

Back to the top