- dimDocumentElement: function(element, origin) {
- //'nodeBreadCrumbs', 'nodeFamilyTree'
- ['documentCanvas', 'nodeFamilyTree'].forEach(function(moduleName) {
- if(!origin || moduleName !== origin) {
- sandbox.getModule(moduleName).dimElement(element);
- }
- });
- },
- jumpToDocumentElement: function(element) {
- sandbox.getModule('documentCanvas').jumpToElement(element);
- },
- updateCurrentNodeElement: function(nodeElement) {
- sandbox.getModule('nodePane').setNodeElement(nodeElement);
- sandbox.getModule('nodeFamilyTree').setElement(nodeElement);
- sandbox.getModule('nodeBreadCrumbs').setNodeElement(nodeElement);
- sandbox.getModule('documentToolbar').setNodeElement(nodeElement);
- sandbox.getModule('metadataEditor').setNodeElement(nodeElement);
- },
- updateCurrentTextElement: function(textElement) {
- sandbox.getModule('nodeFamilyTree').setElement(textElement);
- }