[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Subclipse-users] 1.1.8 and icons

From: MATHUS Baptiste <mathus.b_at_mipih.fr>
Date: 2006-11-03 19:17:14 CET

-----Original Message-----
> From: Jörg Eichhorn [mailto:eichhorn@ponton-consulting.de]
> Sent: Fri 11/3/2006 6:30 PM
> To: users@subclipse.tigris.org
> Subject: Re: [Subclipse-users] 1.1.8 and icons
>
> Hello,
>
> it looks like the init(IWorkbenchWindow workbenchWindow) method of
> org.tigris.subversion.subclipse.ui.actions.WorkbenchWindowAction is not
> called when starting eclipse. Do you know if it would be possible to
> force this?

Well, I've got a very poor knowledge about eclipse plugin development, but it seems to me that it's the normal behaviour: by default, plugin won't be loaded until one of its feature is accessed, it's the eclipsee "lazy-loading" behaviour (as in Hibernate, for those who might know it).

I've just had a look in an eclipse plugin : when opening the plugin.xml with the eclipse viewer, in the overview tab, there's an option which is selected by default, under "Activator" textfield : there's a checkbox "Activate this plug-in when one of its class is loaded". Maybe you could try and see if unselecting this does what you want ? But, the thing is that it would then obviously cause the loading of whole the plug-in inconditionally, which might not be exactly what you want, but just a particular class ?

If you just want to have one particular class loaded and not the whole plug-in, maybe isolating the new feature in another plug-in could do it as a workaround ?

Hope this helps,
-- Baptiste
Received on Fri Nov 3 19:17:32 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.