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
Kevin Ruland
340bf068ce
Added support for Manufacturer and ComponentPreset.Type.
2012-04-02 20:05:18 +00:00
Sampo Niskanen
871ff23523
Preset dialog
2012-04-02 14:23:39 +00:00
Kevin Ruland
1cffc8b58c
Added a label to the preset selector.
2012-04-02 01:40:22 +00:00
Kevin Ruland
b1b1b91c89
Removed unused key.
2012-04-02 01:35:44 +00:00
Kevin Ruland
51e6bf9d44
Fix the header and type name to match new parsing.
2012-04-02 01:32:09 +00:00
Kevin Ruland
ec4a782779
Fix dimentions in sample preset file.
2012-04-02 01:17:01 +00:00
Sampo Niskanen
70e7936454
Updates and fixed to preset handling
2012-04-01 19:16:25 +00:00
Kevin Ruland
6f465cd0a2
Reimplement ComponentPreset to be a bag of typed parameters. This provides greater flexibility.
...
Added PresetCSVReader which reads Components from CSV files based on the headers defined in the file.
Added placeholder for a Table dialog containing the ComponentPresets.
2012-04-01 03:27:45 +00:00
Kevin Ruland
35d96f3d53
Make the preset combo box display empty when the preset is lost due to changes in parameters.
2012-03-30 21:09:52 +00:00
Kevin Ruland
03209f5e75
Change the component change event to BOTH_CHANGE when the preset is modified.
2012-03-30 18:17:14 +00:00
Kevin Ruland
0e493ed5bc
Correct startup order. Since parsing the body tube preset library uses BodyTube and therefore Material and ExternalComponent which holds on to static copies of the translator, it must be done after localization is initialized.
2012-03-29 02:53:37 +00:00
Kevin Ruland
6de0ea7083
Initial work on BodyTube ComponentPresets.
2012-03-29 02:47:49 +00:00
Boris du Reau
6d86baa926
Spanish translations update
2012-03-27 19:43:28 +00:00
Sampo Niskanen
ddc8f2e57c
Fix inputting negative rotation angle values of various components
2012-03-27 19:28:18 +00:00