Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1229 - trunk/src/org/tigris/gef/base/ModeCreateEdgeAndNode.java

gef
Discussion topic

Back to topic list

svn commit: r1229 - trunk/src/org/tigris/gef/base/ModeCreateEdgeAndNode.java

Author tfmorris
Full name Tom Morris
Date 2009-03-19 14:09:30 PDT
Message Author: tfmorris
Date: 2009-03-19 14:09:30-0700
New Revision: 1229

Modified:
   trunk/src/org/tigris​/gef/base/ModeCreate​EdgeAndNode.java

Log:
Add TODO for color overrides

Modified: trunk/src/org/tigris​/gef/base/ModeCreate​EdgeAndNode.java
Url: http://gef.tigris.or​g/source/browse/gef/​trunk/src/org/tigris​/gef/base/ModeCreate​EdgeAndNode.java?vie​w=diff&pathrev=1​229&r1=1228&​r2=1229
====================​====================​====================​==================
--- trunk/src/org/tigris​/gef/base/ModeCreate​EdgeAndNode.java (original)
+++ trunk/src/org/tigris​/gef/base/ModeCreate​EdgeAndNode.java 2009-03-19 14:09:30-0700
@@ -391,7 +391,10 @@
                     LayerManager lm = ce.getLayerManager();
                     fe = (FigEdge) lm.getActiveLayer().​presentationFor(newE​dge);
                     _newItem.setLineColo​r(Color.black);
+ // TODO: This shouldn't be resetting the color
                     fe.setLineColor(Color.black);
+ // TODO: This replaces the routeFig that we initialized at
+ // construction time
                     fe.setFig(_newItem);
                     fe.setSourcePortFig(​startPortFig);
                     fe.setSourceFigNode(​sourceFigNode);

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r1229 - trunk/src/org/tigris/gef/base/ModeCreateEdgeAndNode.java tfmorris Tom Morris 2009-03-19 14:09:30 PDT
Messages per page: