Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This pulls all FreeHep external library jars files into the jas3/extensions directory.

Plugins

Menus

Example of adding a File -> New -> Example Plugin command.

No Format

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE MenuSystem SYSTEM "http://java.freehep.org/schemas/menus/1.0/menus.dtd">
<MenuSystem>
    <MenuBar id="mainMenu">
        <Menu name="File" mnemonic="F" location="100">
            <Menu name="New" mnemonic="N" location="50">
                <Component type="default" 
                           icon="/classpath/to/examplePluginIcon.gif" 
                           name="Example Plugin" 
                           mnemonic="E" 
                           command="ExamplePlugin" 
                           location="1200"/>
            </Menu>
        </Menu>
    </MenuBar>
</MenuSystem>