diff --git a/.gitignore b/.gitignore
index 524f096..356a42c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
# Compiled class file
*.class
+target
# Log file
*.log
diff --git a/LICENSE b/LICENSE.txt
similarity index 100%
rename from LICENSE
rename to LICENSE.txt
diff --git a/README.md b/README.md
index 61d1c3a..266cd34 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,94 @@
-# sen2vm-snap-plugin
-Sen2VM SNAP plugin that calls the sen2vm-core standalone jar
+# Sen2VM-snap-plugin
+
+Sen2VM SNAP plugin that calls the Sen2VM-Core standalone jar. For more details about the Sen2VM-Core, please refer to the following: https://github.com/sen2vm/sen2vm-core.
+
+### *Prerequisites*
+
+* build sen2vm-core
+* create zip archive with the following structure
+```
+sen2vm.zip
+ src/main/resources/orekit-data/
+ sen2vm-core/
+ sen2vm-core/sen2vm-core-0.0.1-SNAPSHOT.jar
+ sen2vm-core/configuration_example.json
+ sen2vm-core/params.json
+```
+
+### Build from sources
+
+* Build with maven and Java >11:
+
+ ``mvn clean install``
+
+### SNAP installation
+
+The bundle installation is not provided for now. You can distribute the archive with Python http.server to serve the zip file on the default SNAP URL:
+
+
+`` python3 -m http.server 8000 ``
+
+Otherwise, you can choose local installation in the SNAP menu bundle installation.
+
+
+
+* Install plugin from snap menu: **Tools → Plugins**
+
+
+
+
+
+
+
+Continue by **Downloaded → Add Plugins** and search for the nbm file in:
+
+sen2vm-snap-plugin/target/sen2vm-snap-plugin-1.0-SNAPSHOT.nbm
+
+
+
+
+
+
+
+
+
+
+
+At the end of the plugin installation, choose to restart SNAP to apply the changes.
+
+
+
+At this stage, only the plugin is installed. You need to install the installation bundle -> sen2vm.zip. At the first execution of the plugin, the installation bundle is proposed to the user. Otherwise, it is possible to install the bundle after the restart in the menu **Tools > Manage External Tools**
+
+
+
+
+
+Then, double click on **Sen2VM**
+
+
+
+Continue to **Bundled Binaries** and proceed to **Download and Install Now**. Then, click OK and exit from the **Manage External Tools**.
+
+
+
+
+
+### How to use it
+
+The sen2vm-snap-plugin is located in **Optical>Geometric>Sen2VM**
+
+Console output can be enabled via Display execution output.
+
+There are two ways to set the parameters.
+
+* Specify the path to configuration files: Configuration file and Parameters File. These parameters override all others.
+> [!IMPORTANT]
+> **Do not set them if you want to use the others.**
+* Set the parameters and choose the detectors and bands to process
+
+
+
+
+
+More details are available at: https://github.com/sen2vm/sen2vm-core
diff --git a/doc/images/install_bundle_menu.png b/doc/images/install_bundle_menu.png
new file mode 100644
index 0000000..7abeb0c
Binary files /dev/null and b/doc/images/install_bundle_menu.png differ
diff --git a/doc/images/install_plugin.png b/doc/images/install_plugin.png
new file mode 100644
index 0000000..7f54c57
Binary files /dev/null and b/doc/images/install_plugin.png differ
diff --git a/doc/images/install_plugin_menu.png b/doc/images/install_plugin_menu.png
new file mode 100644
index 0000000..962a010
Binary files /dev/null and b/doc/images/install_plugin_menu.png differ
diff --git a/doc/images/manager_ext_tools_menu.png b/doc/images/manager_ext_tools_menu.png
new file mode 100644
index 0000000..ef85ef1
Binary files /dev/null and b/doc/images/manager_ext_tools_menu.png differ
diff --git a/doc/images/manager_ext_tools_view.png b/doc/images/manager_ext_tools_view.png
new file mode 100644
index 0000000..a6bd368
Binary files /dev/null and b/doc/images/manager_ext_tools_view.png differ
diff --git a/doc/images/manager_ext_tools_view2.png b/doc/images/manager_ext_tools_view2.png
new file mode 100644
index 0000000..7abeb0c
Binary files /dev/null and b/doc/images/manager_ext_tools_view2.png differ
diff --git a/doc/images/manager_ext_tools_view_green.png b/doc/images/manager_ext_tools_view_green.png
new file mode 100644
index 0000000..e554ab2
Binary files /dev/null and b/doc/images/manager_ext_tools_view_green.png differ
diff --git a/doc/images/plugin_menu.png b/doc/images/plugin_menu.png
new file mode 100644
index 0000000..25d02e0
Binary files /dev/null and b/doc/images/plugin_menu.png differ
diff --git a/doc/images/process.png b/doc/images/process.png
new file mode 100644
index 0000000..37ad773
Binary files /dev/null and b/doc/images/process.png differ
diff --git a/keystore/optical.ks b/keystore/optical.ks
new file mode 100644
index 0000000..916c778
Binary files /dev/null and b/keystore/optical.ks differ
diff --git a/pom.xml b/pom.xml
index 53e8b64..e12bea6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,75 +1,127 @@
-
- 4.0.0
+
+ 4.0.0
+ org.esa
+ sen2vm
+ 1.0-SNAPSHOT
+ Sentinel-2 Viewing Model tool goal is to compute and add geolocation information to L1B product images
+ sen2vm
+ https://github.com/sen2vm/sen2vm-snap-plugin
+ nbm
+
+ UTF-8
+ 11
+ 11
+ 11.0.0
+ 1.0.0
+ 2.0.05
+
+
+
+ snap-repo-public
+ Public Maven Repository for SNAP
+ https://nexus.snap-ci.ovh/repository/snap-maven-public/
+
+ true
+ warn
+
+
+ true
+ warn
+
+
+
+
+
+ eu.esa.snap.netbeans
+ snap-help-system
+ ${snap-help-system.version}
+
+
+ org.esa.snap
+ snap-sta
+ ${snap.version}
+
+
+ org.esa.snap
+ snap-sta-ui
+ ${snap.version}
+
+
+ org.esa.snap
+ snap-rcp
+ ${snap.version}
+
+
- esa.sen2vm
- sen2vm-snap-plugin
- 1.0-SNAPSHOT
+
+ src/main/java
+
+
+ resources
+
+
+
+
+
+ maven-dependency-plugin
+ 3.6.0
+
+
+
- sen2vm-snap-plugin
-
- http://www.example.com
+
+
+ org.apache.netbeans.utilities
+ nbm-maven-plugin
+ 14.0
+ true
+
+
+ javax.help
+ javahelp
+ ${javahelp.version}
+
+
+
+ GPL 3
+ LICENSE.txt
+ keystore/optical.ks
+ snap
+ snap-123
+ true
+
+
+
+ maven-compiler-plugin
+ 3.11.0
+
+ 11
+ 11
+ true
+ UTF-8
+
+ .gitignore
+
+
+ **/**
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.4.0
+
+
+ ${project.build.outputDirectory}/META-INF/MANIFEST.MF
+
+
+
+
+
-
- UTF-8
- 1.8
- 1.8
-
-
-
-
- org.junit.jupiter
- junit-jupiter-engine
- 5.10.2
- test
-
-
-
-
-
-
-
-
- maven-clean-plugin
- 3.1.0
-
-
-
- maven-resources-plugin
- 3.0.2
-
-
- maven-compiler-plugin
- 3.8.0
-
-
- maven-surefire-plugin
- 2.22.1
-
-
- maven-jar-plugin
- 3.0.2
-
-
- maven-install-plugin
- 2.5.2
-
-
- maven-deploy-plugin
- 2.8.2
-
-
-
- maven-site-plugin
- 3.7.1
-
-
- maven-project-info-reports-plugin
- 3.0.0
-
-
-
-
-
+
\ No newline at end of file
diff --git a/resources/META-INF/descriptor.xml b/resources/META-INF/descriptor.xml
new file mode 100644
index 0000000..3db690c
--- /dev/null
+++ b/resources/META-INF/descriptor.xml
@@ -0,0 +1,626 @@
+
+ sen2vm
+ org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterOp
+ Sen2VM
+
+ 1.0.0
+ Sentinel-2 Viewing Model tool goal is to compute and add geolocation information to
+ L1B product images
+ CSGroup
+
+ false
+ false
+ Menu/Optical/Geometric
+ false
+ false
+
+ $SEN2VM_JRE
+
+ $SEN2VM_PLUGIN_DIR
+
+
+ sen2vm-template.vm
+
+
+ (^.*GRAVE|^.*SEVERE|^.*Exception)(.+)
+
+
+
+ SEN2VM_PLUGIN_DIR
+
+ $HOME/.snap/auxdata/sen2vm
+ $HOME/.snap/auxdata/sen2vm
+ false
+ true
+
+
+
+ SEN2VM_JRE
+ $USER_HOME/esa-snap/jre/bin/java
+ false
+
+ $USER_HOME/esa-snap/jre/bin/java
+
+ false
+
+
+
+ SEN2VM_JAR
+ $SEN2VM_PLUGIN_DIR/sen2vm-core/sen2vm-core-0.0.1-SNAPSHOT.jar
+ false
+
+ $SEN2VM_PLUGIN_DIR/sen2vm-core/sen2vm-core-0.0.1-SNAPSHOT.jar
+
+ false
+
+
+
+ USERPROFILE
+
+ false
+
+ $USER_HOME
+ $HOME
+ false
+
+
+
+ HOME
+ $USERPROFILE
+ false
+ $USERPROFILE
+
+
+ false
+
+
+
+ USER_HOME
+ $USERPROFILE
+ false
+ $USERPROFILE
+ $HOME
+ $HOME
+ false
+
+
+
+
+
+
+ configurationFile
+ java.io.File
+ The use of the parameters configuration files takes priority over all
+ others
+
+
+ false
+ false
+ RegularParameter
+
+
+ parametersFile
+ java.io.File
+ The use of the parameters configuration files takes priority over all
+ others
+
+
+ false
+ false
+ RegularParameter
+
+
+
+ operation
+
+ java.lang.String
+ Type of operation
+
+ direct
+ inverse
+
+ false
+ false
+ RegularParameter
+
+
+
+ L1B
+
+ java.io.File
+
+ Path to L1B product folder
+ false
+ false
+ FolderParameter
+
+
+ GIPP
+
+ java.io.File
+
+ Path to GIPP folder
+ false
+ false
+ FolderParameter
+
+
+
+ dem
+
+ java.io.File
+
+ Path to DEM folder
+ false
+ false
+ FolderParameter
+
+
+ geoid
+
+ java.lang.String
+ Path to GEOID file
+
+ false
+ false
+ RegularParameter
+
+
+
+ step10
+
+ java.lang.String
+
+ Steps (pixels) for bands 10m
+ false
+ false
+ RegularParameter
+
+
+ step20
+
+ java.lang.String
+
+ Steps (pixels) for bands 20m
+ false
+ false
+ RegularParameter
+
+
+ step60
+
+ java.lang.String
+
+ Steps (pixels) for bands 60m
+ false
+ false
+ RegularParameter
+
+
+
+
+ output_folder
+
+ java.lang.String
+ (mandatory for inverse loc) output folder
+
+ false
+ false
+ RegularParameter
+
+
+
+ referential
+
+ java.lang.String
+
+ (mandatory for inverse loc) referential
+ false
+ false
+ RegularParameter
+
+
+ lrx
+
+ java.lang.String
+
+ (mandatory for inverse loc) Lower Right X (referential unit)
+ false
+ false
+ RegularParameter
+
+
+ lry
+
+ java.lang.String
+
+ (mandatory for inverse loc) Lower Right Y (referential unit)
+ false
+ false
+ RegularParameter
+
+
+ ulx
+
+ java.lang.String
+
+ (mandatory for inverse loc) Upper Left X (referential unit)
+ false
+ false
+ RegularParameter
+
+
+ uly
+
+ java.lang.String
+
+ (mandatory for inverse loc) Upper Left Y (referential unit)
+ false
+ false
+ RegularParameter
+
+
+
+
+ iers
+
+ java.lang.String
+ (optional) Path to IERS file
+
+ false
+ false
+ RegularParameter
+
+
+ deactivate_gipp_check
+
+ java.lang.Boolean
+ (optional) Deactivate the check of GIPP version; if select= "true", if not=
+ "false"
+
+ false
+ false
+ RegularParameter
+
+
+ ignore_refining
+
+ java.lang.Boolean
+ (optional) Allows to ignore refining parameters if they are available in
+ the Datastrip Metadata; if present= "true", if not= "false".
+
+ false
+ false
+ RegularParameter
+
+
+ alt
+
+ java.lang.Boolean
+ (optional) Export altitude in direct location grid; if select= "true", if
+ not= "false".
+
+ false
+ false
+ RegularParameter
+
+
+ pod
+
+ java.lang.String
+ (optional) Path to POD file/folder
+
+ false
+ false
+ RegularParameter
+
+
+
+ detector_01
+
+ java.lang.Boolean
+ Detector 01 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_02
+
+ java.lang.Boolean
+ Detector 02 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_03
+
+ java.lang.Boolean
+ Detector 03 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_04
+
+ java.lang.Boolean
+ Detector 04 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_05
+
+ java.lang.Boolean
+ Detector 05 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_06
+
+ java.lang.Boolean
+ Detector 06 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_07
+
+ java.lang.Boolean
+ Detector 07 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_08
+
+ java.lang.Boolean
+ Detector 08 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_09
+
+ java.lang.Boolean
+ Detector 09 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_10
+
+ java.lang.Boolean
+ Detector 10 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_11
+
+ java.lang.Boolean
+ Detector 11 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ detector_12
+
+ java.lang.Boolean
+ Detector 12 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+
+ band_01
+
+ java.lang.Boolean
+ Band 01 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_02
+
+ java.lang.Boolean
+ Band 02 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_03
+
+ java.lang.Boolean
+ Band 03 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_04
+
+ java.lang.Boolean
+ Band 04 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_05
+
+ java.lang.Boolean
+ Band 05 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_06
+
+ java.lang.Boolean
+ Band 06 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_07
+
+ java.lang.Boolean
+ Band 07 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_08
+
+ java.lang.Boolean
+ Band 08 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_8A
+
+ java.lang.Boolean
+ Band 8A to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_09
+
+ java.lang.Boolean
+ Band 09 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_10
+
+ java.lang.Boolean
+ Band 10 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_11
+
+ java.lang.Boolean
+ Band 11 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+ band_12
+
+ java.lang.Boolean
+ Band 12 to process
+ true
+ false
+ false
+ RegularParameter
+
+
+
+ targetProductFile
+ java.io.File
+ Output file
+
+ false
+ false
+ RegularParameter
+
+
+
+
+ user
+ false
+ true
+
+ NONE
+ REMOTE
+
+
+
+ ZIP
+
+ REMOTE
+ http://0.0.0.0:8000/sen2vm.zip
+
+ arguments
+ java.io.File
+
+ TemplateParameter
+
+
+ targetLocation
+ java.io.File
+ null
+
+ RegularParameter
+
+
+
+ Command Template
+
+ $USERPROFILE/.snap/auxdata
+ senv2vm.zip
+ SEN2VM_PLUGIN_DIR
+
+
+
+ NONE
+ REMOTE
+
+ sen2vm
+
+
+ 0
+ VELOCITY
+
\ No newline at end of file
diff --git a/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/Sen2VMHelp.html b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/Sen2VMHelp.html
new file mode 100644
index 0000000..6d5d7ac
--- /dev/null
+++ b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/Sen2VMHelp.html
@@ -0,0 +1,44 @@
+
+
+
+
+ Optical Toolbox Help - Sen2VM
+
+
+
+
+
+
+
+Sen2VM Overview
+
+
+ For Sen2VM documentation and Software User Manual please visit sen2vm-snap-plugin
+
+
+
+
\ No newline at end of file
diff --git a/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/help.hs b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/help.hs
new file mode 100644
index 0000000..dcc114c
--- /dev/null
+++ b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/help.hs
@@ -0,0 +1,24 @@
+
+
+
+
+ Sen2VM Processor Help
+
+ top
+
+
+
+ TOC
+
+ javax.help.TOCView
+ toc.xml
+
+
+ Search
+
+ javax.help.SearchView
+ JavaHelpSearch
+
+
diff --git a/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/images/sec2corParamesters.png b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/images/sec2corParamesters.png
new file mode 100644
index 0000000..7019e4e
Binary files /dev/null and b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/images/sec2corParamesters.png differ
diff --git a/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/images/snap_header.jpg b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/images/snap_header.jpg
new file mode 100644
index 0000000..d034251
Binary files /dev/null and b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/images/snap_header.jpg differ
diff --git a/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/map.jhm b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/map.jhm
new file mode 100644
index 0000000..34075f0
--- /dev/null
+++ b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/map.jhm
@@ -0,0 +1,10 @@
+
+
+
+
diff --git a/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/style.css b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/style.css
new file mode 100644
index 0000000..bef6212
--- /dev/null
+++ b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/style.css
@@ -0,0 +1,181 @@
+body {
+ background-color: #FFFFFF;
+ color: #000000;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12;
+ padding: 6pt;
+ margin: 6pt;
+}
+
+p {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ margin: 6pt;
+}
+
+.i1 {
+ margin-left: 30;
+}
+
+.i2 {
+ margin-left: 50;
+}
+
+.note {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ color: red;
+}
+
+.inote {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ background-color: #DDDDDD;
+}
+
+.code {
+ color: blue;
+ font-family: courier new, courier, Monospaced, cursive;
+ text-align: left;
+ font-weight: normal;
+ text-decoration: none;
+ font-style: normal;
+}
+
+h1 {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 25;
+ font-weight: bold;
+ margin-top: 18pt;
+ margin-right: 6pt;
+ margin-bottom: 12pt;
+ margin-left: 6pt;
+}
+
+h2 {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 21;
+ font-weight: bold;
+ margin-top: 18pt;
+ margin-right: 6pt;
+ margin-bottom: 12pt;
+ margin-left: 6pt;
+}
+
+h3 {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 18;
+ font-weight: bold;
+ margin-top: 18pt;
+ margin-right: 6pt;
+ margin-bottom: 12pt;
+ margin-left: 6pt;
+}
+
+h4 {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 15;
+ font-weight: bold;
+ margin-top: 18pt;
+ margin-right: 6pt;
+ margin-bottom: 6pt;
+ margin-left: 6pt;
+}
+
+h5 {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12;
+ font-weight: bold;
+ margin-top: 18pt;
+ margin-right: 6pt;
+ margin-bottom: 6pt;
+ margin-left: 6pt;
+}
+
+h6 {
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 11;
+ font-weight: bold;
+ margin-top: 18pt;
+ margin-right: 6pt;
+ margin-bottom: 6pt;
+ margin-left: 6pt;
+}
+
+li {
+ margin-top: 4pt;
+ margin-bottom: 4pt;
+}
+
+table {
+ border-width: 0;
+ border-collapse: collapse;
+ padding: 1px;
+ margin: 0;
+}
+
+invisibletable {
+ border-width: 0;
+ border-style: solid;
+ border-color: #FFFFFF;
+ border-collapse: collapse;
+ padding: 1px;
+ margin: 0;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ font-style: normal;
+}
+
+th {
+ font-size: 12;
+ text-align: left;
+ border-width: 1;
+ border-color: #BBBBBB;
+ border-style: solid;
+ border-collapse: collapse;
+ padding-left: 6px;
+ padding-right: 6px;
+ padding-top: 3px;
+ padding-bottom: 3px;
+}
+
+td {
+ font-size: 11;
+ border-width: 1;
+ border-color: #BBBBBB;
+ border-style: solid;
+ border-collapse: collapse;
+ border-spacing: 0;
+ padding: 0;
+ padding-left: 6px;
+ padding-right: 6px;
+ vertical-align: top;
+}
+
+table.header {
+ width: 100%;
+ height: 29;
+ font-size: 17;
+ color: #ffffff;
+ vertical-align: middle;
+ background-color: #024150;
+ border-width: 0;
+ padding: 0;
+ margin: 0;
+}
+
+.header {
+ font-size: 17;
+ height: 29;
+ color: #ffffff;
+ vertical-align: middle;
+ background-color: #024150;
+ border-width: 0;
+ padding: 0;
+ white-space: nowrap;
+}
+
+hr {
+ height: 4;
+ color: #000063;
+ border-color: #000063;
+ border-style: solid;
+ border-width: 1;
+}
diff --git a/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/toc.xml b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/toc.xml
new file mode 100644
index 0000000..bcf49db
--- /dev/null
+++ b/resources/eu/esa/opt/sta/adapters/sen2vm/help/docs/toc.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/sen2vm-template.vm b/resources/sen2vm-template.vm
new file mode 100644
index 0000000..dcbf941
--- /dev/null
+++ b/resources/sen2vm-template.vm
@@ -0,0 +1,153 @@
+-jar
+sen2vm-core/sen2vm-core-0.0.1-SNAPSHOT.jar
+esa.sen2vm.Sen2VM
+#if ($configurationFile && $parametersFile)
+--config
+$configurationFile
+--param
+$parametersFile
+#else
+#if ($operation)
+--operation
+$operation
+#end
+#if ($L1B)
+--l1b_product
+$L1B
+#end
+#if ($GIPP)
+--gipp_folder
+$GIPP
+#end
+#if ($dem)
+--dem_folder
+$dem
+#end
+#if ($geoid)
+--geoid_file
+$geoid
+#end
+#if ($step10 && $step20 && $step60)
+--steps
+$step10
+$step20
+$step60
+#end
+#if ($iers)
+--iers_file
+$iers
+#end
+#if ($deactivate_gipp_check)
+--deactivate_gipp_check
+#end
+#if ($ignore_refining)
+--ignore_refining
+#end
+#if ($export_altitude)
+--export_altitude
+#end
+#if ($pod)
+--pod_path $pod
+#end
+#if ($output_folder)
+--output_folder
+$output_folder
+#end
+#if ($referential)
+--referential
+$referential
+#end
+#if ($lrx)
+-lrx
+$lrx
+#end
+#if ($lry)
+-lry
+$lry
+#end
+#if ($ulx)
+-ulx
+$ulx
+#end
+#if ($uly)
+-uly
+$uly
+#end
+--detectors
+#if ($detector_01)
+01
+#end
+#if ($detector_02)
+02
+#end
+#if ($detector_03)
+03
+#end
+#if ($detector_04)
+04
+#end
+#if ($detector_05)
+05
+#end
+#if ($detector_06)
+06
+#end
+#if ($detector_07)
+07
+#end
+#if ($detector_08)
+08
+#end
+#if ($detector_09)
+09
+#end
+#if ($detector_10)
+10
+#end
+#if ($detector_11)
+11
+#end
+#if ($detector_12)
+12
+#end
+--bands
+#if ($band_01)
+B01
+#end
+#if ($band_02)
+B02
+#end
+#if ($band_03)
+B03
+#end
+#if ($band_04)
+B04
+#end
+#if ($band_05)
+B05
+#end
+#if ($band_06)
+B06
+#end
+#if ($band_07)
+B07
+#end
+#if ($band_8A)
+B8A
+#end
+#if ($band_08)
+B08
+#end
+#if ($band_09)
+B09
+#end
+#if ($band_10)
+B10
+#end
+#if ($band_11)
+B11
+#end
+#if ($band_12)
+B12
+#end
+#end
\ No newline at end of file
diff --git a/src/main/java/esa/sen2vm/App.java b/src/main/java/esa/sen2vm/App.java
deleted file mode 100644
index a57af07..0000000
--- a/src/main/java/esa/sen2vm/App.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package esa.sen2vm;
-
-/**
- * Hello world!
- *
- */
-public class App
-{
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
- }
-}
diff --git a/src/main/java/eu/esa/opt/sta/adapters/sen2vm/help/docs/package-info.java b/src/main/java/eu/esa/opt/sta/adapters/sen2vm/help/docs/package-info.java
new file mode 100644
index 0000000..e1234ce
--- /dev/null
+++ b/src/main/java/eu/esa/opt/sta/adapters/sen2vm/help/docs/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2014-2015 CS-SI (foss-contact@thor.si.c-s.fr)
+ * Copyright (C) 2014-2015 CS-Romania (office@c-s.ro)
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 3 of the License, or (at your option)
+ * any later version.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, see http://www.gnu.org/licenses/
+ */
+
+@HelpSetRegistration(helpSet = "help.hs", position = 4320)
+package eu.esa.opt.sta.adapters.sen2vm.help.docs;
+
+import eu.esa.snap.netbeans.javahelp.api.HelpSetRegistration;
\ No newline at end of file
diff --git a/src/main/nbm/manifest.mf b/src/main/nbm/manifest.mf
new file mode 100755
index 0000000..aced2ee
--- /dev/null
+++ b/src/main/nbm/manifest.mf
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+OpenIDE-Module-Specification-Version: 1.0.0
+OpenIDE-Module-Implementation-Version: 1.0.0
+OpenIDE-Module-Name: Sentinel-2 Sen2VM v1.0.0
+OpenIDE-Module-Display-Category: SNAP Supported Plugins
+AutoUpdate-Show-In-Client: false
+AutoUpdate-Essential-Module: false
+OpenIDE-Module-Java-Dependencies: Java > 11
+OpenIDE-Module-Type: STA
+OpenIDE-Module-Short-Description: Sen2VM v1.0.0
+OpenIDE-Module: org.esa.sen2vm
+OpenIDE-Module-Alias: Sen2VM
+OpenIDE-Module-Module-Dependencies: org.esa.snap.snap.sta, org.esa.snap.snap.sta.ui
diff --git a/src/test/java/esa/sen2vm/AppTest.java b/src/test/java/esa/sen2vm/AppTest.java
deleted file mode 100644
index 8d708fe..0000000
--- a/src/test/java/esa/sen2vm/AppTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package esa.sen2vm;
-
-import static org.junit.jupiter.api.Assertions.assertAll;
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assertions.assertThrows;
-import static org.junit.jupiter.api.Assertions.assertTimeout;
-import static org.junit.jupiter.api.Assertions.assertTimeoutPreemptively;
-import static org.junit.jupiter.api.Assertions.assertTrue;
-
-import org.junit.jupiter.api.Test;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest
-{
- /**
- * Rigorous Test :-)
- */
- @Test
- public void shouldAnswerWithTrue()
- {
- assertTrue( true );
- }
-}