| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
ve.ui.IndentationTool = function VeUiIndentationTool() { |
| 18 |
|
| 19 |
ve.ui.IndentationTool.super.apply( this, arguments ); |
| 20 |
}; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
OO.inheritClass( ve.ui.IndentationTool, ve.ui.Tool ); |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
ve.ui.IncreaseIndentationTool = function VeUiIncreaseIndentationTool() { |
| 36 |
ve.ui.IncreaseIndentationTool.super.apply( this, arguments ); |
| 37 |
}; |
| 38 |
OO.inheritClass( ve.ui.IncreaseIndentationTool, ve.ui.IndentationTool ); |
| 39 |
ve.ui.IncreaseIndentationTool.static.name = 'indent'; |
| 40 |
ve.ui.IncreaseIndentationTool.static.group = 'structure'; |
| 41 |
ve.ui.IncreaseIndentationTool.static.icon = 'indent'; |
| 42 |
ve.ui.IncreaseIndentationTool.static.title = |
| 43 |
OO.ui.deferMsg( 'visualeditor-indentationbutton-indent-tooltip' ); |
| 44 |
ve.ui.IncreaseIndentationTool.static.commandName = 'indent'; |
| 45 |
ve.ui.toolFactory.register( ve.ui.IncreaseIndentationTool ); |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
ve.ui.DecreaseIndentationTool = function VeUiDecreaseIndentationTool() { |
| 59 |
ve.ui.DecreaseIndentationTool.super.apply( this, arguments ); |
| 60 |
}; |
| 61 |
OO.inheritClass( ve.ui.DecreaseIndentationTool, ve.ui.IndentationTool ); |
| 62 |
ve.ui.DecreaseIndentationTool.static.name = 'outdent'; |
| 63 |
ve.ui.DecreaseIndentationTool.static.group = 'structure'; |
| 64 |
ve.ui.DecreaseIndentationTool.static.icon = 'outdent'; |
| 65 |
ve.ui.DecreaseIndentationTool.static.title = |
| 66 |
OO.ui.deferMsg( 'visualeditor-indentationbutton-outdent-tooltip' ); |
| 67 |
ve.ui.DecreaseIndentationTool.static.commandName = 'outdent'; |
| 68 |
ve.ui.toolFactory.register( ve.ui.DecreaseIndentationTool ); |