12
If your new components are implemented entirely using S-PLUS
script nodes, and you have no special property dialogs or viewers
then the jar file is not necessary.
C++ Library
Files
C++ code used in computation should be compiled into one or more
DLLs. No C++ files are needed if the computations are performed
entirely in Java or Spotfire S+.
Image Files Each component will need a small icon image that is used in the
Explorer pane and a large icon image that is used on the worksheet.
These images are respectively 16 by 16 pixels and 70 by 70 pixels.
They are stored as gif files, which is Java’s preferred format for storing
icon images. These files are referenced by name in the Explorer IML
file.
These images can be created using a wide variety of paint programs.
One approach is to first create the image as a bitmap using a tools
such as the Microsoft Visual Studio resource editor, and then convert
the bitmap to a gif.
Help Files It is always a good idea to provide documentation to users describing
how the new components work.
Help files typically describe the properties dialog and viewer for each
component. The help files can be written in HTML and compiled
into an indexed help set using platform-specific tools.
You can compile the HTML files into an HtmlHelp file using
Microsoft HtmlHelp Workshop. This tool is available for free from
www.microsoft.com.
Spotfire Miner does not attempt to integrate help for new nodes into
the main Spotfire Miner help system. Instead, the new node’s
properties dialog code will need to implement an
onHelp() method to
display the appropriate help file when the dialog’s Help button is
pressed.
Manuals A manual usually describes how each component is used, along with
examples of its usage and a description of the algorithms it employs.
A good cross-platform format for documentation is Adobe PDF.
Documentation could also be written in Microsoft Word, HTML, or
even a plain text file.
Comentários a estes Manuais