Basic Reference Check Action Mapping
This commit is contained in:
1 parent
3276c8b8b9
commit
9870d01354
3 files changed
+18
-1
No files matched your search
@@ -37,6 +37,13 @@
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "Workspace",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Check For Missing References",
|
||||
"label": "Check For Missing References",
|
||||
"workDoneLabel": "Done",
|
||||
"relatedUiObject": "Workspace",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"initialValues": {
|
||||
|
||||
@@ -724,6 +724,11 @@ function newFoundationsActionSwitch() {
|
||||
UI.projects.foundations.functionLibraries.workspaceFunctions.addMissingWorkspaceProjects(action.node, action.rootNodes)
|
||||
}
|
||||
break
|
||||
case 'Check For Missing References':
|
||||
{
|
||||
UI.projects.foundations.functionLibraries.workspaceFunctions.checkForMissingReferences()
|
||||
}
|
||||
break
|
||||
case 'Switch To Forward Testing':
|
||||
{
|
||||
action.node.type = "Forward Testing Session"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
function newFoundationsFunctionLibraryWorkspaceFunctions() {
|
||||
let thisObject = {
|
||||
addMissingWorkspaceProjects: addMissingWorkspaceProjects
|
||||
addMissingWorkspaceProjects: addMissingWorkspaceProjects,
|
||||
checkForMissingReferences: checkForMissingReferences
|
||||
}
|
||||
|
||||
return thisObject
|
||||
@@ -26,4 +27,8 @@ function newFoundationsFunctionLibraryWorkspaceFunctions() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function checkForMissingReferences() {
|
||||
console.log("this action is working")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user