| 1 |
define(["dojo/_base/lang", "../../util/oo", "../../manager/_registry", "../TextBlock"], |
| 2 |
function(lang, oo, registry, TextBlock){ |
| 3 |
|
| 4 |
var Equation = oo.declare( |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
TextBlock, |
| 10 |
function(options){ |
| 11 |
|
| 12 |
}, |
| 13 |
{ |
| 14 |
customType:"equation" |
| 15 |
} |
| 16 |
|
| 17 |
); |
| 18 |
|
| 19 |
lang.setObject("dojox.drawing.tools.custom.Equation", Equation); |
| 20 |
Equation.setup = { |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
name:"dojox.drawing.tools.custom.Equation", |
| 25 |
tooltip:"Equation Tool", |
| 26 |
iconClass:"iconEq" |
| 27 |
}; |
| 28 |
registry.register(Equation.setup, "tool"); |
| 29 |
|
| 30 |
return Equation; |
| 31 |
}); |