Refactor vtk extension; re-add to app

This commit is contained in:
dannyrb committed 2019-06-16 23:11:43 -04:00
1 parent f90578f567
commit d5b4cb7b07
6 files changed
+64 -156

No files matched your search

+20 -3
View File
@@ -1,7 +1,24 @@
import OHIFVTKViewport from './OHIFVTKViewport.js';
import commandsModule from './commandsModule.js';
// This feels weird
import loadLocales from './loadLocales';
import toolbarModule from './toolbarModule.js';
import OHIFVTKExtension from './OHIFVTKExtension.js';
export default {
/**
* Only required property. Should be a unique value across all extensions.
*/
id: 'vtk',
getViewportModule() {
return OHIFVTKViewport;
},
getToolbarModule() {
return toolbarModule;
},
getCommandsModule() {
return commandsModule;
}
};
loadLocales();
export default OHIFVTKExtension;