470 Commits

Author SHA1 Message Date
kruland2607
a094b30c1d Major renaming of methods and members changing "MotorConfig" to
"FlightConfig".
2012-10-17 11:15:01 -05:00
kruland2607
6e66aeac31 Pulled the setup of the Motor Configuration panel out of
FlightConfigurationDialog in to its own class.
2012-10-17 10:50:29 -05:00
kruland2607
1f445b2268 Wired in remove deployment configuration. 2012-10-17 09:26:18 -05:00
kruland2607
3a8d2d5560 Implemented a DeploymentConfiguration object which includes the values
used to determine the deployment of a recovery device.  The DeployEvent
enum was moved into this class.  Added a map of configuration id strings
to DeploymentConfiguration objects in the RecoveryDevice.  Modified
various setter/getters in RecoveryDevice to support a "default"
configuration defined in the device's configuration dialog.  Modified
BasicSimulationEngine to use the DeploymentConfiguration based on the
selected configuration.

Added to the FlightConfiguration dialogs to support editing these
configuration.

Missing are serialization of the map in ork files.
2012-10-16 22:13:37 -05:00
kruland2607
e18b081273 Added some l10n strings to the motor table. Tightened up access to
package scope member variables.
2012-10-16 12:53:37 -05:00
kruland2607
d00dc2ff34 Added more buttons to configuration including broken copy button. Added
tab layout to pane.  Added ignition spec to motor config table but
haven't hooked it up.
2012-10-16 11:04:01 -05:00
kruland2607
25c5dfec49 Made the config selector a combo box with buttons to control add, rename
and remove.
2012-10-15 21:02:05 -05:00
kruland2607
dc737e2289 Refactor the EditMotorConfigurationDialog into its own package
"flightconfiguration" and pull the TableModels into their own files. 
Changed layout so all the buttons are on the bottom.  Made the
configuration name editable in the table itself.
2012-10-15 13:33:41 -05:00
Sampo Niskanen
811292286e Make ClassBasedTranslator compatible with Guice 2012-10-15 07:33:24 +03:00
Sampo Niskanen
4670a010be Startup system using Guice and plugin loading 2012-10-14 17:51:10 +03:00
Sampo Niskanen
5622b4a2b5 Guice module for loading plugins 2012-10-10 22:12:34 +03:00
kruland2607
7f6c542e5d Try to use Java Serializable to improve loading of included
ComponentPresets.
2012-10-09 09:07:18 -05:00
kruland2607
d305f9a952 Cleaned up imports. 2012-10-07 22:24:33 -05:00
kruland2607
d8edf41355 Ignore simulation time steps <= 0 when loading ork file. 2012-10-07 22:19:59 -05:00
kruland2607
372bcae9a7 If the user selected a really small (0) timestep, the simulation gets
into an infinite loop.  Don't use a user selected timestep smaller than
MIN_TIME_STEP.
2012-10-07 22:19:27 -05:00
kruland2607
4d77c817d8 Merged changes fixing NaN when computing fin CG. 2012-10-07 22:18:53 -05:00
Bill Kuker
3b368ac270 Reverting efforts to detect & reduce 3d crashes.
Reverting:
1073
1074
1075
1076

1078
1079
2012-09-28 20:25:31 +00:00
Sampo Niskanen
506dc0c9b7 Unit rounding fine-tuning 2012-09-28 19:42:11 +00:00
Bill Kuker
2c6c5aa4c3 Move 3d initialization back where it was (left crash detection). Feeling was that dismissing the splash screen so early in linux felt like a crash. 2012-09-28 12:48:13 +00:00
Bill Kuker
1733ae5398 Add thread names to the danger-timer thread 2012-09-27 16:38:15 +00:00
Sampo Niskanen
bfe48265e6 Add usage instructions to preset dialog 2012-09-27 16:36:45 +00:00
Bill Kuker
22ee569d32 Add a timed check for GL Crash. Really a last resort. 2012-09-27 16:23:00 +00:00
Bill Kuker
b82be4fc02 Give a string description to each place I enter or leave the GL DangerZone 2012-09-27 16:15:45 +00:00
Bill Kuker
02360f89dd GL Init must happen after OSX init, or else the application name does not take effect. Ugh. 2012-09-27 14:55:24 +00:00
Bill Kuker
4073246388 Add a 3D enabled user preference
Add 3d Crash detection that disables 3d if the application crashes during one of several touchy phases of JOGL / Native / display driver initialization.
Always make the 3D view button clickable, but there is an explanation and a button to turn 3d on if it has been disabled
2012-09-27 14:44:04 +00:00
Doug Pedrick
2aa4a8d905 working directory changes. 2012-09-26 23:33:00 +00:00
Doug Pedrick
93bfce7f70 Uncommented component preset editor menu item, but protected it with a system property: -Dopenrocket.preseteditor.menu if present, the editor will be on the menu. 2012-09-26 18:09:12 +00:00
Doug Pedrick
391d02dc66 Changes to support integrated into main application. 2012-09-26 17:24:11 +00:00
Sampo Niskanen
efb4952333 Fix crash at startup due to splash screen handling 2012-09-26 14:51:28 +00:00
Kevin Ruland
a28c99fc54 Wired in the ComponentPresetEditor into the Edit menu. It is currently disabled because of some bugs in the ComponentPresetEditor. 2012-09-26 14:45:55 +00:00
Kevin Ruland
d5d0c7f8b8 Allow yet more time for loading presets. A bug report from a really slow machine took more than 2 minutes to parse all the files. 2012-09-26 13:50:39 +00:00
Kevin Ruland
ee31d47d1d Clear out references to the handler before putting the XMLReader back in the cache. This is to promote garbage collection. 2012-09-25 16:53:53 +00:00
Kevin Ruland
6ad5458da9 Ensure that whenever DoubleModel.getSpinnerModel() is used in a JSpinner, we explicitly set the spinner editor to our own SpinnerEditor instance. The makes the text field in the spinner editable. 2012-09-25 16:37:57 +00:00
Sampo Niskanen
1fb1e7e512 Fix+enhance motor configuration edit dialog 2012-09-25 13:03:11 +00:00
Sampo Niskanen
0725b54061 Fix spinner editor in custom material dialog 2012-09-25 11:53:08 +00:00
Doug Pedrick
d48a2cb400 Cleanup configuration as component change listener. 2012-09-25 03:24:22 +00:00
Doug Pedrick
9ce96bdc05 Fix to recursion bug. 2012-09-24 16:18:27 +00:00
Kevin Ruland
9c1a6c3e1c Use the hideDialog() static method to close the dialog, this prevents NPE as reported in a bug report. 2012-09-24 01:33:39 +00:00
Doug Pedrick
5b6e1ecf39 Added preference to auto-open last design file on startup. 2012-09-23 22:28:39 +00:00
Kevin Ruland
f74d784f89 Support loading orc component files from the filesystem located in the "user application directory"/Components 2012-09-21 21:01:59 +00:00
Kevin Ruland
9d2c51a0b1 Try really hard to always show three digits right of the decimal point. There had been numerous complaints by users that in 12.09 when using inches, the lengths would frequently show only two digits. This is most likely related to the change to SpinnerAdapter which were needed to support in/64. 2012-09-21 02:29:15 +00:00
Doug Pedrick
03d9a295a5 Fix compilation errors. 2012-09-20 20:03:33 +00:00
Sampo Niskanen
03c2fb45df Fix NPE 2012-09-19 04:16:27 +00:00
Sampo Niskanen
3ff98a01d2 Fix NPE 2012-09-19 04:13:57 +00:00
Kevin Ruland
e68fbafde9 Oops, commited syntax errors. 2012-09-19 02:49:02 +00:00
Kevin Ruland
12b3211def added StringUtil class contain isEmpyt( String ) implementation. This method is not available on Froyo and having a convenience function is useful. Modified all places in the code currently using "".equals(). 2012-09-18 01:41:51 +00:00
Kevin Ruland
d59648316c Protect against null values in Prefix Key generation. 2012-09-18 01:39:24 +00:00
Kevin Ruland
fc8c771548 Fix bug - manufacturers cannot be ordered with AlphanumComparator because they are not Strings. Instead just use the default sorting provided. 2012-09-18 01:35:28 +00:00
Sampo Niskanen
cf68f13590 Release 12.09 2012-09-16 14:29:59 +00:00
Kevin Ruland
1542b2ee08 More localization updates by Ruslan Uss. 2012-09-15 22:54:27 +00:00