Class contextmenu.ACTION

ACTION

Class Summary
Constructor Attributes Constructor Name and Description
 
ContextMenu based All the actions will be defined under this class.

Method Summary

Class Detail

contextmenu.ACTION()
ContextMenu based All the actions will be defined under this class.
require('contextmenu').ACTION

Method Detail

  • <static> contextmenu.ACTION.applyGroupFormula()
    method to apply group formula for a group without groupformula, it calls Editor Controller to open up and the groupObject will be passed.
  • <static> contextmenu.ACTION.createGroup()
    This method calls openCreateGroupModal method to openup the Modal Panel to create a group.
  • <static> contextmenu.ACTION.deleteGroup()
    Action to delete a group where the event happened, which is recorded in the contextmenu.EVENT_TARGET, It calls nexcelUI.deleteGroup to delete.
  • <static> contextmenu.ACTION.editGroup()
    Action to edit a group where the event happened, which is recorded in the contextmenu.EVENT_TARGET, It calls contextmenu.openCreateGroupModal to setup the MDI.
  • <static> contextmenu.ACTION.editGroupFormula()
    It calls EditorController to open up Expression editor to edit the formula for the group where the user applied meu event.
  • <static> contextmenu.ACTION.explainGroupValueCalculation()
    method to present Explanation Graph UI by calling the GraphController
  • <static> contextmenu.ACTION.openCreateGroupModal(renameGroup, oldname)
    It setups the Create Group MDI view contents dynamically.
    Parameters:
    {boolean} renameGroup
    whether it is renaming the group or not.
    oldname
    if it is renaming the old name should be passed, to present in the view.
  • <static> contextmenu.ACTION.removeGroupFormula()
    It removes teh group formula and will update the server
  • <static> contextmenu.ACTION.viewEvaluationGraph()
    Action to show the evaluation Graph with the fromula associated with EVENT_TARGET group.