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
Sampo Niskanen
9c6b275e84
Change toLowerCase() to toLowerCase(Locale.ENGLISH)
2012-03-27 11:42:31 +00:00
Doug Pedrick
3fa0f9ce67
DGP - design report figure honors rotation angle of main figure; added rocksim constants for future use
2012-03-25 15:56:12 +00:00
Boris du Reau
09067de7cf
Updated French and Spanish translation
2012-03-24 17:54:22 +00:00
Sampo Niskanen
2492a85e88
Initial plugin framework
2012-03-20 20:19:38 +00:00
Sampo Niskanen
c5d04e3741
Remove debugging main method
2012-03-20 19:38:53 +00:00
Doug Pedrick
212442d9f0
DGP - change to design figure offset to prevent the image from creeping off the top of the page
2012-03-19 05:23:54 +00:00
Jason Blood
9cfea90a52
Fin import now works with any color image
2012-03-18 18:28:11 +00:00
Sampo Niskanen
ec7368cbbf
12.03dev version
2012-03-17 21:32:40 +00:00
Sampo Niskanen
d1f83aba39
Release 12.03
2012-03-17 21:15:42 +00:00
Sampo Niskanen
5fb724ff35
Release 12.03
2012-03-17 21:13:09 +00:00
Sampo Niskanen
8f6fa2121c
Remove test dependency on Swing
2012-03-17 20:35:21 +00:00