[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] Re: Plugin class load...
|
- From: aya@xxxxxxxxx (ayap)
- Date: Fri, 17 Mar 2006 08:14:11 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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);
}
}