Change OpenRocketComponentSaver unmarshal function to return the whole OpenRocketComp...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 6 Jun 2012 18:03:43 +0000 (18:03 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 6 Jun 2012 18:03:43 +0000 (18:03 +0000)
commitbf7026ff7043d49d12ee2bac62360c543ef5f325
tree03f64f27341f7c81c62f51bd48f04282ebe9a74a
parent62408659e7ab5cf73bce0038d8fb918b3a93afac
Change OpenRocketComponentSaver unmarshal function to return the whole OpenRocketComponentDTO instead of just the contained components.  This gives the ComponentPresetEditor a change to grab the Materials in the file for use in the ui.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@767 180e2498-e6e9-4542-8430-84ac67f01cd8
core/src/net/sf/openrocket/gui/preset/ComponentPresetEditor.java
core/src/net/sf/openrocket/preset/xml/OpenRocketComponentLoader.java
core/src/net/sf/openrocket/preset/xml/OpenRocketComponentSaver.java