[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: Plugin class load...

Hi
do u have these entries in your MANIFEST.MF file ?

Bundle-Activator: customer.client.CustomerClientPlugin
Eclipse-AutoStart: true


ayap wrote:
Code of plugin is here (standard code of most plugins), but when view method calls plugin class is not loaded(i have breakpoint on constructor):

package customer.client;

import org.osgi.framework.BundleContext;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.*;

public class CustomerClientPlugin extends AbstractUIPlugin {
private static CustomerClientPlugin plugin;


public CustomerClientPlugin() {
plugin = this;
}
public static CustomerClientPlugin getDefault(){
return plugin;
}


    @Override
    public void start(BundleContext context) throws Exception {
        super.start(context);
    }

    @Override
    public void stop(BundleContext context) throws Exception {
        super.stop(context);
    }

public static ImageDescriptor getImageDescriptor(String path) {
return AbstractUIPlugin.imageDescriptorFromPlugin("customer.client", path);
} }



-- ........................................

Vinu Varghese
www.x-minds.org