155 Commits

Author SHA1 Message Date
Kevin Ruland
832e610675 Removed use of java.awt.Color from RocketComponent, OpenRocketLoader. The class net.sf.openrocket.util.Color is used instead in these components, and the conversion to/from java.awt.Color is done in the gui code. This is necessary to port RocketComponent to Android platform. 2011-12-17 04:45:16 +00:00
Kevin Ruland
649ec84cf6 Added material basswood. 2011-12-17 04:42:20 +00:00
Kevin Ruland
dcaaa1ac40 Move net.sf.openrocket.util.Prefs to net.sf.openrocket.gui.util.SwingPreferences. 2011-12-13 19:40:54 +00:00
Kevin Ruland
70128ba359 Removed unused import for Prefs. 2011-12-13 19:31:03 +00:00
Kevin Ruland
6bd6e81f9b Move static function useSafetyChecks() to Application. 2011-12-13 19:20:59 +00:00
Kevin Ruland
d00c83c2e4 Access preference keys through the base class net.sf.openrocket.startup.Preferences instead of Prefs. 2011-12-13 19:07:35 +00:00
Kevin Ruland
58832ce9e7 Access preference keys through the base class net.sf.openrocket.startup.Preferences instead of Prefs. 2011-12-13 19:03:31 +00:00
Kevin Ruland
83d1507a17 Removed unused import for Prefs. 2011-12-13 19:02:47 +00:00
Kevin Ruland
55ca30e595 Access preference keys through the base class net.sf.openrocket.startup.Preferences instead of Prefs. 2011-12-13 19:01:49 +00:00
Kevin Ruland
de225be28c Access preference keys through the base class net.sf.openrocket.startup.Preferences instead of Prefs. 2011-12-13 18:57:51 +00:00
Kevin Ruland
c7605a2673 Access preference keys through the base class net.sf.openrocket.startup.Preferences instead of Prefs. 2011-12-13 18:55:39 +00:00
Kevin Ruland
a630385fc9 Update javadoc to refer to correct source file. Removed unused import. 2011-12-13 18:54:38 +00:00
Kevin Ruland
b899ca127d Fairly substantial refactoring of preference system. Created abstract class net.sf.openrocket.startup.Preferences which defines abstract get/put primitive functions and some conversion utilities which are not dependent on swing/awt. The class net.sf.openrocket.util.Prefs extends this to support execution in a swing application environment using Java system preferences (like it used to). Prefs still contains some utility functions to convert to swing/awt types such as Dimension, Position, and java.awt.Color.
The net.sf.openrocket.util.Color class was added to facilitate making the core RocketComonent classes independent of swing/awt.  Conversion between net.sf.openrocket.util.Color and java.awt.Color is done by static methods in net.sf.openrocket.gui.util.ColorConversion.
2011-12-13 05:52:09 +00:00
Kevin Ruland
8e70a87e5d Removed usage of deprecated Prefs.NODE public member variable. This is to prepare for Preference refactoring. 2011-12-12 21:54:32 +00:00
Kevin Ruland
50feb2c612 Move getDPI to GUIUtil. 2011-12-12 21:24:01 +00:00
Kevin Ruland
27ee867e27 Fixed the problems introduced with the change from ChangeListener to StateChangeListener introduced in previous commits. 2011-12-09 01:40:33 +00:00
Kevin Ruland
bf609aa353 Fixed numerous problems introduced in previous commit which reduced dependency on swing classes ChangeListener and ChangeEvent. 2011-12-07 03:27:39 +00:00
Kevin Ruland
713bd6bab8 Comment out noisy system.out. 2011-12-07 03:19:10 +00:00
Kevin Ruland
d30083c05b Reduce dependency on swing ChangeListener and ChangeEvent classes. Changed the interface ChangeSource from using ChangeListener to using java.util.EventListener. Changed from using ChangeEvent object instances to using EventObject. Added marker interface StateChangeListener to declare a stateChanged method. 2011-12-05 18:49:49 +00:00
Kevin Ruland
1eb91a2b36 Refactored some gui specific utility classes from net.sf.openrocket.util to net.sf.openrocket.gui.util. The following classes were moved: ConcurrentProgressMonitor, ConcurrentProgressMonitorInputStream, FileHelper, GUIUtil, Icons, OpenFileWorker, SaveCSVWorker, SaveFileWorker, SimpleFileFilter. 2011-12-01 19:16:22 +00:00
Doug Pedrick
cccd06298c DGP - print fin set name on marking guide, even if it's the only one 2011-11-26 02:24:28 +00:00
Sampo Niskanen
de2ab2cad7 version to 1.1.10pre 2011-11-24 19:34:12 +00:00
Sampo Niskanen
ab9bf0bce3 version 1.1.9 release-1.1.9 2011-11-24 19:19:39 +00:00
Boris du Reau
d82a370dd4 Translation updates 2011-11-23 22:02:07 +00:00
Sampo Niskanen
c4fb82a577 reordered pages 2011-11-21 21:09:16 +00:00
Doug Pedrick
8f3b051d61 DGP - initial support for fin marking guides, transition templates, and nose cones 2011-11-19 03:37:54 +00:00
Doug Pedrick
fb3df1b97b DGP - changes to compute fin tab dimensions when the centering rings are children of a subassembly such as a motor mount, rather than parented directly to the outer body tube; tweaks to algorithm for additional edge cases. 2011-10-19 18:53:03 +00:00
Sampo Niskanen
5925f9a244 component config refactoring, localization fixes 2011-10-11 19:46:02 +00:00
Boris du Reau
ed52aed918 French and Spanish translations corrections and updates 2011-10-06 13:56:54 +00:00
Doug Pedrick
ffccde50fa DGP - convenience computation of fin tab depth, length, and offset 2011-10-05 04:00:51 +00:00
Sampo Niskanen
85b6d7358b bug fixes 2011-09-29 18:08:07 +00:00
Boris du Reau
d2cf2aa180 Added latest French and Spanish translations 2011-09-19 13:08:37 +00:00
Sampo Niskanen
09ce6bb183 menu icons, window sizing, compass direction selector 2011-09-18 18:38:34 +00:00
Boris du Reau
7b352c1f7c Added string to translate 2011-09-12 22:07:06 +00:00
Boris du Reau
97d1f19cd6 Added new sting to be translated 2011-09-12 16:37:31 +00:00
Sampo Niskanen
9e6e7418c2 world coordinate patch 2011-09-05 17:19:49 +00:00
Sampo Niskanen
d93e265e90 renamed private method 2011-09-04 17:54:10 +00:00
Sampo Niskanen
950dd49561 removed commented sysout lines 2011-09-04 17:52:21 +00:00
Sampo Niskanen
38426ff0fc new frame positioning 2011-08-28 15:14:24 +00:00
Sampo Niskanen
7c1d459de4 geodetic computation file storage 2011-08-28 14:57:08 +00:00
Sampo Niskanen
f4f59fdd6f geodetic computations 2011-08-28 13:14:27 +00:00
Sampo Niskanen
44d916d0cc version to 1.1.9pre 2011-08-25 20:19:39 +00:00
Sampo Niskanen
0349601524 release 1.1.8 release-1.1.8 2011-08-25 20:01:39 +00:00
Sampo Niskanen
ceac736133 bug fixes 2011-08-25 19:29:50 +00:00
Sampo Niskanen
50e8b972a3 preset component framework 2011-08-18 05:28:08 +00:00
jmstrf
9efabf5fb2 Added Blue tube to materials database 2011-08-17 19:01:21 +00:00
jmstrf
109e4c20f8 Added Blue Tube as a material with a density of 1.30 g/cm3. 2011-08-17 18:08:18 +00:00
Sampo Niskanen
df779589c0 web updates 2011-08-15 17:11:14 +00:00
Sampo Niskanen
f6a1d3590a version to 1.1.8pre 2011-08-13 09:51:43 +00:00
Sampo Niskanen
c0b08d8813 version 1.1.7 release-1.1.7 2011-08-12 20:54:11 +00:00