org.jbpm.designer.public.js.Plugins.activenodeshighlighter.js Maven / Gradle / Ivy
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