Added other required definitions.
This commit is contained in:
1 parent
41c508b2da
commit
07ca72d0df
5 files changed
+112
-50
No files matched your search
@@ -30,6 +30,7 @@ const Header = ({ tools, moreTools }) => {
|
||||
{ name: 'Bone', value: '2500 / 480' },
|
||||
{ name: 'Brain', value: '80 / 40' },
|
||||
];
|
||||
|
||||
/*
|
||||
const tools = [
|
||||
{
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
const TOOLBAR_BUTTON_TYPES = {
|
||||
COMMAND: 'command',
|
||||
SET_TOOL_ACTIVE: 'setToolActive',
|
||||
BUILT_IN: 'builtIn',
|
||||
};
|
||||
|
||||
const definitions = [
|
||||
{
|
||||
id: 'Layout',
|
||||
label: 'Layout',
|
||||
icon: 'tool-layout',
|
||||
commandName: TOOLBAR_BUTTON_TYPES.SET_TOOL_ACTIVE,
|
||||
commandOptions: { toolName: 'Layout' }, // TODO
|
||||
},
|
||||
];
|
||||
|
||||
export default function getToolbarModule() {
|
||||
return { definitions, defaultContext: 'ACTIVE_VIEWPORT::CORNERSTONE' };
|
||||
}
|
||||
@@ -3,6 +3,7 @@ import getDataSourcesModule from './getDataSourcesModule.js';
|
||||
import getLayoutTemplateModule from './getLayoutTemplateModule.js';
|
||||
import getPanelModule from './getPanelModule.js';
|
||||
import getSopClassHandlerModule from './getSopClassHandlerModule.js';
|
||||
import getToolbarModule from './getToolbarModule.js';
|
||||
import id from './id';
|
||||
|
||||
export default {
|
||||
@@ -15,4 +16,5 @@ export default {
|
||||
getLayoutTemplateModule,
|
||||
getPanelModule,
|
||||
getSopClassHandlerModule,
|
||||
getToolbarModule,
|
||||
};
|
||||
Reference in new issue
Block a user