Excerpt | |||||
---|---|---|---|---|---|
|
...
New here? See "how to set up an IDE to develop SNAP extensions" You can put any number of readers in a modules. Create new module? See "how to create and configure a SNAP extension module" Engine IntegrationProduct readers are snap-engine services. Java code
Consider following advices:
|
...
Add unit-level tests in Add RGB-ProfilesExample:
|
...
Service registrationCreate resource directory Add file named Edit file, for each product reader add its fully qualified class name on a single line (no spaces, no word wrapping):
Desktop GUI IntegrationIf you don't need any special GUI for your reader other than import actions and / or some help pages, then we don't need writing any Java code. Instead we have to add some NetBeans-specific configuration files to the module. Detailed information on NetBeans module development is given here: First step is to create a resources |
...
package named for example
|
...
Then add the |
...
file with following content:
Add extra module metadataMost of your module's metadata is derived from your project's Maven Create source directory Add file
Here is a comprehensive list of all allowed NetBeans "manifest headers": http://bits.netbeans.org/8.0/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#how-manifest Warning: lines in this file must not exceed 72 characters. If so, introduce an LF and start new line with a single space character. |
...
Code examples in SNAPsnap-geotiff snap-hdf5 ... |