This is a rough skelleton layout for a ScenePainter tool(box), consisting of
the preferred directory layout and a number of stub files to get started.
Follow these steps to create your own tool(box):
- Drop "scenepainter.jar" in the root directory of the skelleton tool,
so apache ant can find it (naturally you will not be able to compile
anything, if the scenepainter classes cannot be found).
- Think of a name for your tool(box), you don't want it to be called
"skelleton".
- Edit build.xml and replace the toolname variables content with the
name of your choice.
- Go to the sources directory and rename the directory "skelleton"
accordingly, so you have a package of your own.
- Edit the "Hook.java" and "SkelletonTool.java" classes to your desire.
The Hook class is what ScenePainter will look for, loading tools, the
SkelletonTool class again should be renamed to your liking.
- Go to the "resources/help/en" directory. Whenever the user hit's F1
on a window, this directory is searched for the online docs. There
must be a directory named after the class, displaying the
JInternalFrame and within that an index.html file.
- If all is set, simply calling ant should build your tool(box).