You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by zo...@apache.org on 2010/05/11 21:34:34 UTC
svn commit: r943242 -
/incubator/aries/trunk/samples-sandbox/demo-sample/demo-prototype/src/main/resources/web/demo/Dependency.js
Author: zoe
Date: Tue May 11 19:34:33 2010
New Revision: 943242
URL: http://svn.apache.org/viewvc?rev=943242&view=rev
Log:
ARIES-308 Make all the package relationships show as single green lines
Modified:
incubator/aries/trunk/samples-sandbox/demo-sample/demo-prototype/src/main/resources/web/demo/Dependency.js
Modified: incubator/aries/trunk/samples-sandbox/demo-sample/demo-prototype/src/main/resources/web/demo/Dependency.js
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples-sandbox/demo-sample/demo-prototype/src/main/resources/web/demo/Dependency.js?rev=943242&r1=943241&r2=943242&view=diff
==============================================================================
--- incubator/aries/trunk/samples-sandbox/demo-sample/demo-prototype/src/main/resources/web/demo/Dependency.js (original)
+++ incubator/aries/trunk/samples-sandbox/demo-sample/demo-prototype/src/main/resources/web/demo/Dependency.js Tue May 11 19:34:33 2010
@@ -64,18 +64,19 @@ constructor: function(surface, name, typ
//this.line.connect("onmouseleave",dojo.hitch(this,"onMouseLeave"));
},
setStroke: function(){
+ //Fixed to make all lines go over each other
if(this.type=="packageImport"){
- this.typeOffset=5;
- this.stroke = '#F08080';
+ this.typeOffset=0;
+ this.stroke = '#80F080';
}else if(this.type=="packageExport"){
this.stroke = '#80F080';
- this.typeOffset=-5;
+ this.typeOffset=-0;
}else if(this.type=="serviceExport"){
- this.stroke = '#F080F0';
- this.typeOffset=10;
+ this.stroke = '#80F080';
+ this.typeOffset=0;
}else if(this.type=="serviceImport"){
this.stroke = '#8080F0';
- this.typeOffset=-10;
+ this.typeOffset=0;
}
},
updateVisibility: function(){