-
- nodeElementChange: function(attr, value) {
- sandbox.getModule('documentCanvas').modifyCurrentNodeElement(attr, value);
- }
- };
-
- eventHandlers.metadataEditor = {
- ready: function() {
- sandbox.getModule('metadataEditor').setDocument(sandbox.getModule('data').getDocument());
- views.visualEditingSidebar.addTab({icon: 'info-sign'}, 'metadataEditor', sandbox.getModule('metadataEditor').getView());
- }
- };
-
- eventHandlers.nodeFamilyTree = {
- ready: function() {
- views.currentNodePaneLayout.appendView(sandbox.getModule('nodeFamilyTree').getView());
- },
- elementEntered: function(element) {
- commands.highlightDocumentElement(element, 'nodeFamilyTree');
- },
- elementLeft: function(element) {
- commands.dimDocumentElement(element, 'nodeFamilyTree');
- },
- elementClicked: function(element) {
- commands.jumpToDocumentElement(element);