diff --git a/js/app/models/AmdaNode.js b/js/app/models/AmdaNode.js index f97972a..ee71e0c 100644 --- a/js/app/models/AmdaNode.js +++ b/js/app/models/AmdaNode.js @@ -135,6 +135,9 @@ Ext.define('amdaModel.AmdaNode', { else if (this.get('isParameter')) { itemKind = amdaUI.ExplorerUI.ITEM_KIND_PARA; } + else if (this.get('rank')) { + itemKind = amdaUI.ExplorerUI.ITEM_KIND_MISS; + } // other case else { itemKind = amdaUI.ExplorerUI.ITEM_KIND_DIRE; diff --git a/js/app/models/LocalParamNode.js b/js/app/models/LocalParamNode.js index a83b97f..099612e 100644 --- a/js/app/models/LocalParamNode.js +++ b/js/app/models/LocalParamNode.js @@ -95,6 +95,10 @@ Ext.define('amdaModel.LocalParamNode', text : 'Close All', hidden : true }, { + fnId : 'miss-collapseAll', + text : 'Close All', + hidden : true + }, { fnId : 'para-plotParam', text : 'Plot Parameter', hidden : true @@ -119,9 +123,9 @@ Ext.define('amdaModel.LocalParamNode', text : 'Download Parameter', hidden : true }, { - fnId : 'dire-epnTap', + fnId : 'miss-epnTap', text : 'Display EPN-TAP services', - hidden : false + hidden : true }]; return menuItems; @@ -134,6 +138,7 @@ Ext.define('amdaModel.LocalParamNode', { case 'root-collapseAll': case 'dire-collapseAll': + case 'miss-collapseAll': if(this && !this.isLeaf()) { this.collapse(true); } @@ -158,7 +163,7 @@ Ext.define('amdaModel.LocalParamNode', else myDesktopApp.warningMsg("Sorry! access to this parameter is restricted"); break; - case 'dire-epnTap': + case 'miss-epnTap': this.displayEpnTap(); default: break; diff --git a/js/app/views/ExplorerUI.js b/js/app/views/ExplorerUI.js index 36fbbd8..391bc0d 100644 --- a/js/app/views/ExplorerUI.js +++ b/js/app/views/ExplorerUI.js @@ -101,6 +101,7 @@ Ext.define('amdaUI.ExplorerUI', { ITEM_KIND_LEAF : 'leaf', ITEM_KIND_DIRE : 'dire', ITEM_KIND_PARA : 'para', + ITEM_KIND_MISS : 'miss' }, initComponent : function (config) { -- libgit2 0.21.2