DataInputAssociationBehavior.d.ts 704 B

123456789101112131415161718192021
  1. /**
  2. * This behavior makes sure we always set a fake
  3. * DataInputAssociation#targetRef as demanded by the BPMN 2.0
  4. * XSD schema.
  5. *
  6. * The reference is set to a bpmn:Property{ name: '__targetRef_placeholder' }
  7. * which is created on the fly and cleaned up afterwards if not needed
  8. * anymore.
  9. *
  10. */
  11. export default class DataInputAssociationBehavior extends CommandInterceptor {
  12. /**
  13. * @param eventBus
  14. * @param bpmnFactory
  15. */
  16. constructor(eventBus: EventBus, bpmnFactory: BpmnFactory);
  17. }
  18. type EventBus = import('diagram-js/lib/core/EventBus').default;
  19. type BpmnFactory = import('../BpmnFactory').default;
  20. import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor';