@Override public void start(BundleContext context) throws Exception { ApiPlugin.getDefault().getSessionManager().addSessionListener(this.sessionListener); fActionFilterAdapterFactory = new ActionFilterAdapterFactory(); Platform.getAdapterManager().registerAdapters(fActionFilterAdapterFactory, IJavaElement.class); super.start(context); }
public void start(BundleContext context) throws Exception { ApiPlugin.getDefault().getSessionManager().addSessionListener(this.sessionListener); fActionFilterAdapterFactory= new ActionFilterAdapterFactory(); Platform.getAdapterManager().registerAdapters(fActionFilterAdapterFactory, IJavaElement.class); super.start(context); }