How to use the bpmn-js-properties-panel/lib/PropertiesActivator.call function in bpmn-js-properties-panel

To help you get started, we’ve selected a few bpmn-js-properties-panel examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bptlab / chor-js / app / choreo-modeler / properties-panel / ChoreoPropertiesProvider.js View on Github external
export default function ChoreoPropertiesProvider(
    eventBus, bpmnFactory, elementRegistry,
    translate) {

  PropertiesActivator.call(this, eventBus);

  this.getTabs = function(element) {

    var generalTab = {
      id: 'general',
      label: 'General',
      groups: createGeneralTabGroups(element, bpmnFactory, elementRegistry, translate)
    };

    // The "magic" tab
    var magicTab = {
      id: 'magic',
      label: 'Magic',
      groups: createMagicTabGroups(element, elementRegistry)
    };
github bpmn-io / bpmn-js-examples / properties-panel-extension / app / provider / magic / MagicPropertiesProvider.js View on Github external
export default function MagicPropertiesProvider(
    eventBus, bpmnFactory, canvas,
    elementRegistry, translate) {

  PropertiesActivator.call(this, eventBus);

  this.getTabs = function(element) {

    var generalTab = {
      id: 'general',
      label: 'General',
      groups: createGeneralTabGroups(element, bpmnFactory, canvas, elementRegistry, translate)
    };

    // The "magic" tab
    var magicTab = {
      id: 'magic',
      label: 'Magic',
      groups: createMagicTabGroups(element)
    };
github orlenyslp / Caterpillar / v1.0 / execution-panel / src / app / modeler / props-provider.ts View on Github external
export function CustomPropertiesProvider(eventBus: any, bpmnFactory: any, elementRegistry: any) {

    PropertiesActivator.call(this, eventBus);

    this.getTabs = function (element: any) {

        const generalTab = {
            id: 'general',
            label: 'General',
            groups: createGeneralTabGroups(element, bpmnFactory, elementRegistry)
        };

        return [
            generalTab
        ];
    };
}
github bptlab / scylla / app / app / panelExtension / ScyllaPropertiesProvider.js View on Github external
export default function ScyllaPropertiesProvider(eventBus, bpmnFactory, elementRegistry, translate) {

    PropertiesActivator.call(this, eventBus);
    
    this.getTabs = function(element) {

        
        var generalTab = {
            id: 'general',
            label: 'General',
            groups: createGeneralTabGroups(element, bpmnFactory, elementRegistry, translate)
        };

        var scyllaTab = {
            id: 'scylla',
            label: 'Scylla',
            groups: createScyllaTabGroups(element, elementRegistry)
        };

bpmn-js-properties-panel

A simple properties panel for bpmn-js

MIT
Latest version published 7 days ago

Package Health Score

90 / 100
Full package analysis