eclipse / swtchart

Eclipse Public License 2.0
44 stars 41 forks source link

Remove the dependency on Eclipse ui and runtime plugins #227

Closed j-kubik closed 4 years ago

j-kubik commented 4 years ago

The core swtchart plugin does not use anything beyond pure swt. The dependency on higher-layer Eclipse bundles like org.eclipse.ui and org.eclipse.core.runtime is introduced only by the Activator class which is not really useful in this plugin. Additionally, the correct base class for a bundle activator is o.s.f.BundleActivator, not o.e.u.p.AbstractUIPlugin, which makes it additionally superfluous. The problem with this dependecy becomes obvious when swtchart core plugin is used in projects which do not use Eclipse - it enforces resolving a significant number of otherwise unused bundles. In order to avoid that problem, the Activator class has been removed and the manifest adjusted to require only swt bundle.

eselmeister commented 4 years ago

@j-kubik Have a look at the current development branch "develop". The activator and the dependencies are not in use anymore. A new version of SWTChart 0.13. is scheduled for the next 2 weeks.