Login | Register
My pages Projects Community openCollabNet

Discussions > dev > FigPoly / ModeCreateFigPoly

gef
Discussion topic

Back to topic list

FigPoly / ModeCreateFigPoly

Reply

Author richardw at geoquip-rnd dot demon dot co dot uk
Full name richardw at geoquip-rnd dot demon dot co dot uk
Date 2006-03-30 01:23:18 PST
Message Hi,

I've just started working with GEF, trying to embed an editor
in my application for some simple Map/diagram editing. I've
noticed a couple of bugs concerning FigPoly. I'm quite happy
to fix them and submit the appropriate patches but I have a
couple of questions:

1. Where do you want patches submitted ? To this list, or
to the bug-tracking system.

2. This list seems very quiet. Is any development happening ?

3. In ModeCreateFigPoly, the first point is created twice. Why ?

    /** Create a new FigRect instance based on the given mouse down
     * event and the state of the parent Editor. */
    public Fig createNewItem(MouseEvent me, int snapX, int snapY) {
        FigPoly p = new FigPoly(snapX, snapY);
        p.addPoint(snapX, snapY); // add the first point twice
        _startX = _lastX = snapX;
        _startY = _lastY = snapY;
        _npoints = 2;
        return p;
    }

Any answers would be very useful,

Regards,

Richard

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

Messages

Show all messages in topic

FigPoly / ModeCreateFigPoly richardw at geoquip-rnd dot demon dot co dot uk richardw at geoquip-rnd dot demon dot co dot uk 2006-03-30 01:23:18 PST
     Re: [gef-dev] FigPoly / ModeCreateFigPoly bobtarling Bob Tarling 2006-03-30 01:31:00 PST
         Re: [gef-dev] FigPoly / ModeCreateFigPoly richardw at geoquip-rnd dot demon dot co dot uk richardw at geoquip-rnd dot demon dot co dot uk 2006-04-10 06:00:35 PDT
             Re: [gef-dev] FigPoly / ModeCreateFigPoly bobtarling Bob Tarling 2006-04-10 06:16:00 PDT
                 Re: [gef-dev] FigPoly / ModeCreateFigPoly bobtarling Bob Tarling 2006-04-10 14:57:30 PDT
                     Re: [gef-dev] FigPoly / ModeCreateFigPoly richardw at geoquip-rnd dot demon dot co dot uk richardw at geoquip-rnd dot demon dot co dot uk 2006-04-11 03:41:23 PDT
Messages per page: