refactor: Viewports state (#1218)

* Organize viewports reducers

* Organize viewports actions

* Add local state to store dom node and remove hack

* Comment usage of dom in vtk

* Fix set of enabledElements

* Fix warning in html viewport

* Update docs for state

* Add commandsmanager to commandsmodule
This commit is contained in:
Igor Octaviano authored and Danny Brown committed 2019-12-02 11:29:04 -05:00
1 parent 0bb3eeb068
commit f396b30166
15 files changed
+505 -444

No files matched your search

@@ -69,6 +69,7 @@ export default class ExtensionManager {
if (extension.preRegistration) {
extension.preRegistration({
servicesManager: this._servicesManager,
commandsManager: this._commandsManager,
configuration,
});
}
@@ -112,6 +113,7 @@ export default class ExtensionManager {
try {
const extensionModule = getModuleFn({
servicesManager: this._servicesManager,
commandsManager: this._commandsManager,
});
if (!extensionModule) {