All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jbpm.designer.public.js.Plugins.activenodeshighlighter.js Maven / Gradle / Ivy

There is a newer version: 7.73.0.Final
Show newest version
if (!ORYX.Plugins)
    ORYX.Plugins = {};

if (!ORYX.Config)
    ORYX.Config = {};

ORYX.Plugins.ActiveNodesHighlighter = Clazz.extend({
    construct: function(facade){
        this.facade = facade;

        this.facade.registerOnEvent(ORYX.CONFIG.EVENT_LOADED, this.highlightnodes.bind(this));
    },
    highlightnodes: function(options) {
        ORYX.EDITOR._canvas.getChildren().each((function(child) {
            this.applyHighlightingToChild(child);
        }).bind(this));
    },
    applyHighlightingToChild: function(child) {
        if(ORYX.COMPLETEDNODES) {
            for(var i=0;i 0) {
            for (var i = 0; i < child.getChildren().size(); i++) {
                this.applyHighlightingToChild(child.getChildren()[i]);
            }
        }
    }
});




© 2015 - 2025 Weber Informatics LLC | Privacy Policy