install product in available trading mines
This commit is contained in:
1 parent
a3081bcf4c
commit
39443539fc
3 files changed
+21
No files matched your search
@@ -9,6 +9,17 @@
|
||||
"dontShowAtFullscreen": true,
|
||||
"actionFunction": "uiObject.configEditor.activate"
|
||||
},
|
||||
{
|
||||
"action": "Install Product",
|
||||
"label": "Install Product",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Proceed",
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "Product Definition",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"relatedUiObjectProject": "Foundations"
|
||||
},
|
||||
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
|
||||
@@ -446,6 +446,11 @@ function newFoundationsActionSwitch() {
|
||||
UI.projects.foundations.spaces.floatingSpace.moveFloatingObject(action.node.payload.position)
|
||||
}
|
||||
break
|
||||
case 'Install Product':
|
||||
{
|
||||
UI.projects.foundations.functionLibraries.productFunctions.installProduct(action.node, action.rootNodes)
|
||||
}
|
||||
break
|
||||
|
||||
default: {
|
||||
console.log("[WARN] Action sent to Foundations Action Switch does not belong here. Verify at the App Schema file of the node that triggered this action that the actionProject is pointing to the right project. -> Action = " + action.name + " -> Action Node Name = " + action.node.name)
|
||||
|
||||
@@ -371,6 +371,11 @@
|
||||
"propertyName": "cryptoEcosystemFunctions",
|
||||
"functionName": "newFoundationsFunctionLibraryCryptoEcosystemFunctions"
|
||||
},
|
||||
{
|
||||
"name": "Product Functions",
|
||||
"propertyName": "productFunctions",
|
||||
"functionName": "newFoundationsFunctionLibraryProductFunctions"
|
||||
},
|
||||
{
|
||||
"name": "Data Storage Functions",
|
||||
"propertyName": "dataStorageFunctions",
|
||||
|
||||
Reference in new issue
Block a user