<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body 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>
</body>
</html>