Commit graph

86 commits

Author SHA1 Message Date
John Lewin
bbcc3018f6 Listen for SettingChanged and update profile name/port as needed
- Move behavior back into ProfileManager
- Issue MatterHackers/MCCentral#4600
Hardware tab not syncing name changes
2018-11-16 15:53:44 -08:00
John Lewin
a15c98ea42 Dispose previous ProfileManager instance before assigning new 2018-11-16 15:53:44 -08:00
John Lewin
65ff632681 Make ProfileManager Disposable 2018-11-16 15:53:44 -08:00
John Lewin
2873a74ef7 Use standard event listener pattern 2018-11-16 15:53:43 -08:00
John Lewin
a1dc2cbaa6 CodeFactor cleanup 2018-11-16 05:12:34 -08:00
John Lewin
06e79394f2 Unregister listeners on Printer.Disposed
- Issue MatterHackers/MCCentral#4589
Ensure all printer.Disposed calls unregister listeners
2018-11-15 21:01:01 -08:00
John Lewin
51b15e053b Unregister listeners on Close
- Issue MatterHackers/MCCentral#4588
Listeners not unregistered on Close
2018-11-15 20:03:53 -08:00
John Lewin
5fe1d0e225 Use naming consistent with return types & behavior
- Issue MatterHackers/MCCentral#4554
Remove Profile nomenclature from ProfileManager
2018-11-15 20:03:49 -08:00
John Lewin
6de4906ee9 Remove dead code 2018-11-15 20:03:49 -08:00
Lars Brubaker
0babdab806 cleaning up MappedSetting 2018-11-14 13:33:25 -08:00
Lars Brubaker
1c9b105926 finishing up the removal of Rooded SettingsChanged
Added AnyPrinterSettingChanged event
2018-11-13 09:48:10 -08:00
Lars Brubaker
6405dad7ac Convert static SettingChanged event to instance based
issue: MatterHackers/MCCentral#4551
2018-11-12 17:45:13 -08:00
John Lewin
6e9d7b4b63 Remove ActivePrinter reference 2018-11-12 09:44:59 -08:00
John Lewin
1e7ac7f885 Remove LoadPrinter 2018-11-12 09:44:59 -08:00
John Lewin
39308e5b79 Restore open printers on load 2018-11-12 09:44:59 -08:00
John Lewin
0d9e6aadf2 Experimental multi-printer support 2018-11-12 09:44:59 -08:00
John Lewin
e2a6c761a4 Require and use printer reference rather than static ActivePrinter 2018-11-11 13:22:32 -08:00
Lars Brubaker
4bb93fcc19 changed CommunicationStateChanged to EventHandler 2018-11-09 13:19:29 -08:00
John Lewin
83b2b7851a Improve handling of cancelled slicing operations
- Issue MatterHackers/MCCentral#4532
We should not load incomplete gcode when a slice is canceled
2018-11-08 05:38:46 -08:00
John Lewin
b7ae930450 Allow caller to suppress PrinterChanged from LoadPrinter(profileID) 2018-11-07 13:28:52 -08:00
John Lewin
4908cbb807 Remove dead code 2018-11-07 13:23:35 -08:00
John Lewin
1bf988ddb6 Add LoadPrinter(profileID) overload 2018-11-07 09:08:54 -08:00
Lars Brubaker
c70b752850 Fixed button name for tests
deleting dead code
2018-11-06 15:17:46 -08:00
Lars Brubaker
234ab03072 Improving default loading markdown text
improving layout of progress bar in loading and unloading
2018-11-06 09:33:44 -08:00
John Lewin
6f36eb7ab0 Use theme border colors
- Issue MatterHackers/MCCentral#4507
2018-11-06 09:06:06 -08:00
Lars Brubaker
734bd88c86 Made the unloading wizard code rather than macro
Took out the macro processing stream
2018-11-05 11:08:21 -08:00
John Lewin
b1053b8198 Revert accessibility of contentRow
- Add public PrinterSetupWizardPage proxy to private .contentRow
- Use PrinterSetupWizardPage.ContentRow in LoadFilamentWizard
2018-11-03 10:12:49 -07:00
John Lewin
7212f11871 Rename theme.ActiveTabColor to theme.BackgroundColor
- Issue MatterHackers/MCCentral#4491
2018-11-03 09:51:25 -07:00
John Lewin
8d4974dc32 Move theme.Colors.PrimaryTextColor into theme, remove unneeded types
- Issue MatterHackers/MCCentral#4490
2018-11-03 09:13:07 -07:00
John Lewin
c279f8a511 Fix typo
- Issue MatterHackers/MCCentral#4485
Consider renaming recently added config setting with typo in name
2018-11-03 08:45:17 -07:00
John Lewin
958acf97a3 Fix typos 2018-11-02 22:52:08 -07:00
Lars Brubaker
775f1982bd Re-wrote the load filament wizard as not a macro so we have more control over it
Added it to the setup steps

issue: MatterHackers/MCCentral#4429
Put in a loading filament as part of initial setup process
2018-11-02 16:14:37 -07:00
John Lewin
889a7c2918 Set MCWS environment based on new config options
- Issue MatterHackers/MCCentral#4444
Make MCWS environment at configuration based target
2018-10-31 14:09:33 -07:00
John Lewin
f51ac64d79 Simplify 2018-10-31 14:09:33 -07:00
Lars Brubaker
9ebd15eef2 added created date to oem settings area 2018-10-31 12:31:40 -07:00
John Lewin
4b9944b62d Use MenuTheme colors
- Issue MatterHackers/MCCentral#4439
Popups should use MenuTheme colors
2018-10-30 17:28:57 -07:00
John Lewin
6659156926 Remove workarounds for menu theme colors, rely on new theme support 2018-10-30 16:58:29 -07:00
John Lewin
67faf84f5d Use theme.RowBorder for menu separators 2018-10-30 16:19:20 -07:00
Lars Brubaker
4ab0cf715d Improved slicing error messages
Get the location from the settings organizer
Get the display name of the setting from the settings organizer
Moved more settings strings to SettingsKey

issue: MatterHackers/MCCentral#4231
setting layer thickness to 0 is not displaying an error message
2018-10-26 14:51:16 -07:00
John Lewin
da1e7a7b1e Add dictionary of IObject3D -> TreeNode 2018-10-26 09:05:04 -07:00
Lars Brubaker
f97cb0bba0 Only create one mesh for the extruder change placeholder 2018-10-25 14:24:06 -07:00
John Lewin
a7d9154e5a Add Recent menu item to bed menu to replace history bar
- Issue MatterHackers/MCCentral#4376
2018-10-25 08:25:36 -07:00
John Lewin
129507f26a Rename method 2018-10-24 21:13:10 -07:00
Lars Brubaker
5bee4a584f Better logic of when to run probe calibration 2018-10-24 18:43:27 -07:00
Lars Brubaker
d42d0fd140 Making sure we clear settings that should not be set when importing or creating a new printer 2018-10-24 18:09:02 -07:00
LarsBrubaker
caed1d4a47 Making undo properties have more shared code 2018-10-24 10:08:52 -07:00
John Lewin
b0af37d732 Improve theme support for DropLists 2018-10-22 14:16:25 -07:00
John Lewin
4433abb774 Add theme driven MHDropDownList 2018-10-22 14:16:25 -07:00
John Lewin
4f0f790f56 Create specialized border fields 2018-10-22 14:16:25 -07:00
John Lewin
34708054ee Add support for themed text/number edit fields 2018-10-22 14:16:24 -07:00