564 Commits

Author SHA1 Message Date
Boris du Reau
263c10baad New translations 2012-04-20 06:39:25 +00:00
Sampo Niskanen
1c411548a7 Support for opening recovery device on stage separation 2012-04-19 17:24:03 +00:00
Kevin Ruland
74cee3dbbe Added show all compatible types to Chooser. Revised logic for showing match fore diameter check box. 2012-04-19 16:18:23 +00:00
Kevin Ruland
a1f07531fa Added alternative query arguments for listForTypes which takes a list instead of array. 2012-04-19 16:04:33 +00:00
Kevin Ruland
6c67c2266a Change implementation of compatible types so they can be declared. Because of the circular references, they cannot be declared in constructor arguments. 2012-04-19 16:03:48 +00:00
Kevin Ruland
0ec9a1531f Mark bulkheads as filled. 2012-04-19 16:02:30 +00:00
Kevin Ruland
21a835ddd1 Hack for working around unknown materials. Need to address the FIXME 2012-04-18 19:48:56 +00:00
Kevin Ruland
ce543e485e Added semroc centering rings and engine blocks. 2012-04-18 19:46:36 +00:00
Kevin Ruland
5808c7b703 Added centering rings and engine blocks presets 2012-04-18 19:43:28 +00:00
Kevin Ruland
c72e51eb6b InnerTubes use ComponentPresets BODY_TUBE. 2012-04-18 19:41:33 +00:00
Kevin Ruland
94e8b3460b Made the ComponentPresetChooserDialog much more cool by reworking the table. User can hide and unhide columns, reorder columns, and change units by using a right click context menu in the header bar. 2012-04-18 17:43:09 +00:00
Kevin Ruland
64297d8ee7 push epsilon down to .1 mm. 2012-04-16 20:22:39 +00:00
Kevin Ruland
1184c698be Added support for TubeCoupler. 2012-04-16 20:17:38 +00:00
Kevin Ruland
5d6da040b2 Implemented support for bulk heads. Move setting Length from BodyComponent to RocketComponent (since that is where length is defined). Added Materials handling to StructuralComponent. Added OuterDiameter and InnerDiameter to RadiusRingComponent. 2012-04-16 19:31:03 +00:00
Kevin Ruland
d1c83cb9b4 Refactored the ComponentPreset.create method into the ComponentPresetFactory object to make code maintenance easier. Added support for Bulk heads. 2012-04-16 19:18:25 +00:00
Kevin Ruland
f69ed1ea2f Added filter check boxes to limit the displayed components based on fitting with the previous or next component. 2012-04-16 19:17:17 +00:00
Kevin Ruland
6891566799 Use a case insensitive regex for matching filenames. 2012-04-16 19:14:29 +00:00
Kevin Ruland
9d467dafba Implement Transition preset components. 2012-04-13 19:39:33 +00:00
Kevin Ruland
08d1fccf66 Relocate the preset files from datafiles/ to datafiles/presets/. 2012-04-13 19:38:23 +00:00
Kevin Ruland
07218ba729 Move the preset drop down into RocketComponentConfig materials section. Only display it if the component has a non-null getPresetType(). 2012-04-13 19:37:16 +00:00
Kevin Ruland
0adf3a2734 Added debug log message for each file loaded. 2012-04-13 19:35:53 +00:00
Kevin Ruland
255c6771dd Don't support a CG override in components. When using a nose conet preset, compute the density from the mass and use this in conjuction with the material. 2012-04-13 01:57:46 +00:00
Kevin Ruland
66aa9edbef When loading from preset use the direct assignment for material instead of the setter method. 2012-04-13 01:56:06 +00:00
Boris du Reau
bd13b85927 updated Spanish translations 2012-04-12 20:45:35 +00:00
Kevin Ruland
1a7a658876 Make the ComponentPresetChooserDialog more forgiving about presets which are missing parameters. 2012-04-12 19:22:07 +00:00
Kevin Ruland
a86e4c3f0c Move the parsetFromString method from TypedKey to ColumnDefinition since in general the parsing mechanism is more dependent on the file representation than the Type in the TypedKey. 2012-04-12 16:51:23 +00:00
Kevin Ruland
3a2145e9de Don't use setThickness or setFilled from the loadFromPreset since these have side effects of clearing the preset. 2012-04-12 16:50:18 +00:00
Kevin Ruland
b850d6615f First cut at making component presets work for nose cones. 2012-04-12 05:55:07 +00:00
Kevin Ruland
1ce5e0db9c Fixed bug in loader which caused it to load only a single csv file. 2012-04-12 05:10:43 +00:00
Kevin Ruland
2e66939727 Added a filter on all columns. Uses case insensitive match with unicode folding so it should work fine in Turkey. 2012-04-12 04:52:32 +00:00
Kevin Ruland
188173ca6d Honor the sorting during selection. 2012-04-12 04:13:40 +00:00
Kevin Ruland
ef8499e6a8 Fix the problem where the PresetModel drop down was not closing when the ComponentPresetChooserDialog is opened. 2012-04-12 04:12:45 +00:00
Kevin Ruland
f92034db56 Moved the ComponentPresetChooserDialog from the BodyTubeConfig temporary button to the PresetModel drop down. 2012-04-12 02:35:41 +00:00
Kevin Ruland
a64c9e70a6 Added rocksim component csv files pulled from various vendor websites and YORF. 2012-04-11 18:30:14 +00:00
Kevin Ruland
edcd0008b1 Added persistence of ComponentPresets in the ORK file. Bumped ORK file version number to 1.5 when saving designs containing ComponentPresets. Added a digest string to ComponentPreset which is used during reading and writing ORK files to verify the correct ComponentPreset is used. 2012-04-11 17:36:50 +00:00
Doug Pedrick
68eaf21ef0 DGP - fix to honor launch conditions in printed simulations 2012-04-11 13:00:17 +00:00
Doug Pedrick
acf3505cec DGP - fix to honor launch conditions in printed simulations 2012-04-11 12:58:31 +00:00
Boris du Reau
bf0e3d978a updated translations 2012-04-10 18:33:58 +00:00
Sampo Niskanen
2ade1f3ac7 Add debugging for NPE in GeneralOptimizationDialog 2012-04-09 08:20:34 +00:00
Sampo Niskanen
898c024cb7 Fix bug in simulation runner ThreadPoolExecutor 2012-04-09 07:51:42 +00:00
Sampo Niskanen
7902b9e3c5 Fix run script 2012-04-08 16:09:20 +00:00
Sampo Niskanen
3a1fe0332d Enhance component tree tooltip 2012-04-08 16:08:31 +00:00
Kevin Ruland
d8a4372ecd Make ComponentPresetDao and interface with implementation in ComponentPresetDatabase. ComponentPresetDatabase extends Database so it can support listeners. PresetModel implements DatabaseListener so it updates when the user changes the favorite settings. 2012-04-08 02:02:46 +00:00
Kevin Ruland
a5d5e3d500 Implement persistence of ComponentPreset favorites to preferences. Implement favorite check box in ComponentPresetChooserDialog. Added getPresetType to RocketComponent which returns the ComponentPreset.Type of the most compatible presets. 2012-04-04 21:29:33 +00:00
Kevin Ruland
26f8fdf63b Added table contents to ComponentPresetChooserDialog. 2012-04-03 03:39:11 +00:00
Kevin Ruland
85f939b6d8 Add units. 2012-04-03 03:38:14 +00:00
Kevin Ruland
b1d040a964 Fix dimentions on last record in table. 2012-04-03 03:36:06 +00:00
Kevin Ruland
2da4c7df98 Remove the Daos interface and have the Application hold the ComponentPresetDao itself. This was an unnecessary layer of abstraction. 2012-04-03 02:05:17 +00:00
Kevin Ruland
addca0b4b8 Revamp construction of ComponentPresets. Validation and data munging done in the ComponentPreset.create() factory method. 2012-04-02 20:06:47 +00:00
Kevin Ruland
2c793422b5 Added toString for debugging and error logging and Cloneable. 2012-04-02 20:05:53 +00:00