You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2007/10/16 17:38:32 UTC

svn commit: r585177 - in /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view: GraphGeneratorSupport.java NodeData.java

Author: jstrachan
Date: Tue Oct 16 08:38:23 2007
New Revision: 585177

URL: http://svn.apache.org/viewvc?rev=585177&view=rev
Log:
switched to using PNGs hosted at apache

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/GraphGeneratorSupport.java
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/NodeData.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/GraphGeneratorSupport.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/GraphGeneratorSupport.java?rev=585177&r1=585176&r2=585177&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/GraphGeneratorSupport.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/GraphGeneratorSupport.java Tue Oct 16 08:38:23 2007
@@ -45,7 +45,8 @@
 public abstract class GraphGeneratorSupport {
     private static final transient Log LOG = LogFactory.getLog(RouteDotGenerator.class);
     protected String dir;
-    private String imagePrefix = "http://www.enterpriseintegrationpatterns.com/img/";
+    //private String imagePrefix = "http://www.enterpriseintegrationpatterns.com/img/";
+    private String imagePrefix = "http://activemq.apache.org/camel/images/eip/";
     private Map<Object, NodeData> nodeMap = new HashMap<Object, NodeData>();
     private boolean makeParentDirs = true;
     protected int clusterCounter;

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/NodeData.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/NodeData.java?rev=585177&r1=585176&r2=585177&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/NodeData.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/view/NodeData.java Tue Oct 16 08:38:23 2007
@@ -65,11 +65,11 @@
             this.url = "http://activemq.apache.org/camel/message-endpoint.html";
         }
         else if (node instanceof FilterType) {
-            this.image = imagePrefix + "MessageFilterIcon.gif";
+            this.image = imagePrefix + "MessageFilterIcon.png";
             this.nodeType = "Message Filter";
         }
         else if (node instanceof WhenType) {
-            this.image = imagePrefix + "MessageFilterIcon.gif";
+            this.image = imagePrefix + "MessageFilterIcon.png";
             this.nodeType = "When Filter";
             this.url = "http://activemq.apache.org/camel/content-based-router.html";
         }
@@ -80,7 +80,7 @@
             this.tooltop = "Otherwise";
         }
         else if (node instanceof ChoiceType) {
-            this.image = imagePrefix + "ContentBasedRouterIcon.gif";
+            this.image = imagePrefix + "ContentBasedRouterIcon.png";
             this.nodeType = "Content Based Router";
             this.label = "";
             this.edgeLabel = "";
@@ -91,19 +91,19 @@
             this.outputs = outputs;
         }
         else if (node instanceof RecipientListType) {
-            this.image = imagePrefix + "RecipientListIcon.gif";
+            this.image = imagePrefix + "RecipientListIcon.png";
             this.nodeType = "Recipient List";
         }
         else if (node instanceof SplitterType) {
-            this.image = imagePrefix + "SplitterIcon.gif";
+            this.image = imagePrefix + "SplitterIcon.png";
             this.nodeType = "Splitter";
         }
         else if (node instanceof AggregatorType) {
-            this.image = imagePrefix + "AggregatorIcon.gif";
+            this.image = imagePrefix + "AggregatorIcon.png";
             this.nodeType = "Aggregator";
         }
         else if (node instanceof ResequencerType) {
-            this.image = imagePrefix + "ResequencerIcon.gif";
+            this.image = imagePrefix + "ResequencerIcon.png";
             this.nodeType = "Resequencer";
         }