blob: 088f8f350c5d63e20163ee3186cf583b3febfa12 [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<TITLE>Runtime Components</TITLE>
<link rel="stylesheet" type="text/css" HREF="../book.css">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>
Runtime Components</H2>
<p> In Eclipse 3.2 the runtime was refactored into several components:
</p><ul>
<li><b>org.eclipse.core.contenttype</b> - <a href="runtime_content.htm">Content type mechanism</a></li>
<li><b>org.eclipse.core.jobs</b> - <a href="runtime_jobs.htm">Concurrency infrastructure</a></li>
<li><b>org.eclipse.equinox.registry</b> - <a href="runtime_registry.htm">Extension registry</a></li>
<li><b>org.eclipse.equinox.preferences</b> - <a href="runtime_preferences.htm">Runtime preferences</a></li>
<li><b>org.eclipse.equinox.common</b> - Common basic functionality</li>
<li><b>org.eclipse.equinox.app</b> - <a href="runtime_app_model.htm">Application Model</a></li>
</ul>
<p> If your plug-in has a dependency on the <b>org.eclipse.core.runtime</b>, then it will continue to
run unchanged. However, if you would like to minimize the number of dependencies, then you are able to
pick only the runtime bundles that you use.</p>
<p> If you would like to use Import-Package directive (rather than Require-Bundle) then you should be
aware that the <b><a href="../reference/api/org/eclipse/core/runtime/package-summary.html">org.eclipse.core.runtime</a></b>
package is split across several bundles. </p>
<p>To import only the content of this package provided by
the <b>org.eclipse.equinox.common</b> bundle, use this line in the manifest file:</p>
<pre>
Import-Package: org.eclipse.core.runtime; common="split"
</pre>
<p> To import the content of the package from the <b>org.eclipse.equinox.registry</b> and
<b>org.eclipse.equinox.common</b> bundles, use:</p>
<pre>
Import-Package: org.eclipse.core.runtime; registry="split"
</pre>
<p> And to import the complete package, use:</p>
<pre>
Import-Package: org.eclipse.core.runtime
</pre>
</BODY>
</HTML>