Implements and enables the "Export to Image" option in the File menu. This option will bring up a dialog prompting the user to choose a filename to save to, defaulting to "export.png". Selecting a file will save a the entire diagram area as an image.
Cannot be UI tested as far as I know, because it involves a FileChooser being created and we can't mock those inside of event handlers.
Implements and enables the "Export to Image" option in the File menu. This option will bring up a dialog prompting the user to choose a filename to save to, defaulting to "export.png". Selecting a file will save a the entire diagram area as an image.
Cannot be UI tested as far as I know, because it involves a FileChooser being created and we can't mock those inside of event handlers.