source: Dev/trunk/src/client/dojox/drawing/tools/custom/Equation.js

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 641 bytes
Line 
1define(["dojo/_base/lang", "../../util/oo", "../../manager/_registry", "../TextBlock"],
2function(lang, oo, registry, TextBlock){
3
4var Equation = oo.declare(
5        // summary:
6        //              Essentially the same as the TextBlock tool, but
7        //              allows for a different icon and tooltip title.
8
9        TextBlock,
10        function(options){
11       
12        },
13        {
14                customType:"equation"
15        }
16       
17);
18
19lang.setObject("dojox.drawing.tools.custom.Equation", Equation);
20Equation.setup = {
21        // summary:
22        //              See stencil._Base ToolsSetup
23
24        name:"dojox.drawing.tools.custom.Equation",
25        tooltip:"Equation Tool",
26        iconClass:"iconEq"
27};
28registry.register(Equation.setup, "tool");
29
30return Equation;
31});
Note: See TracBrowser for help on using the repository browser.