Hi Grant,<br><br>Thanks for the update. Please move this logic into the imagej.ij1bridge.plugin.ij1PluginFinder class of the ij1bridge project, since that is where it belongs.<br><br>Thanks,<br>Curtis<br><br><div class="gmail_quote">
On Tue, Dec 7, 2010 at 3:30 PM, Grant B. Harris <span dir="ltr"><<a href="mailto:gharris@mbl.edu">gharris@mbl.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Curtis --<br>
<br>
There is no way to discriminate between plugins which are commands
and user plugins from the menus (the approach taken in
imagej.ij1bridge.plugin.Ij1PluginFinder). So I have adapted the
code from ij.Menu to find the underscored .jar/.zip and .class files
in plugins directory (plus one level down) and parse the
plugin.config file from the jars into a class: <font face="Courier
New, Courier, monospace">ijx.ij1.PluginLoader</font>.<br>
<br>
At the moment it is a Plugin for testing. Try <font face="Courier
New, Courier, monospace">File|RunTest</font> (a menu item I added
for testing.) All the PluginEntries it finds are listed in a
TextWindow.<br>
<br>
I committed this to svn just now.<br>
<br>
Next step is to create the actual menus... For now I'll put all of
the user plugins in a Plugins menu. For jar files that have a
plugin.config, "Plugins can be installed in the File>Import,
File>Save As, Edit>Options, Analyze>Tools, Help>About
Plugins and Plugins menu and submenus" For the time being, I will
add a submenu in the Plugins menu (eg. Plugins>File>Import)
for these.<br>
<br>
-- Grant<br>
<br>
<br>
<div> </div>
<br>
<br>
</div>
</blockquote></div><br>