https://protegewiki.stanford.edu/index.php?title=PluginDependencies&feed=atom&action=history
PluginDependencies - Revision history
2024-03-28T19:38:45Z
Revision history for this page on the wiki
MediaWiki 1.27.7
https://protegewiki.stanford.edu/index.php?title=PluginDependencies&diff=5463&oldid=prev
JenniferVendetti: fixed link to go to correct page
2009-01-28T00:25:41Z
<p>fixed link to go to correct page</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 00:25, January 28, 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l52" >Line 52:</td>
<td colspan="2" class="diff-lineno">Line 52:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><strong>See Also: [[<del class="diffchange diffchange-inline">Protege3DevDocs</del>|How to make your plug-in's documentation available to users from within Protege]]</strong></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><strong>See Also: [[<ins class="diffchange diffchange-inline">ProvidePluginDocs</ins>|How to make your plug-in's documentation available to users from within Protege]]</strong></div></td></tr>
</table>
JenniferVendetti
https://protegewiki.stanford.edu/index.php?title=PluginDependencies&diff=1664&oldid=prev
JenniferVendetti: fixed broken links
2008-03-28T20:34:25Z
<p>fixed broken links</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:34, March 28, 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l32" >Line 32:</td>
<td colspan="2" class="diff-lineno">Line 32:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>''This article only discusses the syntax for declaring dependencies.''  If you want to specify About Box information or the location of your plug-in's documentation, please see <del class="diffchange diffchange-inline">this page: xxx</del>.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>''This article only discusses the syntax for declaring dependencies.''  If you want to specify About Box information or the location of your plug-in's documentation, please see <ins class="diffchange diffchange-inline">the Wiki article entitled "[[Protege3DevDocs|How to make your plug-in's documentation available to users from within Protege]]"</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l50" >Line 50:</td>
<td colspan="2" class="diff-lineno">Line 50:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The result of specifying dependencies on packages which are themselves incompatible is undefined.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The result of specifying dependencies on packages which are themselves incompatible is undefined.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><strong>See Also: [[Protege3DevDocs|How to make your plug-in's documentation available to users from within Protege]]</strong></ins></div></td></tr>
</table>
JenniferVendetti
https://protegewiki.stanford.edu/index.php?title=PluginDependencies&diff=1330&oldid=prev
JenniferVendetti at 02:16, February 23, 2008
2008-02-23T02:16:59Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 02:16, February 23, 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><span style="font-weight:bold; font-size:18px;">Instructions for declaring dependencies between Protege plug-ins</span><br /><br /></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><span style="font-weight:bold; font-size:18px;">Instructions for declaring dependencies between Protege plug-ins</span><br /><br /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Each Protege plug-in is loaded by a separate class loader and resides in a separate subdirectory of the Protege "plugins" directory.  To follow is an example of what the typical directory structure looks like:<br /><br /></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Each Protege plug-in is loaded by a separate class loader and resides in a separate<ins class="diffchange diffchange-inline">, uniquely named </ins>subdirectory of the Protege "plugins" directory.  To follow is an example of what the typical directory structure looks like:<br /><br /></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre><protege-install-dir></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre><protege-install-dir></div></td></tr>
</table>
JenniferVendetti
https://protegewiki.stanford.edu/index.php?title=PluginDependencies&diff=1329&oldid=prev
JenniferVendetti: New page: <span style="font-weight:bold; font-size:18px;">Instructions for declaring dependencies between Protege plug-ins</span><br /><br /> Each Protege plug-in is loaded by a separate class load...
2008-02-23T02:16:36Z
<p>New page: <span style="font-weight:bold; font-size:18px;">Instructions for declaring dependencies between Protege plug-ins</span><br /><br /> Each Protege plug-in is loaded by a separate class load...</p>
<p><b>New page</b></p><div><span style="font-weight:bold; font-size:18px;">Instructions for declaring dependencies between Protege plug-ins</span><br /><br /><br />
<br />
Each Protege plug-in is loaded by a separate class loader and resides in a separate subdirectory of the Protege "plugins" directory. To follow is an example of what the typical directory structure looks like:<br /><br /><br />
<br />
<pre><protege-install-dir><br />
plugins/<br />
edu.stanford.smi.protegex.datamaster/<br />
datamaster.jar<br />
plugin.properties<br />
...<br />
edu.stanford.smi.protegex.owl/<br />
jena.jar<br />
jdom.jar<br />
protege-owl.jar<br />
plugin.properties<br />
...<br />
edu.stanford.smi.protegex.standard_extensions/<br />
JGo.jar<br />
JGoLayout.jar<br />
standard-extensions.jar<br />
plugin.properties<br />
...<br />
</pre><br />
<br />
<br />
If you are developing a Protege plug-in and you need to declare your plug-in as dependent on other plug-ins, you must provide a "plugin.properties" file in the root directory of your plug-in. The <code>plugin.properties</code> file is a text file in which plug-in authors can:<br />
<br />
<br />
* declare dependencies on other plug-ins<br />
* specify "About Box" information for your plug-in<br />
* specify the location of your plug-in's documentation<br />
<br />
<br />
''This article only discusses the syntax for declaring dependencies.'' If you want to specify About Box information or the location of your plug-in's documentation, please see this page: xxx.<br />
<br />
<br />
The <code>plugin.properties</code> file of the '''depending''' plug-in must list the directories of all of the other plug-ins on which it is '''dependent'''. It is not necessary (but harmless) to record recursive dependencies, e.g., A depends on B and B depends on C. Mutually recursive dependencies are allowed (A depends on B and B depends on A) but are probably a bad idea for other reasons... It is not an error if a dependent plug-in package is not present. However, if the dependent package is required, then depending plug-in will not load or run.<br />
<br />
<br />
Below is an example of a dependency in a <code>plugin.properties</code> file. The PROMPT plug-in has declared itself as being dependent upon Protege-OWL, the RDF Backend plug-in, and the Changes Tab plug-in:<br />
<br />
<br />
<pre><br />
plugin.dependency.count=3<br />
plugin.dependency.0=edu.stanford.smi.protegex.owl<br />
plugin.dependency.1=edu.stanford.smi.protegex.rdf_backend<br />
plugin.dependency.2=edu.stanford.smi.protegex.changes<br />
</pre><br />
<br />
<br />
The result of specifying dependencies on packages which are themselves incompatible is undefined.</div>
JenniferVendetti