|
|
(11 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | {| width="331" align="right"
| + | In this chapter. . . |
− | |
| + | *[[Understanding plug-in programs]] |
− | [MIPAV_titleVolume1.html [[Image:navtoc.gif|TOC]] ] | + | *[[Using the API documentation]] |
− | |
| + | *[[Developing plug-in programs]] |
− | [MIPAV_Scripting.html [[Image:navprev.gif|PREV]] ] | + | *[[Creating a self-contained plug-in frame]] |
− | |
| + | *[[Installing a plug-in]] |
− | [MIPAVTroubleShooting.html [[Image:navnext.gif|NEXT]] ] | + | *[[Examples of MIPAV plug-ins]] |
− | |
| + | **[[Plug-in CT_MD, a typical plug-in program]] |
− | [MIPAV_Glossary.html [[Image:navidx.gif|INDEX]] ]
| + | ***[[PlugInAlgorithmCT_MD.java]] |
− | |}
| + | ***[[Plug-in CT_MD.java]] |
| | | |
− | [[Image:wwplogo.gif|Put your logo here!]]
| + | == Developing and using plug-in programs == |
| | | |
− | ----
| + | A ''plug-in'' program allows you to add customized functionality to MIPAV. Before you create a plug-in, you should have a strong understanding of the underlying structure of MIPAV's software design and data structure. Because plug-ins are written in Java, you should also have a basic understanding of that programming language. After you create the plug-in, you must then install it. Once it is installed, you can access it from the Plug-Ins menu in the main MIPAV window. |
− | <blockquote><div style="font-style: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 24pt; text-align: right; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> 1 <br /></font>'''</div><div style="font-style: normal; margin-bottom: 600pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: right; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> Developing Plug-in Programs<br /></font>'''</div><div style="font-style: normal; margin-bottom: 2pt; 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"> <br /></font>'''</div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 6pt; margin-right: 6pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#0023a9"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#0023a9">In this chapter</font>'''</span>.<span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#0023a9"> . .</font>'''</span><br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_Plugins.html#998594 "Understanding plug-in programs" on page 480]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_Plugins.html#1191686 "Using the API documentation" on page 481]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 18pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_Plugins.html#1303736 "Developing plug-in programs" on page 489]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 1pt; margin-left: 6pt; margin-right: 6pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#0023a9"> [MIPAV_Plugins.html#1574675 "Creating a self-contained plug-in frame" on page 503]<br /></font></div>
| + | |
| | | |
− | Users who know how to program in Java can write a <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">plug-in program</font>''</span> that adds support for a new file format, creates a new view, or applies a new algorithm to an image. <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">This chapter does not intended to explain how to write a Java program; rather it presents information to help users who are writing plug-in programs to customize MIPAV. </font>''</span>You can find in this chapter how to: | + | Users who know how to program in Java can write a ''plug-in program'' that adds support for a new file format, creates a new view, or applies a new algorithm to an image. |
| | | |
− | <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"> Gain access to and use the online MIPAV application programming interface (API) documentation<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"> Determine which version of Java to use<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"> Select one of the three plug-in types<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"> Include mandatory lines of code in plug-in programs so that they interface correctly with MIPAV <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"> Install plug-in programs<br /></font></div>
| + | This chapter does not intended to explain how to write a Java program; rather it presents information to help users who are writing plug-in programs to customize MIPAV. |
| + | |
| + | You can find in this chapter how to: |
| + | *Gain access to and use the online MIPAV application programming interface (API) documentation<br /> |
| + | *Determine which version of Java to use<br /> |
| + | *Select one of the three plug-in types<br /> |
| + | *Include mandatory lines of code in plug-in programs so that they interface correctly with MIPAV <br /> |
In this chapter. . .
This chapter does not intended to explain how to write a Java program; rather it presents information to help users who are writing plug-in programs to customize MIPAV.