Menu

#2 object selection framework

open
nobody
GUI (3)
5
2009-08-25
2008-01-28
No

Your software deals with the following features.
- multiple object selection techniques
- bounding box calculation
- grid snapping, magnetic areas
- triggering feedback to the user

Would you like to offer any component that can be reused as a class library on its own in other applications?
How much are the existing interfaces reusable already?

Discussion

  • 3 d

    3 d - 2009-08-25

    First off, sorry for the way overdue answer, hope you browsed the code to find some answers. Perhaps you stumbled upon this source file : http://dxf.svn.sourceforge.net/viewvc/dxf/dxf/myDXF/Graphics/myCanvas.java?view=markup ....
    Basically all the features you mentioned are in the source above, which is one big chunk of uncommented code which is simply an extension of a java Canvas which implements a bunch of listeners. I believe it's just too specific to our app...
    The only "truly" reusable part of the code is the DXF model which has already been reused by others.

     
  • 3 d

    3 d - 2009-08-25
    • status: open --> pending
     
  • Markus Elfring

    Markus Elfring - 2009-08-25

    Would you like to encapsulate the involved objects into reusable classes?

     
  • Markus Elfring

    Markus Elfring - 2009-08-25
    • status: pending --> open
     
  • 3 d

    3 d - 2009-08-27

    Well why not... I don't know of any such classes however, did you have anything particular in mind, or did you mean implementing one and using it with this app ?

     
  • Markus Elfring

    Markus Elfring - 2009-08-27

    I am looking for implementations of fundamental software components that graphical editors have got in common. It seems that frameworks for such a purpose are not well-known yet.

     

Log in to post a comment.

Monday.com Logo