Commit 598754b6c0b3c31a1374fc50989686c45de5bc29

Authored by Nathanael Jourdane
1 parent c7f2e83c

Add the Interop help page

help/epnTapHOWTO deleted
... ... @@ -1 +0,0 @@
1   -Fill the fields on the top of the window to apply a filter on epn-tap data, then select a line in the table.
help/epnTapHelp deleted
... ... @@ -1,3 +0,0 @@
1   -<h1>EPN-TAP Help</h1>
2   -
3   -<p>This is a useful help page. Enjoy.</p>
help/images/epntap_from_tree.png 0 → 100644

25.3 KB

help/interopHelp.html 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +<h1>Interop module</h1>
  2 +
  3 +<h2>SAMP</h2>
  4 +
  5 +<p>The SAMP module</p>
  6 +
  7 +<h2>Remote Data Base</h2>
  8 +
  9 +<p>The Remote Data Base module</p>
  10 +
  11 +<h2>EPN-TAP</h2>
  12 +
  13 +<p>This module aims to access remote data from EPN-TAP services.</p>
  14 +
  15 +<p>Fill the fields on the top of the window to apply a filter and click on <em>Get services</em> button, then select a service in the left panel.</p>
  16 +<p>You can also launch this module from the AMDA tree, by selecting <em>Display EPN-TAP services</em> on the mission contextual menu:</p><br/>
  17 +
  18 +<img src="help/images/epntap_from_tree.png">
... ...
js/app/controllers/InteropModule.js
... ... @@ -30,10 +30,11 @@ Ext.define(&#39;amdaDesktop.InteropModule&#39;, {
30 30 * @cfg {String} window definitions
31 31 * @required
32 32 */
33   - height: 650,
34   - width: 1050,
35   - uiType : 'panelInterop',
36   - helpTitle :'Help on Interop Module',
  33 + height: 650,
  34 + width: 1050,
  35 + uiType: 'panelInterop',
  36 + helpFile: 'interopHelp.html',
  37 + helpTitle: 'Help on Interop Module',
37 38  
38 39 samp: null,
39 40  
... ... @@ -406,6 +407,16 @@ Ext.define(&#39;amdaDesktop.InteropModule&#39;, {
406 407 stateful: true,
407 408 stateId: this.id,
408 409 stateEvents: ['move','show','resize'],
  410 + tools: [{
  411 + type:'help',
  412 + qtip: this.helpTitle,
  413 + scope:this,
  414 + handler: function(event, toolEl, panel) {
  415 + myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.info.id, true, function(module) {
  416 + module.createWindow(me.helpFile, me.helpTitle);
  417 + });
  418 + }
  419 + }],
409 420 items: [{
410 421 xtype: 'panelInterop',
411 422 clientsStore: this.sampclientsStore,
... ...