@@ -53,15 +53,6 @@ const definitions = [
5353 commandName : 'setToolActive' ,
5454 commandOptions : { toolName : 'Zoom' } ,
5555 } ,
56- {
57- id : 'Wwwc' ,
58- label : 'Levels' ,
59- icon : 'level' ,
60- //
61- type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
62- commandName : 'setToolActive' ,
63- commandOptions : { toolName : 'Wwwc' } ,
64- } ,
6556 {
6657 id : 'Pan' ,
6758 label : 'Pan' ,
@@ -72,31 +63,30 @@ const definitions = [
7263 commandOptions : { toolName : 'Pan' } ,
7364 } ,
7465 {
75- id : 'Length ' ,
76- label : 'Length ' ,
77- icon : 'measure-temp ' ,
66+ id : 'Wwwc ' ,
67+ label : 'Levels ' ,
68+ icon : 'level ' ,
7869 //
7970 type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
8071 commandName : 'setToolActive' ,
81- commandOptions : { toolName : 'Length ' } ,
72+ commandOptions : { toolName : 'Wwwc ' } ,
8273 } ,
8374 {
84- id : 'ArrowAnnotate ' ,
85- label : 'Annotate ' ,
86- icon : 'measure-non-target ' ,
75+ id : 'WwwcRegion ' ,
76+ label : 'ROI Window ' ,
77+ icon : 'stop ' ,
8778 //
8879 type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
8980 commandName : 'setToolActive' ,
90- commandOptions : { toolName : 'ArrowAnnotate ' } ,
81+ commandOptions : { toolName : 'WwwcRegion ' } ,
9182 } ,
9283 {
93- id : 'Angle ' ,
94- label : 'Angle ' ,
95- icon : 'angle-left ' ,
84+ id : 'Invert ' ,
85+ label : 'Invert ' ,
86+ icon : 'adjust ' ,
9687 //
97- type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
98- commandName : 'setToolActive' ,
99- commandOptions : { toolName : 'Angle' } ,
88+ type : TOOLBAR_BUTTON_TYPES . COMMAND ,
89+ commandName : 'invertViewport' ,
10090 } ,
10191 {
10292 id : 'Reset' ,
@@ -130,50 +120,6 @@ const definitions = [
130120 commandName : 'setToolActive' ,
131121 commandOptions : { toolName : 'Magnify' } ,
132122 } ,
133- {
134- id : 'WwwcRegion' ,
135- label : 'ROI Window' ,
136- icon : 'stop' ,
137- //
138- type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
139- commandName : 'setToolActive' ,
140- commandOptions : { toolName : 'WwwcRegion' } ,
141- } ,
142- {
143- id : 'DragProbe' ,
144- label : 'Probe' ,
145- icon : 'dot-circle' ,
146- //
147- type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
148- commandName : 'setToolActive' ,
149- commandOptions : { toolName : 'DragProbe' } ,
150- } ,
151- {
152- id : 'EllipticalRoi' ,
153- label : 'Ellipse' ,
154- icon : 'circle-o' ,
155- //
156- type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
157- commandName : 'setToolActive' ,
158- commandOptions : { toolName : 'EllipticalRoi' } ,
159- } ,
160- {
161- id : 'RectangleRoi' ,
162- label : 'Rectangle' ,
163- icon : 'square-o' ,
164- //
165- type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
166- commandName : 'setToolActive' ,
167- commandOptions : { toolName : 'RectangleRoi' } ,
168- } ,
169- {
170- id : 'Invert' ,
171- label : 'Invert' ,
172- icon : 'adjust' ,
173- //
174- type : TOOLBAR_BUTTON_TYPES . COMMAND ,
175- commandName : 'invertViewport' ,
176- } ,
177123 {
178124 id : 'RotateRight' ,
179125 label : 'Rotate Right' ,
@@ -198,23 +144,6 @@ const definitions = [
198144 type : TOOLBAR_BUTTON_TYPES . COMMAND ,
199145 commandName : 'flipViewportVertical' ,
200146 } ,
201- {
202- id : 'Clear' ,
203- label : 'Clear' ,
204- icon : 'trash' ,
205- //
206- type : TOOLBAR_BUTTON_TYPES . COMMAND ,
207- commandName : 'clearAnnotations' ,
208- } ,
209- {
210- id : 'Bidirectional' ,
211- label : 'Bidirectional' ,
212- icon : 'measure-target' ,
213- //
214- type : TOOLBAR_BUTTON_TYPES . SET_TOOL_ACTIVE ,
215- commandName : 'setToolActive' ,
216- commandOptions : { toolName : 'Bidirectional' } ,
217- } ,
218147 {
219148 id : 'Download' ,
220149 label : 'Download' ,
0 commit comments