| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
ve.ui.CommentAnnotationInspectorTool = function VeUiCommentAnnotationInspectorTool() { |
| 17 |
ve.ui.CommentAnnotationInspectorTool.super.apply( this, arguments ); |
| 18 |
}; |
| 19 |
OO.inheritClass( ve.ui.CommentAnnotationInspectorTool, ve.ui.FragmentInspectorTool ); |
| 20 |
ve.ui.CommentAnnotationInspectorTool.static.name = 'commentAnnotation'; |
| 21 |
ve.ui.CommentAnnotationInspectorTool.static.group = 'meta'; |
| 22 |
ve.ui.CommentAnnotationInspectorTool.static.icon = 'speechBubble'; |
| 23 |
ve.ui.CommentAnnotationInspectorTool.static.title = |
| 24 |
OO.ui.deferMsg( 'visualeditor-commentinspector-tooltip' ); |
| 25 |
ve.ui.CommentAnnotationInspectorTool.static.modelClasses = [ ve.dm.CommentAnnotation ]; |
| 26 |
ve.ui.CommentAnnotationInspectorTool.static.commandName = 'commentAnnotation'; |
| 27 |
ve.ui.toolFactory.register( ve.ui.CommentAnnotationInspectorTool ); |
| 28 |
|
| 29 |
ve.ui.commandRegistry.register( |
| 30 |
new ve.ui.Command( |
| 31 |
'commentAnnotation', 'window', 'open', |
| 32 |
{ args: [ 'commentAnnotation' ], supportedSelections: [ 'linear' ] } |
| 33 |
) |
| 34 |
); |