...
This pulls all FreeHep external library jars files into the jas3/extensions directory.
Plugins
Structure
On startup, JAS looks for this path in the jar file to load a plugin.
No Format |
---|
PLUGIN-inf/plugins.xml
|
For example, here is the contents of that file for the org.lcsim plugin.
No Format |
---|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plugins SYSTEM "http://java.freehep.org/schemas/plugin/1.0/plugin.dtd">
<plugins>
<plugin>
<information>
<name>org.lcsim</name>
<category>hep.linearcollider</category>
<author>LCSIM Team</author>
<version>0.9</version>
<description kind="short">org.lcsim plugin for JAS3</description>
<description>org.lcsim plugin for JAS3.</description>
<load-at-start/>
</information>
<resources>
<j2se minVersion="1.5"/>
<file href="http://jas.freehep.org/jas3/plugins/lcsim/0.9/lcsim.jar" location="lcsim.jar"/>
<file href="http://jas.freehep.org/jas3/plugins/lcsim/0.9/freehep-physics.jar" location="freehep-physics.jar"/>
<file href="http://jas.freehep.org/jas3/plugins/lcsim/0.9/sio.jar" location="sio.jar"/>
<file href="http://jas.freehep.org/jas3/plugins/lcsim/0.9/GeomConverter.jar" location="GeomConverter.jar"/>
<file href="http://jas.freehep.org/jas3/plugins/lcsim/0.9/commons-math.jar" location="commons-math.jar"/>
</resources>
<plugin-desc class="org.lcsim.plugin.LCSimPlugin"/>
</plugin>
</plugins>
|
Menus
Example of adding a File -> New -> Example Plugin command.
...