chore(replace): directly expose #getReplaceOptions
This commit is contained in:
parent
6f3dadd403
commit
21d68799ad
|
@ -221,7 +221,7 @@ function BpmnReplace(bpmnFactory, moddle, popupMenu, replace, selection, modelin
|
|||
}
|
||||
|
||||
|
||||
function getReplaceOptions(element) {
|
||||
this.getReplaceOptions = function(element) {
|
||||
|
||||
var menuEntries = [];
|
||||
var businessObject = element.businessObject;
|
||||
|
@ -407,10 +407,11 @@ function BpmnReplace(bpmnFactory, moddle, popupMenu, replace, selection, modelin
|
|||
}
|
||||
|
||||
return menuEntries;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* [function description]
|
||||
* Open a replace chooser for an element on the specified position.
|
||||
*
|
||||
* @param {Object} position
|
||||
* @param {Object} element
|
||||
*/
|
||||
|
@ -437,8 +438,6 @@ function BpmnReplace(bpmnFactory, moddle, popupMenu, replace, selection, modelin
|
|||
});
|
||||
};
|
||||
|
||||
this.getReplaceOptions = getReplaceOptions;
|
||||
|
||||
this.getLoopEntries = getLoopEntries;
|
||||
|
||||
this.getAdHocEntry = getAdHocEntry;
|
||||
|
|
Loading…
Reference in New Issue