Login | Register
My pages Projects Community openCollabNet

Discussions > dev > RE: [gef-dev] Scaling problems

gef
Discussion topic

Back to topic list

RE: [gef-dev] Scaling problems

Reply

Author "Christensen, Blake" <Blake dot Christensen at dsionline dot com>
Full name "Christensen, Blake" <Blake dot Christensen at dsionline dot com>
Date 2004-01-30 09:01:41 PST
Message The zoom scaling problems is one of the problems I worked around implementing an editor using gef. I just had each mode do the scaling it needed, which probably wasn't the best solution.
 
In case anyone is interested some other changes I have made:
 
I don't feel the model view controller seperation is complete in gef so I modified:
FigNode removing the delete, since the model should delete not the view/controller.
Extensions to NetNode and NetEdge intercept dispose and pass the information to the model.
LayerPerspective implements the graphChanged method which gets the nodes and edges from the model. Calls to this are added to the constructors and the setGraphModel method.
The implementation of MutableGraphSupport was there to send model changes to the view/controller (gef) and handle commands going to the model layer on top of a database.
 
FigLine was changed since the hit method was code for a square and not a line.
 
 
Blake
Attachments

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

Messages

Show all messages in topic

[gef-dev] Scaling problems Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-01-29 18:06:21 PST
     RE: [gef-dev] Scaling problems "Christensen, Blake" <Blake dot Christensen at dsionline dot com> "Christensen, Blake" <Blake dot Christensen at dsionline dot com> 2004-01-30 09:01:41 PST
         Re: RE: [gef-dev] Scaling problems bob dot tarling at ntlworld dot com bob dot tarling at ntlworld dot com 2004-01-30 09:19:48 PST
             Re: RE: [gef-dev] Scaling problems bob dot tarling at ntlworld dot com bob dot tarling at ntlworld dot com 2004-01-30 09:23:18 PST
                 Re: RE: [gef-dev] Scaling problems anoncvs anonymous CVS access 2004-01-30 10:02:11 PST
                     [gef-dev] UI/Model split (was Scaling problems) Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-01-30 11:31:17 PST
                         RE: RE: [gef-dev] Scaling problems "Christensen, Blake" <Blake dot Christensen at dsionline dot com> "Christensen, Blake" <Blake dot Christensen at dsionline dot com> 2004-01-30 11:46:28 PST
                             Re: RE: [gef-dev] Scaling problems Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-01-30 11:47:42 PST
                                 Re: RE: [gef-dev] Scaling problems Bob Tarling <bob dot tarling at ntlworld dot com> Bob Tarling <bob dot tarling at ntlworld dot com> 2004-01-30 12:09:41 PST
                         Re: [gef-dev] UI/Model split (was Scaling problems) anoncvs anonymous CVS access 2004-01-30 12:22:52 PST
Messages per page: