40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import ToolbarDivider from './Toolbar/ToolbarDivider';
|
|
import ToolbarLayoutSelectorWithServices from './Toolbar/ToolbarLayoutSelector';
|
|
import ToolbarSplitButtonWithServices from './Toolbar/ToolbarSplitButtonWithServices';
|
|
import ToolbarButtonWithServices from './Toolbar/ToolbarButtonWithServices';
|
|
|
|
export default function getToolbarModule({ commandsManager, servicesManager }) {
|
|
return [
|
|
{
|
|
name: 'ohif.divider',
|
|
defaultComponent: ToolbarDivider,
|
|
clickHandler: () => {},
|
|
},
|
|
{
|
|
name: 'ohif.action',
|
|
defaultComponent: ToolbarButtonWithServices,
|
|
clickHandler: () => {},
|
|
},
|
|
{
|
|
name: 'ohif.radioGroup',
|
|
defaultComponent: ToolbarButtonWithServices,
|
|
clickHandler: () => {},
|
|
},
|
|
{
|
|
name: 'ohif.splitButton',
|
|
defaultComponent: ToolbarSplitButtonWithServices,
|
|
clickHandler: () => {},
|
|
},
|
|
{
|
|
name: 'ohif.layoutSelector',
|
|
defaultComponent: ToolbarLayoutSelectorWithServices,
|
|
clickHandler: (evt, clickedBtn, btnSectionName) => {},
|
|
},
|
|
{
|
|
name: 'ohif.toggle',
|
|
defaultComponent: ToolbarButtonWithServices,
|
|
clickHandler: () => {},
|
|
},
|
|
];
|
|
}
|