- sandbox.publish('currentNodeElementChanged', currentNodeElement);
- },
- highlightElement: function(node) {
- canvas.toggleElementHighlight(node, true);
- },
- dimElement: function(node) {
- canvas.toggleElementHighlight(node, false);
- },
- jumpToElement: function(node) {
- canvas.setCurrentElement(node);
- },
- command: function(command, params) {
- commands.run(command, params, canvas);
- sandbox.publish('contentChanged');
+
+ logger.debug('No valid fragment returned from the action');
+
+ (actionHandlers[action.getPluginName()] || []).forEach(function(handler) {
+ handler(canvas, action, ret);
+ });