11
For example, the XML for the Correlations node in the Explorer
pane is:
<ActivityNode
engineClass=
"com.insightful.miner.CorrelationsEngineNode"
guiClass=
"com.insightful.miner.CorrelationsNodeModel"
numInputs="1"
numOutputs="1"
id="" >
<DisplayInfo labelText="Correlations"
defaultLabelText="Correlations"
smallIcon="correlation_small.gif"
largeIcon="correlation_large.gif"
x="0"
y="0" />
<ArgumentList>
<XTProps>
<Property name="useGlobal" value="true" />
<Property name="useCache" value="global" />
<Property name="correlationColumns" value="" />
<Property name="correlation" value="true" />
<Property name="covariance" value="false" />
</XTProps>
</ArgumentList>
</ActivityNode>
XML describing a new node can be created in either a simple text
editor such as Notepad or a special XML editor such as XMLSpy.
The easiest way to get started on creating an Explorer IML file is to
copy
xml\DefaultExplorer.iml to another name, and edit the file to
include your component descriptions.
Java Files For most new components, it is necessary to write Java code
implementing the new component. This code should be compiled
with a Java compiler and placed in a Java archive (jar) file.
Komentáře k této Příručce