incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r943242 - /incubator/aries/trunk/samples-sandbox/demo-sample/demo-prototype/src/main/resources/web/demo/Dependency.js
Date Tue, 11 May 2010 19:34:34 GMT
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(){



Mime
View raw message