2185 Commits

Author SHA1 Message Date
SiboVG
a27ab137cc Somewhat fix menu items still being opened when not hovered over 2024-08-09 01:07:39 +02:00
SiboVG
e4ca56f8e8 Refactor SearchableAndCategorizableComboBox to group instead of category 2024-08-09 00:05:48 +02:00
SiboVG
117d7d79df Ensure to set old material to doc material 2024-08-08 23:57:13 +02:00
SiboVG
2a53ee9420 Allow taking group from user-defined materials 2024-08-08 23:40:31 +02:00
SiboVG
cee3cb04ae Fix component material not being updated after editing it in the preferences 2024-08-08 23:36:58 +02:00
SiboVG
370e6bffd7 Fix hiding popups after selection 2024-08-08 23:04:37 +02:00
SiboVG
9f0b7c9b15 Check when a material to be removed is in use by a component 2024-08-08 22:43:21 +02:00
SiboVG
e63e521e90 Refactor material addition/removal 2024-08-08 22:01:29 +02:00
SiboVG
b5ff851263 Disable material doc material just to be sure 2024-08-08 21:43:40 +02:00
SiboVG
09d6137ac0 Use dedicated methods for adding/removing doc materials 2024-08-08 19:24:17 +02:00
SiboVG
00acb8b68f Always start from a blank material when creating a new custom material 2024-08-07 23:57:01 +02:00
SiboVG
48e9536769 Goddamn, this index issue caused me so much trouble
Fixes updating combobox after adding custom material
2024-08-07 23:12:42 +02:00
SiboVG
16bd21bb90 Fix triggering of model after item change 2024-08-07 21:40:34 +02:00
SiboVG
b0feb33459 Construct itemGroup within SearchableAndCategorizableComboBox 2024-08-07 21:27:15 +02:00
SiboVG
354843deb9 Refactor SearchableAndCategorizableComboBox 2024-08-07 18:56:31 +02:00
SiboVG
e3ce3ac7dd Refactor SearchableAndCategorizableComboBox to use Group and Groupable interface 2024-08-07 14:19:46 +02:00
SiboVG
2e8accf097 Also add checkmark to selected group 2024-08-07 12:48:41 +02:00
SiboVG
693f2625ba Update materialmodel after combobox change 2024-08-07 12:45:28 +02:00
SiboVG
bb1d3dd3e8 Use == instead of equals for item check 2024-08-07 12:39:13 +02:00
SiboVG
f2fbcc69d3 Set material group non-null in the constructor 2024-08-07 12:17:34 +02:00
SiboVG
829109ee2d Display user-defined materials with (ud) prefix 2024-08-07 12:01:08 +02:00
SiboVG
faeec8e854 Use enhanced loop 2024-08-07 11:51:02 +02:00
SiboVG
98da7340fe Add checkmark for the currently selected item 2024-08-07 11:28:15 +02:00
SiboVG
8dcb120cc5 Add option to select material group in material editor 2024-07-24 22:48:21 +02:00
SiboVG
5d45d075ce Save document materials in document preferences 2024-07-23 00:34:59 +02:00
SiboVG
500c75aeab Save document preferences in design file 2024-07-22 00:02:08 +02:00
SiboVG
bb9e17d0b4 Refactor ORPreferences to ApplicationPreferences 2024-07-21 23:14:19 +02:00
SiboVG
c86c04bd42 Move ORPreferences to preferences package 2024-07-21 23:10:41 +02:00
SiboVG
464d42fb81 Rename Preferences to ORReferences
To not cause confusion with java.util.prefs
2024-07-21 22:00:48 +02:00
SiboVG
4411cb1b35 Use searchable and categorizable combobox for material panel 2024-07-21 11:26:08 +02:00
Joe Pfeiffer
3e0c409cc7
Merge pull request #2513 from SiboVG/issue-2093
[#2093] Allow 2D views to be rotated by click-dragging
2024-07-18 08:24:03 -06:00
SiboVG
7252ae66e0 [#2093] Allow 2D views to be rotated by click-dragging 2024-07-18 01:56:50 +02:00
SiboVG
33f0e2a2e6 Don't hardcode points per inch 2024-07-13 02:03:43 +02:00
SiboVG
d52fa4733e Add alternative paper size names 2024-07-13 01:49:21 +02:00
SiboVG
7eff5efdc8 [#2483] Support more (larger) paper sizes 2024-07-13 01:35:57 +02:00
SiboVG
cecbdb95cb [#2500] Fix issues with double-clicking 2024-07-11 17:55:23 +02:00
Joe Pfeiffer
fd85c523e3
Merge pull request #2491 from JoePfeiffer/sort-csv
Sort FlightDataTypes on FlightDataGroup priority first, then on FlightDataType priority
2024-06-04 17:43:26 -06:00
Joe Pfeiffer
28c92ac52a
Merge pull request #2494 from SiboVG/remove-duplicate-pref
Remove duplicate "Open last design file" preference from design tab
2024-06-04 17:43:08 -06:00
SiboVG
c4942d2a48 Remove the Presets example design 2024-06-05 00:19:55 +02:00
SiboVG
657e7c873d Remove duplicate "Open last design file" preference from design tab 2024-06-05 00:16:19 +02:00
JoePfeiffer
942d273c8d Don't need to re-sort. Types are provided in sorted order 2024-06-01 17:32:27 -06:00
JoePfeiffer
92edd7b40f No longer used for CSV export 2024-06-01 17:24:27 -06:00
JoePfeiffer
64832fe8d6 Move FlightDataBranch from SimulationException to SimulationCalculationException (since those are the only SimulationExceptions that make use of it).
Require FlightDataBranch when throwing SimulationCalculationException

Don't allow setting FlightDataBranch in SimulationCalculationException when exception is rethrown.
2024-04-22 15:13:42 -06:00
JoePfeiffer
872de38b8d It's confusing to have types FlightData and FlightDataBranch, with many variables of type FlightDataBranch named flightData. This commit changes these to be named flightDataBranch (and also changes a few other similarly named variables, so for instance data becomes dataBranch).
Also, FlightDataBranch.getBranchName() is renamed FlightDataBranch.getName(). I suspect the reason for the old method name was to clarify code in the presence of the confusion described above.
2024-04-20 07:47:54 -06:00
SiboVG
b5b9463e8d Increase zoom level box margin 2024-04-10 01:24:36 +02:00
SiboVG
93a410cf2a Increase tree margins 2024-04-10 01:20:59 +02:00
JoePfeiffer
026d5cc259 Check for NaN values and don't try to plot icons for them 2024-04-07 10:06:44 -06:00
SiboVG
723a4262a4 Fix UI properties file for OneDark theme 2024-04-07 01:36:41 +02:00
SiboVG
c272a140ee Fix some mistakes in merge conflicts 2024-04-07 01:23:24 +02:00
SiboVG
a590bdc299 Fix merge conflicts 2024-04-06 02:23:58 +02:00