ScorecardCanvasService.replaceAdapter Method

Replace an existing adapter with another adapter.
 

Parameters

replacee

Type: Adapter
Adapter to be replaced.
replacer

Type: Adapter
Adapter to replace with.
isNotUndoable

Type: Boolean - May be null
(Optional) True to make this command not undoable.
options

Type: Object - May be null
(Optional) Options: 
     promise          [type: "jQuery.Promise", maybeNull: "true"]    - (Optional) The promise object to tell the async command to resolve or reject.
     afterInsertLogic [type:"Function", maybeNull: "true]            - (Optional) Logic to execute after inserting the replacer.
     afterRemoveLogic [type:"Function", maybeNull: "true]            - (Optional) Logic to execute after removing the replacee.
     isUndo           [type: "Boolean" default: "false"]             - True to designate this command as a result of an undo action.
     isRedo           [type: "Boolean" default: "false"]             - True to designate this command as a result of a redo action.
 

Return Value


Type: jquery.Promise
If options.promise is specified, then a jQuery.Promise object is return to indicate the status of the replacement logic.