提交 | 用户 | 时间 | ||
759b1c | 1 | import BpmnRules from "bpmn-js/lib/features/rules/BpmnRules"; |
H | 2 | import inherits from "inherits"; |
3 | ||
4 | export default function CustomRules(eventBus) { | |
5 | BpmnRules.call(this, eventBus); | |
6 | } | |
7 | ||
8 | inherits(CustomRules, BpmnRules); | |
9 | ||
10 | CustomRules.prototype.canDrop = function() { | |
11 | return false; | |
12 | }; | |
13 | ||
14 | CustomRules.prototype.canMove = function() { | |
15 | return false; | |
16 | }; |