Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [gef-issues] [Issue 342] New - GEF shouldn't overwrite specified colors

Discussion topic

Back to topic list

[gef-issues] [Issue 342] New - GEF shouldn't overwrite specified colors


Author tfmorris
Full name Tom Morris
Date 2009-01-13 13:12:40 PST
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=342
                 Issue #|342
                 Summary|GEF shouldn't overwrite specified colors
       Status whiteboard|
              Issue type|DEFECT
             Assigned to|issues@gef
             Reported by|tfmorris

------- Additional comments from tfmorris at tigris dot org Tue Jan 13 13:12:39 -0800 2009 -------
GEF shouldn't be overwriting colors and other parameters after they've been initialized
by the application. For example, the following snippet is from ModeCreateEdgeAndNod​e.mouseRelease()

                    fe = (FigEdge) lm.getActiveLayer().​presentationFor(newE​dge);
The FigEdge fe will have been initialized by ArgoUML to have the correct color and line
width, but GEF resets the color to black and throws away the LinePoly that was created
at construction time and replaces it with _newItem (which doesn't have the correct color
or width).

It would also be desirable for the subclasses drawing style (color, width, dash pattern,
etc) be used during the dragging phase as well, but at a minimum the bug causing it to
overwrite things when position is finished needs to be fixed.

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


Show all messages in topic

[gef-issues] [Issue 342] New - GEF shouldn't overwrite specified colors tfmorris Tom Morris 2009-01-13 13:12:40 PST
     [gef-issues] [Issue 342] GEF shouldn't overwrite specified colors bobtarling Bob Tarling 2011-04-17 15:45:28 PDT
Messages per page: