dmn-js-decision-table
Version:
A decision table view for dmn-js
16 lines • 524 B
JavaScript
import TypeRefCellContextMenu from './components/TypeRefCellContextMenu';
const LOW_PRIORITY = 750;
export default class TypeRef {
constructor(components) {
components.onGetComponent('context-menu', LOW_PRIORITY, (context = {}) => {
const {
contextMenuType
} = context;
if (contextMenuType === 'input-edit' || contextMenuType === 'output-edit') {
return TypeRefCellContextMenu;
}
});
}
}
TypeRef.$inject = ['components'];
//# sourceMappingURL=TypeRefEditingProvider.js.map