Difference between revisions of "Installing a plug-in"

From MIPAV
Jump to: navigation, search
m (Created page with "== Installing plug-in programs == <div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left...")
 
m
 
Line 1: Line 1:
== Installing plug-in programs ==
 
  
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Installing simple plug-in programs merely copies files into the user's home directory. <br /></font></div><div style="font-style: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Windows</font>'''</span><br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 4pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">c:\Documents and Settings\&lt;user ID&gt;\mipav\plugins</font></span><br /></font></div><div style="font-style: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">UNIX</font>'''</span><br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 4pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">/user/&lt;user ID&gt;/mipav/plugins</font></span><br /></font></div>
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Installing simple plug-in programs merely copies files into the user's home directory. <br /></font></div><div style="font-style: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Windows</font>'''</span><br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 4pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">c:\Documents and Settings\&lt;user ID&gt;\mipav\plugins</font></span><br /></font></div><div style="font-style: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">UNIX</font>'''</span><br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 4pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">/user/&lt;user ID&gt;/mipav/plugins</font></span><br /></font></div>
Line 6: Line 5:
  
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use MIPAV's plug-in installation tool, e.g. in the MIPAV window, select PlugIns &gt; Install PlugIns.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use the operating system's tool for copying the files. This method requires the user to restart MIPAV so that the new plug-in appears in the PlugIns menu. When MIPAV starts, it parses the user's home directory and builds the PlugIns menu.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 5pt; margin-left: 0pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Warning:</font>'''</span> The MIPAV installation tool does <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">not</font>''</span> work for more complex plug-ins that consist of more complicated package class hierarchy, such as the <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">Medic Talairach plug-in program</font></span>. To learn more about <span style="font-style: normal; font-weight: normal; text-transform: none; vertical-align: baseline"><u><font color="#000000">[http://medic.rad.jhmi.edu/download/public/index.shtml Medic Talairach plug-in program]</font></u></span>[http://mipav.cit.nih.gov/documentation/techguides/TechGuide1_MappingBrainsTalairach.pdf , refer to MIPAV Technical Guide 1.]<br /></font></div>
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use MIPAV's plug-in installation tool, e.g. in the MIPAV window, select PlugIns &gt; Install PlugIns.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use the operating system's tool for copying the files. This method requires the user to restart MIPAV so that the new plug-in appears in the PlugIns menu. When MIPAV starts, it parses the user's home directory and builds the PlugIns menu.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 5pt; margin-left: 0pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Warning:</font>'''</span> The MIPAV installation tool does <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">not</font>''</span> work for more complex plug-ins that consist of more complicated package class hierarchy, such as the <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">Medic Talairach plug-in program</font></span>. To learn more about <span style="font-style: normal; font-weight: normal; text-transform: none; vertical-align: baseline"><u><font color="#000000">[http://medic.rad.jhmi.edu/download/public/index.shtml Medic Talairach plug-in program]</font></u></span>[http://mipav.cit.nih.gov/documentation/techguides/TechGuide1_MappingBrainsTalairach.pdf , refer to MIPAV Technical Guide 1.]<br /></font></div>
 +
 +
== See also:==
 +
 +
*[[Understanding plug-in programs]]
 +
*[[Using the API documentation]]
 +
*[[Developing plug-in programs]]
 +
*[[Creating a self-contained plug-in frame]]
 +
*[[Installing a plug-in]]
 +
*[[Examples of MIPAV plug-ins]]
 +
**[[Plug-in CT_MD, a typical plug-in program]]
 +
***[[PlugInAlgorithmCT_MD.java]]
 +
***[[Plug-in CT_MD.java]]

Latest revision as of 12:08, 24 June 2013

Installing simple plug-in programs merely copies files into the user's home directory.
Windows
c:\Documents and Settings\<user ID>\mipav\plugins
UNIX
/user/<user ID>/mipav/plugins

You can choose one of two methods for copying the files:

Use MIPAV's plug-in installation tool, e.g. in the MIPAV window, select PlugIns > Install PlugIns.
Use the operating system's tool for copying the files. This method requires the user to restart MIPAV so that the new plug-in appears in the PlugIns menu. When MIPAV starts, it parses the user's home directory and builds the PlugIns menu.
Warning: The MIPAV installation tool does not work for more complex plug-ins that consist of more complicated package class hierarchy, such as the Medic Talairach plug-in program. To learn more about Medic Talairach plug-in program, refer to MIPAV Technical Guide 1.

See also: