Merge remote-tracking branch 'upstream/master' into unstable
Conflicts: swing/src/net/sf/openrocket/gui/figureelements/RocketInfo.java
This commit is contained in:
commit
4b4a7c74fc
47
.gitignore
vendored
47
.gitignore
vendored
@ -40,3 +40,50 @@
|
||||
|
||||
/swing/build
|
||||
/swing/tmp
|
||||
|
||||
# IntelliJ
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
|
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
# https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
|
||||
|
||||
# User-specific stuff:
|
||||
.idea/workspace.xml
|
||||
.idea/tasks.xml
|
||||
.idea/dictionaries
|
||||
.idea/vcs.xml
|
||||
.idea/jsLibraryMappings.xml
|
||||
|
||||
# Sensitive or high-churn files:
|
||||
.idea/dataSources.ids
|
||||
.idea/dataSources.xml
|
||||
.idea/dataSources.local.xml
|
||||
.idea/sqlDataSources.xml
|
||||
.idea/dynamic.xml
|
||||
.idea/uiDesigner.xml
|
||||
|
||||
# Gradle:
|
||||
.idea/gradle.xml
|
||||
.idea/libraries
|
||||
|
||||
# Mongo Explorer plugin:
|
||||
.idea/mongoSettings.xml
|
||||
|
||||
## File-based project format:
|
||||
*.iws
|
||||
|
||||
## Plugin-specific files:
|
||||
|
||||
# IntelliJ
|
||||
/out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
|
1
.idea/.name
generated
Normal file
1
.idea/.name
generated
Normal file
@ -0,0 +1 @@
|
||||
openrocket
|
22
.idea/compiler.xml
generated
Normal file
22
.idea/compiler.xml
generated
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<option name="DEFAULT_COMPILER" value="Javac" />
|
||||
<resourceExtensions />
|
||||
<wildcardResourcePatterns>
|
||||
<entry name="!?*.java" />
|
||||
<entry name="!?*.form" />
|
||||
<entry name="!?*.class" />
|
||||
<entry name="!?*.groovy" />
|
||||
<entry name="!?*.scala" />
|
||||
<entry name="!?*.flex" />
|
||||
<entry name="!?*.kt" />
|
||||
<entry name="!?*.clj" />
|
||||
</wildcardResourcePatterns>
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="false">
|
||||
<processorPath useClasspath="true" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
</project>
|
3
.idea/copyright/profiles_settings.xml
generated
Normal file
3
.idea/copyright/profiles_settings.xml
generated
Normal file
@ -0,0 +1,3 @@
|
||||
<component name="CopyrightManager">
|
||||
<settings default="" />
|
||||
</component>
|
4
.idea/encodings.xml
generated
Normal file
4
.idea/encodings.xml
generated
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
|
||||
</project>
|
115
.idea/misc.xml
generated
Normal file
115
.idea/misc.xml
generated
Normal file
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="EntryPointsManager">
|
||||
<entry_points version="2.0" />
|
||||
</component>
|
||||
<component name="ProjectInspectionProfilesVisibleTreeState">
|
||||
<entry key="Project Default">
|
||||
<profile-state>
|
||||
<expanded-state>
|
||||
<State>
|
||||
<id />
|
||||
</State>
|
||||
<State>
|
||||
<id>Class structure</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Code maturity issues</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Java language level migration aids</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Javadoc issues</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Performance issues</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Portability issues</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Probable bugs</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Resource management issues</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>TestNG</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Threading issues</id>
|
||||
</State>
|
||||
</expanded-state>
|
||||
<selected-state>
|
||||
<State>
|
||||
<id>Abstraction issues</id>
|
||||
</State>
|
||||
</selected-state>
|
||||
</profile-state>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
||||
<OptionsSetting value="true" id="Add" />
|
||||
<OptionsSetting value="true" id="Remove" />
|
||||
<OptionsSetting value="true" id="Checkout" />
|
||||
<OptionsSetting value="true" id="Update" />
|
||||
<OptionsSetting value="true" id="Status" />
|
||||
<OptionsSetting value="true" id="Edit" />
|
||||
<ConfirmationsSetting value="0" id="Add" />
|
||||
<ConfirmationsSetting value="0" id="Remove" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
<component name="masterDetails">
|
||||
<states>
|
||||
<state key="GlobalLibrariesConfigurable.UI">
|
||||
<settings>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
<state key="JdkListConfigurable.UI">
|
||||
<settings>
|
||||
<last-edited>1.8</last-edited>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
<state key="ProjectJDKs.UI">
|
||||
<settings>
|
||||
<last-edited>1.8</last-edited>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
<state key="ProjectLibrariesConfigurable.UI">
|
||||
<settings>
|
||||
<splitter-proportions>
|
||||
<option name="proportions">
|
||||
<list>
|
||||
<option value="0.2" />
|
||||
</list>
|
||||
</option>
|
||||
</splitter-proportions>
|
||||
</settings>
|
||||
</state>
|
||||
</states>
|
||||
</component>
|
||||
</project>
|
10
.idea/modules.xml
generated
Normal file
10
.idea/modules.xml
generated
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/core/OpenRocket Core.iml" filepath="$PROJECT_DIR$/core/OpenRocket Core.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/swing/OpenRocket Swing.iml" filepath="$PROJECT_DIR$/swing/OpenRocket Swing.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/lib-test/OpenRocket Test Libraries.iml" filepath="$PROJECT_DIR$/lib-test/OpenRocket Test Libraries.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
5
.idea/scopes/scope_settings.xml
generated
Normal file
5
.idea/scopes/scope_settings.xml
generated
Normal file
@ -0,0 +1,5 @@
|
||||
<component name="DependencyValidationManager">
|
||||
<state>
|
||||
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
|
||||
</state>
|
||||
</component>
|
190
core/OpenRocket Core.iml
Normal file
190
core/OpenRocket Core.iml
Normal file
@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="EclipseModuleManager">
|
||||
<libelement value="jar://$MODULE_DIR$/lib-extra/RXTXcomm.jar!/" />
|
||||
<libelement value="file://$MODULE_DIR$/resources" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/opencsv-2.3.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/guice-3.0.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/guice-multibindings-3.0.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/javax.inject.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/aopalliance.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/slf4j-api-1.7.5.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/annotation-detector-3.0.2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../lib-test/hamcrest-core-1.3.0RC1.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../lib-test/hamcrest-library-1.3.0RC1.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../lib-test/jmock-2.6.0-RC2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../lib-test/jmock-junit4-2.6.0-RC2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../lib-test/junit-dep-4.8.2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../lib-test/test-plugin.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../lib-test/uispec4j-2.3-jdk16.jar!/" />
|
||||
<src_description expected_position="0">
|
||||
<src_folder value="file://$MODULE_DIR$/src" expected_position="0" />
|
||||
<src_folder value="file://$MODULE_DIR$/src-extra" expected_position="1" />
|
||||
<src_folder value="file://$MODULE_DIR$/test" expected_position="2" />
|
||||
</src_description>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/bin" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src-extra" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="RXTXcomm.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib-extra/RXTXcomm.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="resources">
|
||||
<CLASSES>
|
||||
<root url="file://$MODULE_DIR$/resources" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="opencsv-2.3.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/opencsv-2.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="guice-3.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/guice-3.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="guice-multibindings-3.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/guice-multibindings-3.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="javax.inject.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/javax.inject.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="aopalliance.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/aopalliance.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="slf4j-api-1.7.5.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/slf4j-api-1.7.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="annotation-detector-3.0.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/annotation-detector-3.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="hamcrest-core-1.3.0RC1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib-test/hamcrest-core-1.3.0RC1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="hamcrest-library-1.3.0RC1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib-test/hamcrest-library-1.3.0RC1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="jmock-2.6.0-RC2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib-test/jmock-2.6.0-RC2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="jmock-junit4-2.6.0-RC2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib-test/jmock-junit4-2.6.0-RC2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="junit-dep-4.8.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib-test/junit-dep-4.8.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="test-plugin.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib-test/test-plugin.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="uispec4j-2.3-jdk16.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib-test/uispec4j-2.3-jdk16.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/logback-classic-1.0.12.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
</module>
|
@ -1566,8 +1566,8 @@ TCurveMotor.ttip.emptyMass = Empty mass:
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = Length
|
||||
RocketInfo.lengthLine.maxdiameter = , max. diameter
|
||||
RocketInfo.massText1 = Mass with motors
|
||||
RocketInfo.massText2 = Mass with no motors
|
||||
RocketInfo.massWithMotors = Mass with motors
|
||||
RocketInfo.massWithoutMotors = Mass with no motors
|
||||
RocketInfo.at = at M=
|
||||
RocketInfo.cgText = CG:
|
||||
RocketInfo.cpText = CP:
|
||||
|
@ -1222,8 +1222,8 @@ TCurveMotorCol.LENGTH = D
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = Délka
|
||||
RocketInfo.lengthLine.maxdiameter = , max. prumer
|
||||
RocketInfo.massText1 = Hmotnost s motory
|
||||
RocketInfo.massText2 = Hmotnost bez motoru
|
||||
RocketInfo.massWithMotors = Hmotnost s motory
|
||||
RocketInfo.massWithoutMotors = Hmotnost bez motoru
|
||||
RocketInfo.at = v M=
|
||||
RocketInfo.cgText = Te\u017Eí\u0161te:
|
||||
RocketInfo.cpText = Centrum tlaku:
|
||||
|
@ -1281,8 +1281,8 @@ TCurveMotorCol.LENGTH = L
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = Länge
|
||||
RocketInfo.lengthLine.maxdiameter = , max. Durchmesser
|
||||
RocketInfo.massText1 = Masse mit Motoren
|
||||
RocketInfo.massText2 = Masse ohne Motoren
|
||||
RocketInfo.massWithMotors = Masse mit Motoren
|
||||
RocketInfo.massWithoutMotors = Masse ohne Motoren
|
||||
RocketInfo.at = bei M=
|
||||
RocketInfo.cgText = CG:
|
||||
RocketInfo.cpText = CP:
|
||||
|
@ -887,8 +887,8 @@ RocketInfo.cpText = CP:
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = Longitud:
|
||||
RocketInfo.lengthLine.maxdiameter = , Di\u00e1metro m\u00e1ximo:
|
||||
RocketInfo.massText1 = Masa con motores:
|
||||
RocketInfo.massText2 = Masa sin motores:
|
||||
RocketInfo.massWithMotors = Masa con motores:
|
||||
RocketInfo.massWithoutMotors = Masa sin motores:
|
||||
RocketInfo.stabText = Estabilidad:
|
||||
RocketInfo.velocityValue = N/A
|
||||
|
||||
|
@ -878,8 +878,8 @@ RocketInfo.cpText = CP:
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = Longueur
|
||||
RocketInfo.lengthLine.maxdiameter = , diam\u00E8tre max.
|
||||
RocketInfo.massText1 = Masse avec moteurs
|
||||
RocketInfo.massText2 = Masse sans moteurs
|
||||
RocketInfo.massWithMotors = Masse avec moteurs
|
||||
RocketInfo.massWithoutMotors = Masse sans moteurs
|
||||
RocketInfo.stabText = Stabilit\u00E9:
|
||||
RocketInfo.velocityValue = N/A
|
||||
|
||||
|
@ -1285,8 +1285,8 @@ TCurveMotorCol.LENGTH = Lunghezza
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = Lunghezza
|
||||
RocketInfo.lengthLine.maxdiameter = , max. diametro
|
||||
RocketInfo.massText1 = Massa CON motori
|
||||
RocketInfo.massText2 = Massa SENZA motori
|
||||
RocketInfo.massWithMotors = Massa CON motori
|
||||
RocketInfo.massWithoutMotors = Massa SENZA motori
|
||||
RocketInfo.at = a M=
|
||||
RocketInfo.cgText = CG:
|
||||
RocketInfo.cpText = CP:
|
||||
|
@ -1343,8 +1343,8 @@ TCurveMotor.ttip.emptyMass = \u7A7A\u865A\u8CEA\u91CF\uFF1A
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = \u9577\u3055
|
||||
RocketInfo.lengthLine.maxdiameter = , \u6700\u5927\u76F4\u5F84
|
||||
RocketInfo.massText1 = \u30E2\u30FC\u30BF\u30FC\u8FBC\u307F\u91CD\u91CF
|
||||
RocketInfo.massText2 = \u30E2\u30FC\u30BF\u30FC\u7121\u3057\u91CD\u91CF
|
||||
RocketInfo.massWithMotors = \u30E2\u30FC\u30BF\u30FC\u8FBC\u307F\u91CD\u91CF
|
||||
RocketInfo.massWithoutMotors = \u30E2\u30FC\u30BF\u30FC\u7121\u3057\u91CD\u91CF
|
||||
RocketInfo.at = at M=
|
||||
RocketInfo.cgText = CG:
|
||||
RocketInfo.cpText = CP:
|
||||
|
@ -1226,8 +1226,8 @@
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = D\u0142ugo\u015B\u0107
|
||||
RocketInfo.lengthLine.maxdiameter = , maks. \u015Brednica
|
||||
RocketInfo.massText1 = Masa z silnikami
|
||||
RocketInfo.massText2 = Masa bez silników
|
||||
RocketInfo.massWithMotors = Masa z silnikami
|
||||
RocketInfo.massWithoutMotors = Masa bez silników
|
||||
RocketInfo.at = przy M
|
||||
RocketInfo.cgText = \u015AC:
|
||||
RocketInfo.cpText = \u015AP:
|
||||
|
@ -862,8 +862,8 @@ RocketInfo.cpText = CP:
|
||||
# RocketInfo
|
||||
RocketInfo.lengthLine.Length = Tamanho
|
||||
RocketInfo.lengthLine.maxdiameter = , di\u00e2metro m\u00e1x.
|
||||
RocketInfo.massText1 = Massa com motores
|
||||
RocketInfo.massText2 = Massa sem motores
|
||||
RocketInfo.massWithMotors = Massa com motores
|
||||
RocketInfo.massWithoutMotors = Massa sem motores
|
||||
RocketInfo.stabText = Estabilidade:
|
||||
RocketInfo.velocityValue = N/D
|
||||
|
||||
|
@ -1435,8 +1435,8 @@ TCurveMotor.ttip.emptyMass = \u041c\u0430\u0441\u0441\u0430 \u0431\u0435\u0437 \
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = \u0414\u043b\u0438\u043d\u0430
|
||||
RocketInfo.lengthLine.maxdiameter = , \u043c\u0430\u043a\u0441. \u0434\u0438\u0430\u043c\u0435\u0442\u0440
|
||||
RocketInfo.massText1 = \u041c\u0430\u0441\u0441\u0430 \u0441 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f\u043c\u0438
|
||||
RocketInfo.massText2 = \u041c\u0430\u0441\u0441\u0430 \u0431\u0435\u0437 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439
|
||||
RocketInfo.massWithMotors = \u041c\u0430\u0441\u0441\u0430 \u0441 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044f\u043c\u0438
|
||||
RocketInfo.massWithoutMotors = \u041c\u0430\u0441\u0441\u0430 \u0431\u0435\u0437 \u0434\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u0435\u0439
|
||||
RocketInfo.at = \u041f\u0440\u0438 M
|
||||
RocketInfo.cgText = \u0426\u0422:
|
||||
RocketInfo.cpText = \u0426\u0414:
|
||||
|
@ -1440,8 +1440,8 @@ TCurveMotor.ttip.emptyMass = Empty mass:
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = Length
|
||||
RocketInfo.lengthLine.maxdiameter = , max. diameter
|
||||
RocketInfo.massText1 = Mass with motors
|
||||
RocketInfo.massText2 = Mass with no motors
|
||||
RocketInfo.massWithMotors = Mass with motors
|
||||
RocketInfo.massWithoutMotors = Mass with no motors
|
||||
RocketInfo.at = at M=
|
||||
RocketInfo.cgText = CG:
|
||||
RocketInfo.cpText = CP:
|
||||
|
@ -952,8 +952,8 @@ RocketInfo.cpText = CP(\u538B\u5FC3):
|
||||
! RocketInfo
|
||||
RocketInfo.lengthLine.Length = \u957F\u5EA6
|
||||
RocketInfo.lengthLine.maxdiameter = , \u6700\u5927\u76F4\u5F84
|
||||
RocketInfo.massText1 = \u542B\u53D1\u52A8\u673A\u7684\u603B\u8D28\u91CF
|
||||
RocketInfo.massText2 = \u4E0D\u542B\u53D1\u52A8\u673A\u7684\u51C0\u8D28\u91CF
|
||||
RocketInfo.massWithMotors = \u542B\u53D1\u52A8\u673A\u7684\u603B\u8D28\u91CF
|
||||
RocketInfo.massWithoutMotors = \u4E0D\u542B\u53D1\u52A8\u673A\u7684\u51C0\u8D28\u91CF
|
||||
RocketInfo.stabText = \u7A33\u5B9A\u6027:
|
||||
RocketInfo.velocityValue = N/A
|
||||
|
||||
|
83
lib-test/OpenRocket Test Libraries.iml
Normal file
83
lib-test/OpenRocket Test Libraries.iml
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="EclipseModuleManager">
|
||||
<libelement value="jar://$MODULE_DIR$/hamcrest-core-1.3.0RC1.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/hamcrest-library-1.3.0RC1.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/jmock-2.6.0-RC2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/jmock-junit4-2.6.0-RC2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/junit-dep-4.8.2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/test-plugin.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/uispec4j-2.3-jdk16.jar!/" />
|
||||
<src_description expected_position="0" />
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/bin" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="hamcrest-core-1.3.0RC1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/hamcrest-core-1.3.0RC1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="hamcrest-library-1.3.0RC1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/hamcrest-library-1.3.0RC1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="jmock-2.6.0-RC2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/jmock-2.6.0-RC2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="jmock-junit4-2.6.0-RC2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/jmock-junit4-2.6.0-RC2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="junit-dep-4.8.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/junit-dep-4.8.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="test-plugin.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/test-plugin.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="uispec4j-2.3-jdk16.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/uispec4j-2.3-jdk16.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
</component>
|
||||
</module>
|
210
swing/OpenRocket Swing.iml
Normal file
210
swing/OpenRocket Swing.iml
Normal file
@ -0,0 +1,210 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="EclipseModuleManager">
|
||||
<libelement value="jar://$MODULE_DIR$/lib/jogl/jogl-all.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/iText-5.0.2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/jcommon-1.0.18.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/jfreechart-1.0.15.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/OrangeExtensions-1.2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/jogl/gluegen-rt.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../core/lib/slf4j-api-1.7.5.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../core/lib/aopalliance.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../core/lib/guice-3.0.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../core/lib/guice-multibindings-3.0.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../core/lib/javax.inject.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/../core/lib/opencsv-2.3.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/logback-classic-1.0.12.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/logback-core-1.0.12.jar!/" />
|
||||
<libelement value="file://$MODULE_DIR$/../core/resources" />
|
||||
<libelement value="file://$MODULE_DIR$/resources" />
|
||||
<libelement value="jar://$MODULE_DIR$/../core/lib/annotation-detector-3.0.2.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/miglayout-4.0-swing.jar!/" />
|
||||
<libelement value="jar://$MODULE_DIR$/lib/rsyntaxtextarea-2.5.6.jar!/" />
|
||||
<src_description expected_position="0">
|
||||
<src_folder value="file://$MODULE_DIR$/src" expected_position="0" />
|
||||
</src_description>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/bin" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="jogl-all.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/jogl/jogl-all.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="iText-5.0.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/iText-5.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="jcommon-1.0.18.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/jcommon-1.0.18.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="jfreechart-1.0.15.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/jfreechart-1.0.15.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="OrangeExtensions-1.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/OrangeExtensions-1.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="gluegen-rt.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/jogl/gluegen-rt.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="OpenRocket Core" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="slf4j-api-1.7.5.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../core/lib/slf4j-api-1.7.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="aopalliance.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../core/lib/aopalliance.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="guice-3.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../core/lib/guice-3.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="guice-multibindings-3.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../core/lib/guice-multibindings-3.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="javax.inject.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../core/lib/javax.inject.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="opencsv-2.3.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../core/lib/opencsv-2.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="logback-classic-1.0.12.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/logback-classic-1.0.12.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="logback-core-1.0.12.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/logback-core-1.0.12.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="resources">
|
||||
<CLASSES>
|
||||
<root url="file://$MODULE_DIR$/../core/resources" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="resources">
|
||||
<CLASSES>
|
||||
<root url="file://$MODULE_DIR$/resources" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="annotation-detector-3.0.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../core/lib/annotation-detector-3.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="miglayout-4.0-swing.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/miglayout-4.0-swing.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MODULE_DIR$/reference/miglayout-4.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="rsyntaxtextarea-2.5.6.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/rsyntaxtextarea-2.5.6.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
</module>
|
@ -50,6 +50,7 @@ public class RocketInfo implements FigureElement {
|
||||
private double aoa = Double.NaN;
|
||||
private double theta = Double.NaN;
|
||||
private double mach = Application.getPreferences().getDefaultMach();
|
||||
private double massWithoutMotors = 0;
|
||||
|
||||
private WarningSet warnings = null;
|
||||
|
||||
@ -115,6 +116,10 @@ public class RocketInfo implements FigureElement {
|
||||
this.mass = mass;
|
||||
}
|
||||
|
||||
public void setMassWithoutMotors(double mass) {
|
||||
this.massWithoutMotors = mass;
|
||||
}
|
||||
|
||||
public void setWarnings(WarningSet warnings) {
|
||||
this.warnings = warnings.clone();
|
||||
}
|
||||
@ -152,24 +157,28 @@ public class RocketInfo implements FigureElement {
|
||||
trans.get("RocketInfo.lengthLine.maxdiameter") +" " +
|
||||
UnitGroup.UNITS_LENGTH.getDefaultUnit().toStringUnit(diameter));
|
||||
|
||||
String massText;
|
||||
if (configuration.hasMotors())
|
||||
//// Mass with motors
|
||||
massText = trans.get("RocketInfo.massText1") +" ";
|
||||
else
|
||||
//// Mass with no motors
|
||||
massText = trans.get("RocketInfo.massText2") +" ";
|
||||
String massTextWithMotors;
|
||||
String massTextWithoutMotors;
|
||||
|
||||
massText += UnitGroup.UNITS_MASS.getDefaultUnit().toStringUnit(mass);
|
||||
|
||||
GlyphVector massLine = createText(massText);
|
||||
/// Mass with no motors
|
||||
massTextWithoutMotors = trans.get("RocketInfo.massWithoutMotors") +" ";
|
||||
massTextWithoutMotors += UnitGroup.UNITS_MASS.getDefaultUnit().toStringUnit(massWithoutMotors);
|
||||
|
||||
GlyphVector massLineWithoutMotors = createText(massTextWithoutMotors);
|
||||
|
||||
g2.setColor(Color.BLACK);
|
||||
|
||||
g2.drawGlyphVector(name, x1, y1);
|
||||
g2.drawGlyphVector(lengthLine, x1, y1+line);
|
||||
g2.drawGlyphVector(massLine, x1, y1+2*line);
|
||||
g2.drawGlyphVector(massLineWithoutMotors, x1, y1+2*line);
|
||||
|
||||
if( configuration.hasMotors() ) {
|
||||
//// Mass with motors
|
||||
massTextWithMotors = trans.get("RocketInfo.massWithMotors") + " ";
|
||||
massTextWithMotors += UnitGroup.UNITS_MASS.getDefaultUnit().toStringUnit(mass);
|
||||
GlyphVector massLineWithMotors = createText(massTextWithMotors);
|
||||
g2.drawGlyphVector(massLineWithMotors, x1, y1+3*line);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -644,6 +644,7 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change
|
||||
extraText.setLength(length);
|
||||
extraText.setDiameter(diameter);
|
||||
extraText.setMass(cg.weight);
|
||||
extraText.setMassWithoutMotors( massCalculator.getCG( getConfiguration(), MassCalcType.NO_MOTORS ).weight );
|
||||
extraText.setWarnings(warnings);
|
||||
|
||||
if (figure.getType() == RocketPanel.VIEW_TYPE.SideView && length > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user