<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=PluginManifestsAndJars</id>
		<title>PluginManifestsAndJars - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=PluginManifestsAndJars"/>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=PluginManifestsAndJars&amp;action=history"/>
		<updated>2026-05-21T05:14:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=PluginManifestsAndJars&amp;diff=1327&amp;oldid=prev</id>
		<title>JenniferVendetti: migrating page from main protege site</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=PluginManifestsAndJars&amp;diff=1327&amp;oldid=prev"/>
				<updated>2008-02-23T01:20:33Z</updated>
		
		<summary type="html">&lt;p&gt;migrating page from main protege site&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-weight:bold; font-size:18px;&amp;quot;&amp;gt;Creating Protege plug-in manifests and JAR files&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A Protege plug-in JAR file can be built with the standard &amp;quot;jar&amp;quot; Java Archive Tool. (See the documentation on Sun's Java Technology Web site for more information about [http://java.sun.com/docs/books/tutorial/jar/index.html working with JAR and manifest files]). A JAR file can contain one or more Protege plug-ins. The manifest for a plug-in JAR file must contain a section which describes the plug-in and every manifest must start with the following line:&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Manifest-Version: 1.0&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this line, you must put a blank line followed by any number of Protege plug-in entries. The entries must be separated by blank lines and the last line in the file must be a blank line. Examples of manifest entries are given below.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''tab widget plug-in:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Name: edu/stanford/smi/protege/ui/ClsesTab.class&amp;lt;br /&amp;gt;&lt;br /&gt;
Tab-Widget: True&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''slot widget plug-in:'''&lt;br /&gt;
&lt;br /&gt;
The following is the standard, simple manifest entry for a slot widget plug-in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Name: edu/stanford/smi/protegex/imagemap/ImageMapToSymbolWidget.class&amp;lt;br /&amp;gt;&lt;br /&gt;
Slot-Widget: True&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following entry is more specialized. It will cause to system to assign the declared slot widget plug-in as the widget for any slot which has single cardinality, type Instance, and has allowed classes of &amp;quot;URI&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Name: edu/stanford/smi/protegex/rdf/uri/widget/URIFieldWidget.class&amp;lt;br /&amp;gt;&lt;br /&gt;
Slot-Widget: True&amp;lt;br /&amp;gt;&lt;br /&gt;
Default-Widget: True&amp;lt;br /&amp;gt;&lt;br /&gt;
Default-Widget-For-Cardinality: Single&amp;lt;br /&amp;gt;&lt;br /&gt;
Default-Widget-For-Type: Instance&amp;lt;br /&amp;gt;&lt;br /&gt;
Default-Widget-For-Allowed-Class: URI&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''back-end plug-in:'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Name: edu/stanford/db/protegex/storage/rdf/RDFKnowledgeBaseFactory.class&amp;lt;br /&amp;gt;&lt;br /&gt;
Storage-Factory: True&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''project plug-in''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Name: examples/projectplugin/MenuItemInserter.class&amp;lt;br /&amp;gt;&lt;br /&gt;
Project-Plugin: True&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''createproject plug-in''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Name: examples/createprojectplugin/FooCreator.class&amp;lt;br /&amp;gt;&lt;br /&gt;
Create-Project-Plugin: True&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''export plug-in''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Name: examples/exportplugin/FooExporter.class&amp;lt;br /&amp;gt;&lt;br /&gt;
Export-Plugin: True&lt;/div&gt;</summary>
		<author><name>JenniferVendetti</name></author>	</entry>

	</feed>