167 Commits

Author SHA1 Message Date
Kevin Ruland
a10bfbe72d Added android project baggage. Using svn:external on the android directory for pulling in the main source directory ../src 2011-12-24 00:38:22 +00:00
Kevin Ruland
761fcfdfdd Folder to contain android platform eclipse project. 2011-12-24 00:17:36 +00:00
Kevin Ruland
1b97b600da Repackage ProgressOutputStream to net.sf.openrocket.gui.util 2011-12-22 02:33:43 +00:00
Kevin Ruland
ce54de1039 Fix "Fit" zoom level in the rocket view panel. This broke during the EventListener refactoring from a little while ago. 2011-12-21 18:22:08 +00:00
Kevin Ruland
1b309dd786 Refactor UndoRedoAction out of OpenRocketDocument and move into gui packages. Added interface UndoRedoListener so the OpenRocketDocument can send notification to the Undo/Redo buttons when the state of the undo stack changes. 2011-12-21 16:23:47 +00:00
Kevin Ruland
4194479d0c Change from fully qualified class name for ExceptionHandler to import statement. 2011-12-21 16:22:28 +00:00
Kevin Ruland
a8b06ee2c4 Forgot to change Application to use the interface ExceptionHandler instead of the implementation SwingExceptionhandler. 2011-12-19 22:12:41 +00:00
Kevin Ruland
1fa7d4314a Extract and interface for ExceptionHelper in package net.sf.openrocket.startup. Register an instance implementing this interface in the Application object in Startup2. Use the static locator functions in Application to retrieve reference to the ExceptionHandler in all the dependent classes. Note: net.sf.openrocket.gui.main.ExceptionHandler was renamed to net.sf.openrocket.gui.main.SwingExceptionHandler and all its static methods were changed to instance methods. 2011-12-19 22:01:05 +00:00
Sampo Niskanen
6fb7c10f19 test tours 2011-12-19 05:07:24 +00:00
Sampo Niskanen
73e8644aca guided tours implementation 2011-12-19 05:00:30 +00:00
Sampo Niskanen
e3d9e41ba3 removing superfluous files 2011-12-19 04:55:45 +00:00
Kevin Ruland
b266e8645b Back out the incorrect i18n strings from Basswood from de, es & fr locales. 2011-12-19 02:42:19 +00:00
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