You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/03/22 17:05:05 UTC

[13/54] [partial] camel git commit: CAMEL-7263: Remove not maintained and deprecated camel-web module.

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/_base.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/_base.js b/components/camel-web/src/main/webapp/js/dojox/gfx/_base.js
deleted file mode 100644
index 37a1219..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/_base.js
+++ /dev/null
@@ -1,203 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx._base"]){
-dojo._hasResource["dojox.gfx._base"]=true;
-dojo.provide("dojox.gfx._base");
-(function(){
-var g=dojox.gfx,b=g._base;
-g._hasClass=function(_3,_4){
-var _5=_3.getAttribute("className");
-return _5&&(" "+_5+" ").indexOf(" "+_4+" ")>=0;
-};
-g._addClass=function(_6,_7){
-var _8=_6.getAttribute("className")||"";
-if(!_8||(" "+_8+" ").indexOf(" "+_7+" ")<0){
-_6.setAttribute("className",_8+(_8?" ":"")+_7);
-}
-};
-g._removeClass=function(_9,_a){
-var _b=_9.getAttribute("className");
-if(_b){
-_9.setAttribute("className",_b.replace(new RegExp("(^|\\s+)"+_a+"(\\s+|$)"),"$1$2"));
-}
-};
-b._getFontMeasurements=function(){
-var _c={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};
-if(dojo.isIE){
-dojo.doc.documentElement.style.fontSize="100%";
-}
-var _d=dojo.doc.createElement("div");
-_d.style.position="absolute";
-_d.style.left="-100px";
-_d.style.top="0";
-_d.style.width="30px";
-_d.style.height="1000em";
-_d.style.border="0";
-_d.style.margin="0";
-_d.style.padding="0";
-_d.style.outline="0";
-_d.style.lineHeight="1";
-_d.style.overflow="hidden";
-dojo.body().appendChild(_d);
-for(var p in _c){
-_d.style.fontSize=p;
-_c[p]=Math.round(_d.offsetHeight*12/16)*16/12/1000;
-}
-dojo.body().removeChild(_d);
-_d=null;
-return _c;
-};
-var _f=null;
-b._getCachedFontMeasurements=function(_10){
-if(_10||!_f){
-_f=b._getFontMeasurements();
-}
-return _f;
-};
-var _11=null,_12={};
-b._getTextBox=function(_13,_14,_15){
-var m;
-if(!_11){
-m=_11=dojo.doc.createElement("div");
-m.style.position="absolute";
-m.style.left="-10000px";
-m.style.top="0";
-dojo.body().appendChild(m);
-}else{
-m=_11;
-}
-m.className="";
-m.style.border="0";
-m.style.margin="0";
-m.style.padding="0";
-m.style.outline="0";
-if(arguments.length>1&&_14){
-for(var i in _14){
-if(i in _12){
-continue;
-}
-m.style[i]=_14[i];
-}
-}
-if(arguments.length>2&&_15){
-m.className=_15;
-}
-m.innerHTML=_13;
-return dojo.marginBox(m);
-};
-var _18=0;
-b._getUniqueId=function(){
-var id;
-do{
-id=dojo._scopeName+"Unique"+(++_18);
-}while(dojo.byId(id));
-return id;
-};
-})();
-dojo.mixin(dojox.gfx,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",va
 riant:"normal",weight:"normal",size:"10pt",family:"serif"},normalizeColor:function(_1a){
-return (_1a instanceof dojo.Color)?_1a:new dojo.Color(_1a);
-},normalizeParameters:function(_1b,_1c){
-if(_1c){
-var _1d={};
-for(var x in _1b){
-if(x in _1c&&!(x in _1d)){
-_1b[x]=_1c[x];
-}
-}
-}
-return _1b;
-},makeParameters:function(_1f,_20){
-if(!_20){
-return dojo.clone(_1f);
-}
-var _21={};
-for(var i in _1f){
-if(!(i in _21)){
-_21[i]=dojo.clone((i in _20)?_20[i]:_1f[i]);
-}
-}
-return _21;
-},formatNumber:function(x,_24){
-var val=x.toString();
-if(val.indexOf("e")>=0){
-val=x.toFixed(4);
-}else{
-var _26=val.indexOf(".");
-if(_26>=0&&val.length-_26>5){
-val=x.toFixed(4);
-}
-}
-if(x<0){
-return val;
-}
-return _24?" "+val:val;
-},makeFontString:function(_27){
-return _27.style+" "+_27.variant+" "+_27.weight+" "+_27.size+" "+_27.family;
-},splitFontString:function(str){
-var _29=dojo.clone(dojox.gfx.defaultFont);
-var t=str.split(/\s+/);
-do{
-if(t.length<5){
-break;
-}
-_29.style=t[0];
-_29.varian=t[1];
-_29.weight=t[2];
-var i=t[3].indexOf("/");
-_29.size=i<0?t[3]:t[3].substring(0,i);
-var j=4;
-if(i<0){
-if(t[4]=="/"){
-j=6;
-break;
-}
-if(t[4].substr(0,1)=="/"){
-j=5;
-break;
-}
-}
-if(j+3>t.length){
-break;
-}
-_29.size=t[j];
-_29.family=t[j+1];
-}while(false);
-return _29;
-},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){
-return dojox.gfx._base._getCachedFontMeasurements()["12pt"]/12;
-},pt2px:function(len){
-return len*dojox.gfx.px_in_pt();
-},px2pt:function(len){
-return len/dojox.gfx.px_in_pt();
-},normalizedLength:function(len){
-if(len.length==0){
-return 0;
-}
-if(len.length>2){
-var _30=dojox.gfx.px_in_pt();
-var val=parseFloat(len);
-switch(len.slice(-2)){
-case "px":
-return val;
-case "pt":
-return val*_30;
-case "in":
-return val*72*_30;
-case "pc":
-return val*12*_30;
-case "mm":
-return val*dojox.gfx.mm_in_pt*_30;
-case "cm":
-return val*dojox.gfx.cm_in_pt*_30;
-}
-}
-return parseFloat(len);
-},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){
-return a&&b&&a==b;
-}});
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/arc.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/arc.js b/components/camel-web/src/main/webapp/js/dojox/gfx/arc.js
deleted file mode 100644
index f707fed..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/arc.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx.arc"]){
-dojo._hasResource["dojox.gfx.arc"]=true;
-dojo.provide("dojox.gfx.arc");
-dojo.require("dojox.gfx.matrix");
-(function(){
-var m=dojox.gfx.matrix,_2=function(_3){
-var _4=Math.cos(_3),_5=Math.sin(_3),p2={x:_4+(4/3)*(1-_4),y:_5-(4/3)*_4*(1-_4)/_5};
-return {s:{x:_4,y:-_5},c1:{x:p2.x,y:-p2.y},c2:p2,e:{x:_4,y:_5}};
-},_7=2*Math.PI,_8=Math.PI/4,_9=Math.PI/8,_a=_8+_9,_b=_2(_9);
-dojo.mixin(dojox.gfx.arc,{unitArcAsBezier:_2,curvePI4:_b,arcAsBezier:function(_c,rx,ry,_f,_10,_11,x,y){
-_10=Boolean(_10);
-_11=Boolean(_11);
-var _14=m._degToRad(_f),rx2=rx*rx,ry2=ry*ry,pa=m.multiplyPoint(m.rotate(-_14),{x:(_c.x-x)/2,y:(_c.y-y)/2}),_18=pa.x*pa.x,_19=pa.y*pa.y,c1=Math.sqrt((rx2*ry2-rx2*_19-ry2*_18)/(rx2*_19+ry2*_18));
-if(isNaN(c1)){
-c1=0;
-}
-var ca={x:c1*rx*pa.y/ry,y:-c1*ry*pa.x/rx};
-if(_10==_11){
-ca={x:-ca.x,y:-ca.y};
-}
-var c=m.multiplyPoint([m.translate((_c.x+x)/2,(_c.y+y)/2),m.rotate(_14)],ca);
-var _1d=m.normalize([m.translate(c.x,c.y),m.rotate(_14),m.scale(rx,ry)]);
-var _1e=m.invert(_1d),sp=m.multiplyPoint(_1e,_c),ep=m.multiplyPoint(_1e,x,y),_21=Math.atan2(sp.y,sp.x),_22=Math.atan2(ep.y,ep.x),_23=_21-_22;
-if(_11){
-_23=-_23;
-}
-if(_23<0){
-_23+=_7;
-}else{
-if(_23>_7){
-_23-=_7;
-}
-}
-var _24=_9,_25=_b,_26=_11?_24:-_24,_27=[];
-for(var _28=_23;_28>0;_28-=_8){
-if(_28<_a){
-_24=_28/2;
-_25=_2(_24);
-_26=_11?_24:-_24;
-_28=0;
-}
-var c1,c2,e,M=m.normalize([_1d,m.rotate(_21+_26)]);
-if(_11){
-c1=m.multiplyPoint(M,_25.c1);
-c2=m.multiplyPoint(M,_25.c2);
-e=m.multiplyPoint(M,_25.e);
-}else{
-c1=m.multiplyPoint(M,_25.c2);
-c2=m.multiplyPoint(M,_25.c1);
-e=m.multiplyPoint(M,_25.s);
-}
-_27.push([c1.x,c1.y,c2.x,c2.y,e.x,e.y]);
-_21+=2*_26;
-}
-return _27;
-}});
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/attach.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/attach.js b/components/camel-web/src/main/webapp/js/dojox/gfx/attach.js
deleted file mode 100644
index b41d64b..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/attach.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-dojo.require("dojox.gfx");
-dojo.requireIf(dojox.gfx.renderer=="svg","dojox.gfx.svg_attach");
-dojo.requireIf(dojox.gfx.renderer=="vml","dojox.gfx.vml_attach");
-dojo.requireIf(dojox.gfx.renderer=="silverlight","dojox.gfx.silverlight_attach");
-dojo.requireIf(dojox.gfx.renderer=="canvas","dojox.gfx.canvas_attach");

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/canvas.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/canvas.js b/components/camel-web/src/main/webapp/js/dojox/gfx/canvas.js
deleted file mode 100644
index 8487423..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/canvas.js
+++ /dev/null
@@ -1,498 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx.canvas"]){
-dojo._hasResource["dojox.gfx.canvas"]=true;
-dojo.provide("dojox.gfx.canvas");
-dojo.require("dojox.gfx._base");
-dojo.require("dojox.gfx.shape");
-dojo.require("dojox.gfx.path");
-dojo.require("dojox.gfx.arc");
-dojo.require("dojox.gfx.decompose");
-dojo.experimental("dojox.gfx.canvas");
-(function(){
-var g=dojox.gfx,gs=g.shape,ga=g.arc,m=g.matrix,mp=m.multiplyPoint,pi=Math.PI,_7=2*pi,_8=pi/2;
-dojo.extend(g.Shape,{_render:function(_9){
-_9.save();
-this._renderTransform(_9);
-this._renderShape(_9);
-this._renderFill(_9,true);
-this._renderStroke(_9,true);
-_9.restore();
-},_renderTransform:function(_a){
-if("canvasTransform" in this){
-var t=this.canvasTransform;
-_a.translate(t.dx,t.dy);
-_a.rotate(t.angle2);
-_a.scale(t.sx,t.sy);
-_a.rotate(t.angle1);
-}
-},_renderShape:function(_c){
-},_renderFill:function(_d,_e){
-if("canvasFill" in this){
-if("canvasFillImage" in this){
-this.canvasFill=_d.createPattern(this.canvasFillImage,"repeat");
-delete this.canvasFillImage;
-}
-_d.fillStyle=this.canvasFill;
-if(_e){
-_d.fill();
-}
-}else{
-_d.fillStyle="rgba(0,0,0,0.0)";
-}
-},_renderStroke:function(_f,_10){
-var s=this.strokeStyle;
-if(s){
-_f.strokeStyle=s.color.toString();
-_f.lineWidth=s.width;
-_f.lineCap=s.cap;
-if(typeof s.join=="number"){
-_f.lineJoin="miter";
-_f.miterLimit=s.join;
-}else{
-_f.lineJoin=s.join;
-}
-if(_10){
-_f.stroke();
-}
-}else{
-if(!_10){
-_f.strokeStyle="rgba(0,0,0,0.0)";
-}
-}
-},getEventSource:function(){
-return null;
-},connect:function(){
-},disconnect:function(){
-}});
-var _12=function(_13,_14,_15){
-var old=_13.prototype[_14];
-_13.prototype[_14]=_15?function(){
-this.surface.makeDirty();
-old.apply(this,arguments);
-_15.call(this);
-return this;
-}:function(){
-this.surface.makeDirty();
-return old.apply(this,arguments);
-};
-};
-_12(g.Shape,"setTransform",function(){
-if(this.matrix){
-this.canvasTransform=g.decompose(this.matrix);
-}else{
-delete this.canvasTransform;
-}
-});
-_12(g.Shape,"setFill",function(){
-var fs=this.fillStyle,f;
-if(fs){
-if(typeof (fs)=="object"&&"type" in fs){
-var ctx=this.surface.rawNode.getContext("2d");
-switch(fs.type){
-case "linear":
-case "radial":
-f=fs.type=="linear"?ctx.createLinearGradient(fs.x1,fs.y1,fs.x2,fs.y2):ctx.createRadialGradient(fs.cx,fs.cy,0,fs.cx,fs.cy,fs.r);
-dojo.forEach(fs.colors,function(_1a){
-f.addColorStop(_1a.offset,g.normalizeColor(_1a.color).toString());
-});
-break;
-case "pattern":
-var img=new Image(fs.width,fs.height);
-this.surface.downloadImage(img,fs.src);
-this.canvasFillImage=img;
-}
-}else{
-f=fs.toString();
-}
-this.canvasFill=f;
-}else{
-delete this.canvasFill;
-}
-});
-_12(g.Shape,"setStroke");
-_12(g.Shape,"setShape");
-dojo.declare("dojox.gfx.Group",g.Shape,{constructor:function(){
-gs.Container._init.call(this);
-},_render:function(ctx){
-ctx.save();
-this._renderTransform(ctx);
-this._renderFill(ctx);
-this._renderStroke(ctx);
-for(var i=0;i<this.children.length;++i){
-this.children[i]._render(ctx);
-}
-ctx.restore();
-}});
-dojo.declare("dojox.gfx.Rect",gs.Rect,{_renderShape:function(ctx){
-var s=this.shape,r=Math.min(s.r,s.height/2,s.width/2),xl=s.x,xr=xl+s.width,yt=s.y,yb=yt+s.height,xl2=xl+r,xr2=xr-r,yt2=yt+r,yb2=yb-r;
-ctx.beginPath();
-ctx.moveTo(xl2,yt);
-if(r){
-ctx.arc(xr2,yt2,r,-_8,0,false);
-ctx.arc(xr2,yb2,r,0,_8,false);
-ctx.arc(xl2,yb2,r,_8,pi,false);
-ctx.arc(xl2,yt2,r,pi,_8,false);
-}else{
-ctx.lineTo(xr2,yt);
-ctx.lineTo(xr,yb2);
-ctx.lineTo(xl2,yb);
-ctx.lineTo(xl,yt2);
-}
-ctx.closePath();
-}});
-var _29=[];
-(function(){
-var u=ga.curvePI4;
-_29.push(u.s,u.c1,u.c2,u.e);
-for(var a=45;a<360;a+=45){
-var r=m.rotateg(a);
-_29.push(mp(r,u.c1),mp(r,u.c2),mp(r,u.e));
-}
-})();
-dojo.declare("dojox.gfx.Ellipse",gs.Ellipse,{setShape:function(){
-g.Ellipse.superclass.setShape.apply(this,arguments);
-var s=this.shape,t,c1,c2,r=[],M=m.normalize([m.translate(s.cx,s.cy),m.scale(s.rx,s.ry)]);
-t=mp(M,_29[0]);
-r.push([t.x,t.y]);
-for(var i=1;i<_29.length;i+=3){
-c1=mp(M,_29[i]);
-c2=mp(M,_29[i+1]);
-t=mp(M,_29[i+2]);
-r.push([c1.x,c1.y,c2.x,c2.y,t.x,t.y]);
-}
-this.canvasEllipse=r;
-return this;
-},_renderShape:function(ctx){
-var r=this.canvasEllipse;
-ctx.beginPath();
-ctx.moveTo.apply(ctx,r[0]);
-for(var i=1;i<r.length;++i){
-ctx.bezierCurveTo.apply(ctx,r[i]);
-}
-ctx.closePath();
-}});
-dojo.declare("dojox.gfx.Circle",gs.Circle,{_renderShape:function(ctx){
-var s=this.shape;
-ctx.beginPath();
-ctx.arc(s.cx,s.cy,s.r,0,_7,1);
-}});
-dojo.declare("dojox.gfx.Line",gs.Line,{_renderShape:function(ctx){
-var s=this.shape;
-ctx.beginPath();
-ctx.moveTo(s.x1,s.y1);
-ctx.lineTo(s.x2,s.y2);
-}});
-dojo.declare("dojox.gfx.Polyline",gs.Polyline,{setShape:function(){
-g.Polyline.superclass.setShape.apply(this,arguments);
-var p=this.shape.points,f=p[0],r=[],c,i;
-if(p.length){
-if(typeof f=="number"){
-r.push(f,p[1]);
-i=2;
-}else{
-r.push(f.x,f.y);
-i=1;
-}
-for(;i<p.length;++i){
-c=p[i];
-if(typeof c=="number"){
-r.push(c,p[++i]);
-}else{
-r.push(c.x,c.y);
-}
-}
-}
-this.canvasPolyline=r;
-return this;
-},_renderShape:function(ctx){
-var p=this.canvasPolyline;
-if(p.length){
-ctx.beginPath();
-ctx.moveTo(p[0],p[1]);
-for(var i=2;i<p.length;i+=2){
-ctx.lineTo(p[i],p[i+1]);
-}
-}
-}});
-dojo.declare("dojox.gfx.Image",gs.Image,{setShape:function(){
-g.Image.superclass.setShape.apply(this,arguments);
-var img=new Image();
-this.surface.downloadImage(img,this.shape.src);
-this.canvasImage=img;
-return this;
-},_renderShape:function(ctx){
-var s=this.shape;
-ctx.drawImage(this.canvasImage,s.x,s.y,s.width,s.height);
-}});
-dojo.declare("dojox.gfx.Text",gs.Text,{_renderShape:function(ctx){
-var s=this.shape;
-}});
-_12(g.Text,"setFont");
-var _48={M:"_moveToA",m:"_moveToR",L:"_lineToA",l:"_lineToR",H:"_hLineToA",h:"_hLineToR",V:"_vLineToA",v:"_vLineToR",C:"_curveToA",c:"_curveToR",S:"_smoothCurveToA",s:"_smoothCurveToR",Q:"_qCurveToA",q:"_qCurveToR",T:"_qSmoothCurveToA",t:"_qSmoothCurveToR",A:"_arcTo",a:"_arcTo",Z:"_closePath",z:"_closePath"};
-dojo.declare("dojox.gfx.Path",g.path.Path,{constructor:function(){
-this.lastControl={};
-},setShape:function(){
-this.canvasPath=[];
-return g.Path.superclass.setShape.apply(this,arguments);
-},_updateWithSegment:function(_49){
-var _4a=dojo.clone(this.last);
-this[_48[_49.action]](this.canvasPath,_49.action,_49.args);
-this.last=_4a;
-g.Path.superclass._updateWithSegment.apply(this,arguments);
-},_renderShape:function(ctx){
-var r=this.canvasPath;
-ctx.beginPath();
-for(var i=0;i<r.length;i+=2){
-ctx[r[i]].apply(ctx,r[i+1]);
-}
-},_moveToA:function(_4e,_4f,_50){
-_4e.push("moveTo",[_50[0],_50[1]]);
-for(var i=2;i<_50.length;i+=2){
-_4e.push("lineTo",[_50[i],_50[i+1]]);
-}
-this.last.x=_50[_50.length-2];
-this.last.y=_50[_50.length-1];
-this.lastControl={};
-},_moveToR:function(_52,_53,_54){
-if("x" in this.last){
-_52.push("moveTo",[this.last.x+=_54[0],this.last.y+=_54[1]]);
-}else{
-_52.push("moveTo",[this.last.x=_54[0],this.last.y=_54[1]]);
-}
-for(var i=2;i<_54.length;i+=2){
-_52.push("lineTo",[this.last.x+=_54[i],this.last.y+=_54[i+1]]);
-}
-this.lastControl={};
-},_lineToA:function(_56,_57,_58){
-for(var i=0;i<_58.length;i+=2){
-_56.push("lineTo",[_58[i],_58[i+1]]);
-}
-this.last.x=_58[_58.length-2];
-this.last.y=_58[_58.length-1];
-this.lastControl={};
-},_lineToR:function(_5a,_5b,_5c){
-for(var i=0;i<_5c.length;i+=2){
-_5a.push("lineTo",[this.last.x+=_5c[i],this.last.y+=_5c[i+1]]);
-}
-this.lastControl={};
-},_hLineToA:function(_5e,_5f,_60){
-for(var i=0;i<_60.length;++i){
-_5e.push("lineTo",[_60[i],this.last.y]);
-}
-this.last.x=_60[_60.length-1];
-this.lastControl={};
-},_hLineToR:function(_62,_63,_64){
-for(var i=0;i<_64.length;++i){
-_62.push("lineTo",[this.last.x+=_64[i],this.last.y]);
-}
-this.lastControl={};
-},_vLineToA:function(_66,_67,_68){
-for(var i=0;i<_68.length;++i){
-_66.push("lineTo",[this.last.x,_68[i]]);
-}
-this.last.y=_68[_68.length-1];
-this.lastControl={};
-},_vLineToR:function(_6a,_6b,_6c){
-for(var i=0;i<_6c.length;++i){
-_6a.push("lineTo",[this.last.x,this.last.y+=_6c[i]]);
-}
-this.lastControl={};
-},_curveToA:function(_6e,_6f,_70){
-for(var i=0;i<_70.length;i+=6){
-_6e.push("bezierCurveTo",_70.slice(i,i+6));
-}
-this.last.x=_70[_70.length-2];
-this.last.y=_70[_70.length-1];
-this.lastControl.x=_70[_70.length-4];
-this.lastControl.y=_70[_70.length-3];
-this.lastControl.type="C";
-},_curveToR:function(_72,_73,_74){
-for(var i=0;i<_74.length;i+=6){
-_72.push("bezierCurveTo",[this.last.x+_74[i],this.last.y+_74[i+1],this.lastControl.x=this.last.x+_74[i+2],this.lastControl.y=this.last.y+_74[i+3],this.last.x+_74[i+4],this.last.y+_74[i+5]]);
-this.last.x+=_74[i+4];
-this.last.y+=_74[i+5];
-}
-this.lastControl.type="C";
-},_smoothCurveToA:function(_76,_77,_78){
-for(var i=0;i<_78.length;i+=4){
-var _7a=this.lastControl.type=="C";
-_76.push("bezierCurveTo",[_7a?2*this.last.x-this.lastControl.x:this.last.x,_7a?2*this.last.y-this.lastControl.y:this.last.y,_78[i],_78[i+1],_78[i+2],_78[i+3]]);
-this.lastControl.x=_78[i];
-this.lastControl.y=_78[i+1];
-this.lastControl.type="C";
-}
-this.last.x=_78[_78.length-2];
-this.last.y=_78[_78.length-1];
-},_smoothCurveToR:function(_7b,_7c,_7d){
-for(var i=0;i<_7d.length;i+=4){
-var _7f=this.lastControl.type=="C";
-_7b.push("bezierCurveTo",[_7f?2*this.last.x-this.lastControl.x:this.last.x,_7f?2*this.last.y-this.lastControl.y:this.last.y,this.last.x+_7d[i],this.last.y+_7d[i+1],this.last.x+_7d[i+2],this.last.y+_7d[i+3]]);
-this.lastControl.x=this.last.x+_7d[i];
-this.lastControl.y=this.last.y+_7d[i+1];
-this.lastControl.type="C";
-this.last.x+=_7d[i+2];
-this.last.y+=_7d[i+3];
-}
-},_qCurveToA:function(_80,_81,_82){
-for(var i=0;i<_82.length;i+=4){
-_80.push("quadraticCurveTo",_82.slice(i,i+4));
-}
-this.last.x=_82[_82.length-2];
-this.last.y=_82[_82.length-1];
-this.lastControl.x=_82[_82.length-4];
-this.lastControl.y=_82[_82.length-3];
-this.lastControl.type="Q";
-},_qCurveToR:function(_84,_85,_86){
-for(var i=0;i<_86.length;i+=4){
-_84.push("quadraticCurveTo",[this.lastControl.x=this.last.x+_86[i],this.lastControl.y=this.last.y+_86[i+1],this.last.x+_86[i+2],this.last.y+_86[i+3]]);
-this.last.x+=_86[i+2];
-this.last.y+=_86[i+3];
-}
-this.lastControl.type="Q";
-},_qSmoothCurveToA:function(_88,_89,_8a){
-for(var i=0;i<_8a.length;i+=2){
-var _8c=this.lastControl.type=="Q";
-_88.push("quadraticCurveTo",[this.lastControl.x=_8c?2*this.last.x-this.lastControl.x:this.last.x,this.lastControl.y=_8c?2*this.last.y-this.lastControl.y:this.last.y,_8a[i],_8a[i+1]]);
-this.lastControl.type="Q";
-}
-this.last.x=_8a[_8a.length-2];
-this.last.y=_8a[_8a.length-1];
-},_qSmoothCurveToR:function(_8d,_8e,_8f){
-for(var i=0;i<_8f.length;i+=2){
-var _91=this.lastControl.type=="Q";
-_8d.push("quadraticCurveTo",[this.lastControl.x=_91?2*this.last.x-this.lastControl.x:this.last.x,this.lastControl.y=_91?2*this.last.y-this.lastControl.y:this.last.y,this.last.x+_8f[i],this.last.y+_8f[i+1]]);
-this.lastControl.type="Q";
-this.last.x+=_8f[i];
-this.last.y+=_8f[i+1];
-}
-},_arcTo:function(_92,_93,_94){
-var _95=_93=="a";
-for(var i=0;i<_94.length;i+=7){
-var x1=_94[i+5],y1=_94[i+6];
-if(_95){
-x1+=this.last.x;
-y1+=this.last.y;
-}
-var _99=ga.arcAsBezier(this.last,_94[i],_94[i+1],_94[i+2],_94[i+3]?1:0,_94[i+4]?1:0,x1,y1);
-dojo.forEach(_99,function(p){
-_92.push("bezierCurveTo",p);
-});
-this.last.x=x1;
-this.last.y=y1;
-}
-this.lastControl={};
-},_closePath:function(_9b,_9c,_9d){
-_9b.push("closePath",[]);
-this.lastControl={};
-}});
-dojo.forEach(["moveTo","lineTo","hLineTo","vLineTo","curveTo","smoothCurveTo","qCurveTo","qSmoothCurveTo","arcTo","closePath"],function(_9e){
-_12(g.Path,_9e);
-});
-dojo.declare("dojox.gfx.TextPath",g.path.TextPath,{_renderShape:function(ctx){
-var s=this.shape;
-}});
-dojo.declare("dojox.gfx.Surface",gs.Surface,{constructor:function(){
-gs.Container._init.call(this);
-this.pendingImageCount=0;
-this.makeDirty();
-},setDimensions:function(_a1,_a2){
-this.width=g.normalizedLength(_a1);
-this.height=g.normalizedLength(_a2);
-if(!this.rawNode){
-return this;
-}
-this.rawNode.width=_a1;
-this.rawNode.height=_a2;
-this.makeDirty();
-return this;
-},getDimensions:function(){
-return this.rawNode?{width:this.rawNode.width,height:this.rawNode.height}:null;
-},_render:function(){
-if(this.pendingImageCount){
-return;
-}
-var ctx=this.rawNode.getContext("2d");
-ctx.save();
-ctx.clearRect(0,0,this.rawNode.width,this.rawNode.height);
-for(var i=0;i<this.children.length;++i){
-this.children[i]._render(ctx);
-}
-ctx.restore();
-if("pendingRender" in this){
-clearTimeout(this.pendingRender);
-delete this.pendingRender;
-}
-},makeDirty:function(){
-if(!this.pendingImagesCount&&!("pendingRender" in this)){
-this.pendingRender=setTimeout(dojo.hitch(this,this._render),0);
-}
-},downloadImage:function(img,url){
-var _a7=dojo.hitch(this,this.onImageLoad);
-if(!this.pendingImageCount++&&"pendingRender" in this){
-clearTimeout(this.pendingRender);
-delete this.pendingRender;
-}
-img.onload=_a7;
-img.onerror=_a7;
-img.onabort=_a7;
-img.src=url;
-},onImageLoad:function(){
-if(!--this.pendingImageCount){
-this._render();
-}
-},getEventSource:function(){
-return null;
-},connect:function(){
-},disconnect:function(){
-}});
-g.createSurface=function(_a8,_a9,_aa){
-if(!_a9){
-_a9="100%";
-}
-if(!_aa){
-_aa="100%";
-}
-var s=new g.Surface(),p=dojo.byId(_a8),c=p.ownerDocument.createElement("canvas");
-c.width=_a9;
-c.height=_aa;
-p.appendChild(c);
-s.rawNode=c;
-s._parent=p;
-s.surface=s;
-return s;
-};
-var C=gs.Container,_af={add:function(_b0){
-this.surface.makeDirty();
-return C.add.apply(this,arguments);
-},remove:function(_b1,_b2){
-this.surface.makeDirty();
-return C.remove.apply(this,arguments);
-},clear:function(){
-this.surface.makeDirty();
-return C.clear.apply(this,arguments);
-},_moveChildToFront:function(_b3){
-this.surface.makeDirty();
-return C._moveChildToFront.apply(this,arguments);
-},_moveChildToBack:function(_b4){
-this.surface.makeDirty();
-return C._moveChildToBack.apply(this,arguments);
-}};
-dojo.mixin(gs.Creator,{createObject:function(_b5,_b6){
-var _b7=new _b5();
-_b7.surface=this.surface;
-_b7.setShape(_b6);
-this.add(_b7);
-return _b7;
-}});
-dojo.extend(g.Group,_af);
-dojo.extend(g.Group,gs.Creator);
-dojo.extend(g.Surface,_af);
-dojo.extend(g.Surface,gs.Creator);
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/canvas_attach.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/canvas_attach.js b/components/camel-web/src/main/webapp/js/dojox/gfx/canvas_attach.js
deleted file mode 100644
index 8862ba3..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/canvas_attach.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-dojo.require("dojox.gfx.canvas");
-dojo.experimental("dojox.gfx.canvas_attach");
-dojox.gfx.attachNode=function(){
-return null;
-};

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/decompose.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/decompose.js b/components/camel-web/src/main/webapp/js/dojox/gfx/decompose.js
deleted file mode 100644
index 91bb944..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/decompose.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx.decompose"]){
-dojo._hasResource["dojox.gfx.decompose"]=true;
-dojo.provide("dojox.gfx.decompose");
-dojo.require("dojox.gfx.matrix");
-(function(){
-var m=dojox.gfx.matrix;
-var eq=function(a,b){
-return Math.abs(a-b)<=0.000001*(Math.abs(a)+Math.abs(b));
-};
-var _5=function(r1,m1,r2,m2){
-if(!isFinite(r1)){
-return r2;
-}else{
-if(!isFinite(r2)){
-return r1;
-}
-}
-m1=Math.abs(m1),m2=Math.abs(m2);
-return (m1*r1+m2*r2)/(m1+m2);
-};
-var _a=function(_b){
-var M=new m.Matrix2D(_b);
-return dojo.mixin(M,{dx:0,dy:0,xy:M.yx,yx:M.xy});
-};
-var _d=function(_e){
-return (_e.xx*_e.yy<0||_e.xy*_e.yx>0)?-1:1;
-};
-var _f=function(_10){
-var M=m.normalize(_10),b=-M.xx-M.yy,c=M.xx*M.yy-M.xy*M.yx,d=Math.sqrt(b*b-4*c),l1=-(b+(b<0?-d:d))/2,l2=c/l1,vx1=M.xy/(l1-M.xx),vy1=1,vx2=M.xy/(l2-M.xx),vy2=1;
-if(eq(l1,l2)){
-vx1=1,vy1=0,vx2=0,vy2=1;
-}
-if(!isFinite(vx1)){
-vx1=1,vy1=(l1-M.xx)/M.xy;
-if(!isFinite(vy1)){
-vx1=(l1-M.yy)/M.yx,vy1=1;
-if(!isFinite(vx1)){
-vx1=1,vy1=M.yx/(l1-M.yy);
-}
-}
-}
-if(!isFinite(vx2)){
-vx2=1,vy2=(l2-M.xx)/M.xy;
-if(!isFinite(vy2)){
-vx2=(l2-M.yy)/M.yx,vy2=1;
-if(!isFinite(vx2)){
-vx2=1,vy2=M.yx/(l2-M.yy);
-}
-}
-}
-var d1=Math.sqrt(vx1*vx1+vy1*vy1),d2=Math.sqrt(vx2*vx2+vy2*vy2);
-if(!isFinite(vx1/=d1)){
-vx1=0;
-}
-if(!isFinite(vy1/=d1)){
-vy1=0;
-}
-if(!isFinite(vx2/=d2)){
-vx2=0;
-}
-if(!isFinite(vy2/=d2)){
-vy2=0;
-}
-return {value1:l1,value2:l2,vector1:{x:vx1,y:vy1},vector2:{x:vx2,y:vy2}};
-};
-var _1d=function(M,_1f){
-var _20=_d(M),a=_1f.angle1=(Math.atan2(M.yx,M.yy)+Math.atan2(-_20*M.xy,_20*M.xx))/2,cos=Math.cos(a),sin=Math.sin(a);
-_1f.sx=_5(M.xx/cos,cos,-M.xy/sin,sin);
-_1f.sy=_5(M.yy/cos,cos,M.yx/sin,sin);
-return _1f;
-};
-var _24=function(M,_26){
-var _27=_d(M),a=_26.angle2=(Math.atan2(_27*M.yx,_27*M.xx)+Math.atan2(-M.xy,M.yy))/2,cos=Math.cos(a),sin=Math.sin(a);
-_26.sx=_5(M.xx/cos,cos,M.yx/sin,sin);
-_26.sy=_5(M.yy/cos,cos,-M.xy/sin,sin);
-return _26;
-};
-dojox.gfx.decompose=function(_2b){
-var M=m.normalize(_2b),_2d={dx:M.dx,dy:M.dy,sx:1,sy:1,angle1:0,angle2:0};
-if(eq(M.xy,0)&&eq(M.yx,0)){
-return dojo.mixin(_2d,{sx:M.xx,sy:M.yy});
-}
-if(eq(M.xx*M.yx,-M.xy*M.yy)){
-return _1d(M,_2d);
-}
-if(eq(M.xx*M.xy,-M.yx*M.yy)){
-return _24(M,_2d);
-}
-var MT=_a(M),u=_f([M,MT]),v=_f([MT,M]),U=new m.Matrix2D({xx:u.vector1.x,xy:u.vector2.x,yx:u.vector1.y,yy:u.vector2.y}),VT=new m.Matrix2D({xx:v.vector1.x,xy:v.vector1.y,yx:v.vector2.x,yy:v.vector2.y}),S=new m.Matrix2D([m.invert(U),M,m.invert(VT)]);
-_1d(VT,_2d);
-S.xx*=_2d.sx;
-S.yy*=_2d.sy;
-_24(U,_2d);
-S.xx*=_2d.sx;
-S.yy*=_2d.sy;
-return dojo.mixin(_2d,{sx:S.xx,sy:S.yy});
-};
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/fx.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/fx.js b/components/camel-web/src/main/webapp/js/dojox/gfx/fx.js
deleted file mode 100644
index c3b42c1..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/fx.js
+++ /dev/null
@@ -1,227 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx.fx"]){
-dojo._hasResource["dojox.gfx.fx"]=true;
-dojo.provide("dojox.gfx.fx");
-dojo.require("dojox.gfx.matrix");
-(function(){
-var d=dojo,g=dojox.gfx,m=g.matrix;
-var _4=function(_5,_6){
-this.start=_5,this.end=_6;
-};
-d.extend(_4,{getValue:function(r){
-return (this.end-this.start)*r+this.start;
-}});
-var _8=function(_9,_a,_b){
-this.start=_9,this.end=_a;
-this.unit=_b;
-};
-d.extend(_8,{getValue:function(r){
-return (this.end-this.start)*r+this.start+this.unit;
-}});
-var _d=function(_e,_f){
-this.start=_e,this.end=_f;
-this.temp=new dojo.Color();
-};
-d.extend(_d,{getValue:function(r){
-return d.blendColors(this.start,this.end,r,this.temp);
-}});
-var _11=function(_12){
-this.values=_12;
-this.length=_12.length;
-};
-d.extend(_11,{getValue:function(r){
-return this.values[Math.min(Math.floor(r*this.length),this.length-1)];
-}});
-var _14=function(_15,def){
-this.values=_15;
-this.def=def?def:{};
-};
-d.extend(_14,{getValue:function(r){
-var ret=dojo.clone(this.def);
-for(var i in this.values){
-ret[i]=this.values[i].getValue(r);
-}
-return ret;
-}});
-var _1a=function(_1b,_1c){
-this.stack=_1b;
-this.original=_1c;
-};
-d.extend(_1a,{getValue:function(r){
-var ret=[];
-dojo.forEach(this.stack,function(t){
-if(t instanceof m.Matrix2D){
-ret.push(t);
-return;
-}
-if(t.name=="original"&&this.original){
-ret.push(this.original);
-return;
-}
-if(!(t.name in m)){
-return;
-}
-var f=m[t.name];
-if(typeof f!="function"){
-ret.push(f);
-return;
-}
-var val=dojo.map(t.start,function(v,i){
-return (t.end[i]-v)*r+v;
-}),_24=f.apply(m,val);
-if(_24 instanceof m.Matrix2D){
-ret.push(_24);
-}
-},this);
-return ret;
-}});
-var _25=new d.Color(0,0,0,0);
-var _26=function(_27,obj,_29,def){
-if(_27.values){
-return new _11(_27.values);
-}
-var _2b,_2c,end;
-if(_27.start){
-_2c=g.normalizeColor(_27.start);
-}else{
-_2c=_2b=obj?(_29?obj[_29]:obj):def;
-}
-if(_27.end){
-end=g.normalizeColor(_27.end);
-}else{
-if(!_2b){
-_2b=obj?(_29?obj[_29]:obj):def;
-}
-end=_2b;
-}
-return new _d(_2c,end);
-};
-var _2e=function(_2f,obj,_31,def){
-if(_2f.values){
-return new _11(_2f.values);
-}
-var _33,_34,end;
-if(_2f.start){
-_34=_2f.start;
-}else{
-_34=_33=obj?obj[_31]:def;
-}
-if(_2f.end){
-end=_2f.end;
-}else{
-if(typeof _33!="number"){
-_33=obj?obj[_31]:def;
-}
-end=_33;
-}
-return new _4(_34,end);
-};
-g.fx.animateStroke=function(_36){
-if(!_36.easing){
-_36.easing=d._defaultEasing;
-}
-var _37=new d._Animation(_36),_38=_36.shape,_39;
-d.connect(_37,"beforeBegin",_37,function(){
-_39=_38.getStroke();
-var _3a=_36.color,_3b={},_3c,_3d,end;
-if(_3a){
-_3b.color=_26(_3a,_39,"color",_25);
-}
-_3a=_36.style;
-if(_3a&&_3a.values){
-_3b.style=new _11(_3a.values);
-}
-_3a=_36.width;
-if(_3a){
-_3b.width=_2e(_3a,_39,"width",1);
-}
-_3a=_36.cap;
-if(_3a&&_3a.values){
-_3b.cap=new _11(_3a.values);
-}
-_3a=_36.join;
-if(_3a){
-if(_3a.values){
-_3b.join=new _11(_3a.values);
-}else{
-_3d=_3a.start?_3a.start:(_39&&_39.join||0);
-end=_3a.end?_3a.end:(_39&&_39.join||0);
-if(typeof _3d=="number"&&typeof end=="number"){
-_3b.join=new _4(_3d,end);
-}
-}
-}
-this.curve=new _14(_3b,_39);
-});
-d.connect(_37,"onAnimate",_38,"setStroke");
-return _37;
-};
-g.fx.animateFill=function(_3f){
-if(!_3f.easing){
-_3f.easing=d._defaultEasing;
-}
-var _40=new d._Animation(_3f),_41=_3f.shape,_42;
-d.connect(_40,"beforeBegin",_40,function(){
-_42=_41.getFill();
-var _43=_3f.color,_44={};
-if(_43){
-this.curve=_26(_43,_42,"",_25);
-}
-});
-d.connect(_40,"onAnimate",_41,"setFill");
-return _40;
-};
-g.fx.animateFont=function(_45){
-if(!_45.easing){
-_45.easing=d._defaultEasing;
-}
-var _46=new d._Animation(_45),_47=_45.shape,_48;
-d.connect(_46,"beforeBegin",_46,function(){
-_48=_47.getFont();
-var _49=_45.style,_4a={},_4b,_4c,end;
-if(_49&&_49.values){
-_4a.style=new _11(_49.values);
-}
-_49=_45.variant;
-if(_49&&_49.values){
-_4a.variant=new _11(_49.values);
-}
-_49=_45.weight;
-if(_49&&_49.values){
-_4a.weight=new _11(_49.values);
-}
-_49=_45.family;
-if(_49&&_49.values){
-_4a.family=new _11(_49.values);
-}
-_49=_45.size;
-if(_49&&_49.unit){
-_4c=parseFloat(_49.start?_49.start:(_47.font&&_47.font.size||"0"));
-end=parseFloat(_49.end?_49.end:(_47.font&&_47.font.size||"0"));
-_4a.size=new _8(_4c,end,_49.unit);
-}
-this.curve=new _14(_4a,_48);
-});
-d.connect(_46,"onAnimate",_47,"setFont");
-return _46;
-};
-g.fx.animateTransform=function(_4e){
-if(!_4e.easing){
-_4e.easing=d._defaultEasing;
-}
-var _4f=new d._Animation(_4e),_50=_4e.shape,_51;
-d.connect(_4f,"beforeBegin",_4f,function(){
-_51=_50.getTransform();
-this.curve=new _1a(_4e.transform,_51);
-});
-d.connect(_4f,"onAnimate",_50,"setTransform");
-return _4f;
-};
-})();
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/matrix.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/matrix.js b/components/camel-web/src/main/webapp/js/dojox/gfx/matrix.js
deleted file mode 100644
index 5f45a13..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/matrix.js
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx.matrix"]){
-dojo._hasResource["dojox.gfx.matrix"]=true;
-dojo.provide("dojox.gfx.matrix");
-(function(){
-var m=dojox.gfx.matrix;
-m._degToRad=function(_2){
-return Math.PI*_2/180;
-};
-m._radToDeg=function(_3){
-return _3/Math.PI*180;
-};
-m.Matrix2D=function(_4){
-if(_4){
-if(typeof _4=="number"){
-this.xx=this.yy=_4;
-}else{
-if(_4 instanceof Array){
-if(_4.length>0){
-var _5=m.normalize(_4[0]);
-for(var i=1;i<_4.length;++i){
-var l=_5,r=dojox.gfx.matrix.normalize(_4[i]);
-_5=new m.Matrix2D();
-_5.xx=l.xx*r.xx+l.xy*r.yx;
-_5.xy=l.xx*r.xy+l.xy*r.yy;
-_5.yx=l.yx*r.xx+l.yy*r.yx;
-_5.yy=l.yx*r.xy+l.yy*r.yy;
-_5.dx=l.xx*r.dx+l.xy*r.dy+l.dx;
-_5.dy=l.yx*r.dx+l.yy*r.dy+l.dy;
-}
-dojo.mixin(this,_5);
-}
-}else{
-dojo.mixin(this,_4);
-}
-}
-}
-};
-dojo.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});
-dojo.mixin(m,{identity:new m.Matrix2D(),flipX:new m.Matrix2D({xx:-1}),flipY:new m.Matrix2D({yy:-1}),flipXY:new m.Matrix2D({xx:-1,yy:-1}),translate:function(a,b){
-if(arguments.length>1){
-return new m.Matrix2D({dx:a,dy:b});
-}
-return new m.Matrix2D({dx:a.x,dy:a.y});
-},scale:function(a,b){
-if(arguments.length>1){
-return new m.Matrix2D({xx:a,yy:b});
-}
-if(typeof a=="number"){
-return new m.Matrix2D({xx:a,yy:a});
-}
-return new m.Matrix2D({xx:a.x,yy:a.y});
-},rotate:function(_d){
-var c=Math.cos(_d);
-var s=Math.sin(_d);
-return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});
-},rotateg:function(_10){
-return m.rotate(m._degToRad(_10));
-},skewX:function(_11){
-return new m.Matrix2D({xy:Math.tan(_11)});
-},skewXg:function(_12){
-return m.skewX(m._degToRad(_12));
-},skewY:function(_13){
-return new m.Matrix2D({yx:Math.tan(_13)});
-},skewYg:function(_14){
-return m.skewY(m._degToRad(_14));
-},reflect:function(a,b){
-if(arguments.length==1){
-b=a.y;
-a=a.x;
-}
-var a2=a*a,b2=b*b,n2=a2+b2,xy=2*a*b/n2;
-return new m.Matrix2D({xx:2*a2/n2-1,xy:xy,yx:xy,yy:2*b2/n2-1});
-},project:function(a,b){
-if(arguments.length==1){
-b=a.y;
-a=a.x;
-}
-var a2=a*a,b2=b*b,n2=a2+b2,xy=a*b/n2;
-return new m.Matrix2D({xx:a2/n2,xy:xy,yx:xy,yy:b2/n2});
-},normalize:function(_21){
-return (_21 instanceof m.Matrix2D)?_21:new m.Matrix2D(_21);
-},clone:function(_22){
-var obj=new m.Matrix2D();
-for(var i in _22){
-if(typeof (_22[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_22[i]){
-obj[i]=_22[i];
-}
-}
-return obj;
-},invert:function(_25){
-var M=m.normalize(_25),D=M.xx*M.yy-M.xy*M.yx,M=new m.Matrix2D({xx:M.yy/D,xy:-M.xy/D,yx:-M.yx/D,yy:M.xx/D,dx:(M.xy*M.dy-M.yy*M.dx)/D,dy:(M.yx*M.dx-M.xx*M.dy)/D});
-return M;
-},_multiplyPoint:function(_28,x,y){
-return {x:_28.xx*x+_28.xy*y+_28.dx,y:_28.yx*x+_28.yy*y+_28.dy};
-},multiplyPoint:function(_2b,a,b){
-var M=m.normalize(_2b);
-if(typeof a=="number"&&typeof b=="number"){
-return m._multiplyPoint(M,a,b);
-}
-return m._multiplyPoint(M,a.x,a.y);
-},multiply:function(_2f){
-var M=m.normalize(_2f);
-for(var i=1;i<arguments.length;++i){
-var l=M,r=m.normalize(arguments[i]);
-M=new m.Matrix2D();
-M.xx=l.xx*r.xx+l.xy*r.yx;
-M.xy=l.xx*r.xy+l.xy*r.yy;
-M.yx=l.yx*r.xx+l.yy*r.yx;
-M.yy=l.yx*r.xy+l.yy*r.yy;
-M.dx=l.xx*r.dx+l.xy*r.dy+l.dx;
-M.dy=l.yx*r.dx+l.yy*r.dy+l.dy;
-}
-return M;
-},_sandwich:function(_34,x,y){
-return m.multiply(m.translate(x,y),_34,m.translate(-x,-y));
-},scaleAt:function(a,b,c,d){
-switch(arguments.length){
-case 4:
-return m._sandwich(m.scale(a,b),c,d);
-case 3:
-if(typeof c=="number"){
-return m._sandwich(m.scale(a),b,c);
-}
-return m._sandwich(m.scale(a,b),c.x,c.y);
-}
-return m._sandwich(m.scale(a),b.x,b.y);
-},rotateAt:function(_3b,a,b){
-if(arguments.length>2){
-return m._sandwich(m.rotate(_3b),a,b);
-}
-return m._sandwich(m.rotate(_3b),a.x,a.y);
-},rotategAt:function(_3e,a,b){
-if(arguments.length>2){
-return m._sandwich(m.rotateg(_3e),a,b);
-}
-return m._sandwich(m.rotateg(_3e),a.x,a.y);
-},skewXAt:function(_41,a,b){
-if(arguments.length>2){
-return m._sandwich(m.skewX(_41),a,b);
-}
-return m._sandwich(m.skewX(_41),a.x,a.y);
-},skewXgAt:function(_44,a,b){
-if(arguments.length>2){
-return m._sandwich(m.skewXg(_44),a,b);
-}
-return m._sandwich(m.skewXg(_44),a.x,a.y);
-},skewYAt:function(_47,a,b){
-if(arguments.length>2){
-return m._sandwich(m.skewY(_47),a,b);
-}
-return m._sandwich(m.skewY(_47),a.x,a.y);
-},skewYgAt:function(_4a,a,b){
-if(arguments.length>2){
-return m._sandwich(m.skewYg(_4a),a,b);
-}
-return m._sandwich(m.skewYg(_4a),a.x,a.y);
-}});
-})();
-dojox.gfx.Matrix2D=dojox.gfx.matrix.Matrix2D;
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/move.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/move.js b/components/camel-web/src/main/webapp/js/dojox/gfx/move.js
deleted file mode 100644
index a67c27e..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/move.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx.move"]){
-dojo._hasResource["dojox.gfx.move"]=true;
-dojo.provide("dojox.gfx.move");
-dojo.require("dojox.gfx.Mover");
-dojo.require("dojox.gfx.Moveable");
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/js/dojox/gfx/path.js
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/js/dojox/gfx/path.js b/components/camel-web/src/main/webapp/js/dojox/gfx/path.js
deleted file mode 100644
index 8612651..0000000
--- a/components/camel-web/src/main/webapp/js/dojox/gfx/path.js
+++ /dev/null
@@ -1,277 +0,0 @@
-/*
-	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
-	Available via Academic Free License >= 2.1 OR the modified BSD license.
-	see: http://dojotoolkit.org/license for details
-*/
-
-
-if(!dojo._hasResource["dojox.gfx.path"]){
-dojo._hasResource["dojox.gfx.path"]=true;
-dojo.provide("dojox.gfx.path");
-dojo.require("dojox.gfx.shape");
-dojo.declare("dojox.gfx.path.Path",dojox.gfx.Shape,{constructor:function(_1){
-this.shape=dojo.clone(dojox.gfx.defaultPath);
-this.segments=[];
-this.absolute=true;
-this.last={};
-this.rawNode=_1;
-},setAbsoluteMode:function(_2){
-this.absolute=typeof _2=="string"?(_2=="absolute"):_2;
-return this;
-},getAbsoluteMode:function(){
-return this.absolute;
-},getBoundingBox:function(){
-return (this.bbox&&("l" in this.bbox))?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null;
-},getLastPosition:function(){
-return "x" in this.last?this.last:null;
-},_updateBBox:function(x,y){
-if(this.bbox&&("l" in this.bbox)){
-if(this.bbox.l>x){
-this.bbox.l=x;
-}
-if(this.bbox.r<x){
-this.bbox.r=x;
-}
-if(this.bbox.t>y){
-this.bbox.t=y;
-}
-if(this.bbox.b<y){
-this.bbox.b=y;
-}
-}else{
-this.bbox={l:x,b:y,r:x,t:y};
-}
-},_updateWithSegment:function(_5){
-var n=_5.args,l=n.length;
-switch(_5.action){
-case "M":
-case "L":
-case "C":
-case "S":
-case "Q":
-case "T":
-for(var i=0;i<l;i+=2){
-this._updateBBox(n[i],n[i+1]);
-}
-this.last.x=n[l-2];
-this.last.y=n[l-1];
-this.absolute=true;
-break;
-case "H":
-for(var i=0;i<l;++i){
-this._updateBBox(n[i],this.last.y);
-}
-this.last.x=n[l-1];
-this.absolute=true;
-break;
-case "V":
-for(var i=0;i<l;++i){
-this._updateBBox(this.last.x,n[i]);
-}
-this.last.y=n[l-1];
-this.absolute=true;
-break;
-case "m":
-var _9=0;
-if(!("x" in this.last)){
-this._updateBBox(this.last.x=n[0],this.last.y=n[1]);
-_9=2;
-}
-for(var i=_9;i<l;i+=2){
-this._updateBBox(this.last.x+=n[i],this.last.y+=n[i+1]);
-}
-this.absolute=false;
-break;
-case "l":
-case "t":
-for(var i=0;i<l;i+=2){
-this._updateBBox(this.last.x+=n[i],this.last.y+=n[i+1]);
-}
-this.absolute=false;
-break;
-case "h":
-for(var i=0;i<l;++i){
-this._updateBBox(this.last.x+=n[i],this.last.y);
-}
-this.absolute=false;
-break;
-case "v":
-for(var i=0;i<l;++i){
-this._updateBBox(this.last.x,this.last.y+=n[i]);
-}
-this.absolute=false;
-break;
-case "c":
-for(var i=0;i<l;i+=6){
-this._updateBBox(this.last.x+n[i],this.last.y+n[i+1]);
-this._updateBBox(this.last.x+n[i+2],this.last.y+n[i+3]);
-this._updateBBox(this.last.x+=n[i+4],this.last.y+=n[i+5]);
-}
-this.absolute=false;
-break;
-case "s":
-case "q":
-for(var i=0;i<l;i+=4){
-this._updateBBox(this.last.x+n[i],this.last.y+n[i+1]);
-this._updateBBox(this.last.x+=n[i+2],this.last.y+=n[i+3]);
-}
-this.absolute=false;
-break;
-case "A":
-for(var i=0;i<l;i+=7){
-this._updateBBox(n[i+5],n[i+6]);
-}
-this.last.x=n[l-2];
-this.last.y=n[l-1];
-this.absolute=true;
-break;
-case "a":
-for(var i=0;i<l;i+=7){
-this._updateBBox(this.last.x+=n[i+5],this.last.y+=n[i+6]);
-}
-this.absolute=false;
-break;
-}
-var _a=[_5.action];
-for(var i=0;i<l;++i){
-_a.push(dojox.gfx.formatNumber(n[i],true));
-}
-if(typeof this.shape.path=="string"){
-this.shape.path+=_a.join("");
-}else{
-Array.prototype.push.apply(this.shape.path,_a);
-}
-},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(_b,_c){
-var _d=this._validSegments[_b.toLowerCase()];
-if(typeof _d=="number"){
-if(_d){
-if(_c.length>=_d){
-var _e={action:_b,args:_c.slice(0,_c.length-_c.length%_d)};
-this.segments.push(_e);
-this._updateWithSegment(_e);
-}
-}else{
-var _e={action:_b,args:[]};
-this.segments.push(_e);
-this._updateWithSegment(_e);
-}
-}
-},_collectArgs:function(_f,_10){
-for(var i=0;i<_10.length;++i){
-var t=_10[i];
-if(typeof t=="boolean"){
-_f.push(t?1:0);
-}else{
-if(typeof t=="number"){
-_f.push(t);
-}else{
-if(t instanceof Array){
-this._collectArgs(_f,t);
-}else{
-if("x" in t&&"y" in t){
-_f.push(t.x,t.y);
-}
-}
-}
-}
-}
-},moveTo:function(){
-var _13=[];
-this._collectArgs(_13,arguments);
-this._pushSegment(this.absolute?"M":"m",_13);
-return this;
-},lineTo:function(){
-var _14=[];
-this._collectArgs(_14,arguments);
-this._pushSegment(this.absolute?"L":"l",_14);
-return this;
-},hLineTo:function(){
-var _15=[];
-this._collectArgs(_15,arguments);
-this._pushSegment(this.absolute?"H":"h",_15);
-return this;
-},vLineTo:function(){
-var _16=[];
-this._collectArgs(_16,arguments);
-this._pushSegment(this.absolute?"V":"v",_16);
-return this;
-},curveTo:function(){
-var _17=[];
-this._collectArgs(_17,arguments);
-this._pushSegment(this.absolute?"C":"c",_17);
-return this;
-},smoothCurveTo:function(){
-var _18=[];
-this._collectArgs(_18,arguments);
-this._pushSegment(this.absolute?"S":"s",_18);
-return this;
-},qCurveTo:function(){
-var _19=[];
-this._collectArgs(_19,arguments);
-this._pushSegment(this.absolute?"Q":"q",_19);
-return this;
-},qSmoothCurveTo:function(){
-var _1a=[];
-this._collectArgs(_1a,arguments);
-this._pushSegment(this.absolute?"T":"t",_1a);
-return this;
-},arcTo:function(){
-var _1b=[];
-this._collectArgs(_1b,arguments);
-this._pushSegment(this.absolute?"A":"a",_1b);
-return this;
-},closePath:function(){
-this._pushSegment("Z",[]);
-return this;
-},_setPath:function(_1c){
-var p=dojo.isArray(_1c)?_1c:_1c.match(dojox.gfx.pathSvgRegExp);
-this.segments=[];
-this.absolute=true;
-this.bbox={};
-this.last={};
-if(!p){
-return;
-}
-var _1e="",_1f=[],l=p.length;
-for(var i=0;i<l;++i){
-var t=p[i],x=parseFloat(t);
-if(isNaN(x)){
-if(_1e){
-this._pushSegment(_1e,_1f);
-}
-_1f=[];
-_1e=t;
-}else{
-_1f.push(x);
-}
-}
-this._pushSegment(_1e,_1f);
-},setShape:function(_24){
-dojox.gfx.Shape.prototype.setShape.call(this,typeof _24=="string"?{path:_24}:_24);
-var _25=this.shape.path;
-this.shape.path=[];
-this._setPath(_25);
-this.shape.path=this.shape.path.join("");
-return this;
-},_2PI:Math.PI*2});
-dojo.declare("dojox.gfx.path.TextPath",dojox.gfx.path.Path,{constructor:function(_26){
-if(!("text" in this)){
-this.text=dojo.clone(dojox.gfx.defaultTextPath);
-}
-if(!("fontStyle" in this)){
-this.fontStyle=dojo.clone(dojox.gfx.defaultFont);
-}
-},getText:function(){
-return this.text;
-},setText:function(_27){
-this.text=dojox.gfx.makeParameters(this.text,typeof _27=="string"?{text:_27}:_27);
-this._setText();
-return this;
-},getFont:function(){
-return this.fontStyle;
-},setFont:function(_28){
-this.fontStyle=typeof _28=="string"?dojox.gfx.splitFontString(_28):dojox.gfx.makeParameters(dojox.gfx.defaultFont,_28);
-this._setFont();
-return this;
-}});
-}