openrocket/openrocket — pull request #211 by enderw88 (2014-12-13 22:50:04+00:00)
Title: Categroize Mass Components and display symbology in RocketFigure

I like to use OR to design scratch built rockets. I have fairly complex designs with dual deployment, backups, etc. When I look at the side schematic I would like to be able to quickly tell if I have all the mass components I need. To assist this I have added the ability to specify what type a mass component is: the default Mass Component, an Altimeter, a Flight Computer, a Deployment Charge, a Tracker, a Payload, Recovery hardware or a Battery. These choices are available in a JComboBox in the MassComponent config dialag.

There is a unique symbol drawn within the bounding box for the mass component. The MassComponentType enum is saved within the mass component portion of the file, so it is persistent.

I am not completely happy with the structure of the MassComponentShapes class given that I use a switch to determine what to drawn. Still it works quickly.

I am open to suggestions for improvement especially for the symbology. I also have only provided an english translation.