2020-05-13 14:22:08 +02:00
|
|
|
const TOOLBAR_BUTTON_TYPES = {
|
|
|
|
|
COMMAND: 'command',
|
|
|
|
|
SET_TOOL_ACTIVE: 'setToolActive',
|
|
|
|
|
BUILT_IN: 'builtIn',
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const definitions = [
|
|
|
|
|
{
|
|
|
|
|
id: 'Layout',
|
|
|
|
|
label: 'Layout',
|
|
|
|
|
icon: 'tool-layout',
|
2020-05-24 05:57:14 +02:00
|
|
|
commandName: 'toggleLayoutSelectionDialog',
|
|
|
|
|
commandOptions: { },
|
2020-05-13 14:22:08 +02:00
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export default function getToolbarModule() {
|
|
|
|
|
return { definitions, defaultContext: 'ACTIVE_VIEWPORT::CORNERSTONE' };
|
|
|
|
|
}
|