Skip to content

lib-finStackHubTools 库参考 ​

原文: https://finproducts.atlassian.net/wiki/spaces/JIDD3/pages/34793554281/FIN+5.3.1+lib-finStackHubTools 中文整理基于 FIN 5.3.1

导读: 本页为 lib-finStackHubTools 的 API / 标签 / 函数参考文档。

以下为 API 参考,保留英文以便对照源码;目录已列出(英文标题便于检索);概述已尽量中译。


目录(导读) ​


概述(中译) ​

FIN StackHub 应用


API 正文(英文) ​

docs ​

FIN StackHub Tools Ext • Change Log


funcs ​

stackhubMobileAxon function

lib finStackHubTools ​

FIN StackHub Tools Ext ​

This Ext adds a FIN|Stack app and tools to interact with StackHub.

Change Log ​

v 0.1.0 - Pod Creation. v 0.1.1 - Added settings icon and login/logout forms. v 0.1.2 - Added progress and confirmation forms for pod installation. v 0.1.3 - Ability to update one pod at a time through finMobile v 0.1.8 - Changed wording to match FIN Mobile. v 5.0.0 - Converted tools and menu items to work with SkySpark 3.0 API, moved menu items from finStackMobileExt to here. v 5.0.1 - Fixed some minor issues. V 5.0.2 - Fixed issue where pods downloaded from StackHub would not appear until FIN Stack was restarted. Added pod icons. v 5.0.3 - Removes link to old flash UI, also changed location of pods being downloaded to where main pods are stored. v 5.0.4 - "Update Pods" menu item badge updated to reflect number of pods below current version. "Update Pods" form shows alert when there are no pods to update.



def ​

func:stackhubMobile ​

stackhubMobile() ​

Axon function


meta ​

deffunc:stackhubMobile
finStackMobileMenu✓
isfunc
liblib:finStackHubTools
namestackhubMobile
private✓

supertypes ​

featureFeature namespace of definitions formatted as feature:name
funcAxon function

src ​

() => do
  whereTo: ""

  if(not exts2().finGridFilter(extStatus != "disabled" and name == "finStackHubTools").isEmpty)
  do
    whereTo = "window.app.ObtainMenu(null, null, 'stackhubApp', " + stackhubMenuSettings().toAxonCode + ")" //].concat("\n") /*"window.app.LoadApplication('"+finCreateEmbeddedLink("install")+"')",*/

    return [{
      displayName: toLocale("finStackExt::rightMenuStackHub"),
      link: "",
      appId: "stackhubApp",
      icon: "icon-store",
      iconType: "class",
      hasBadge: false,
      badgeValue: "15",
      badgeType: "normal",
      action:  whereTo,
      level: 0,
      order: 208,
      ui: "html",
      keepOpen: true
     }]
  end

  return []
end