Enhancement #5661

Use the same custom ErrorDialog in ShowError even when no exception is specified

Added by Tuukka Lehtonen over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2015-02-11
Priority:4Due date:2015-02-11
Assignee:Tuukka Lehtonen% Done:

100%

Category:UtilsSpent time:0.50 hour
Target version:1.18.1
Release notes:Developers: org.simantics.utils.ui.dialogs.ShowError now uses the same dialog for errors and errors with exceptions that allows the user to copy the error message text from the UI.
Tags: ui, utility
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

ShowError contains its own ErrorDialog extends MessageAndIconDialog implementation that supports a details button that reveals the exception if the user presses the button.

It would be nice to use the same dialog and make it resizable at the same time to give the user a chance to copy the error text from the dialog.

Associated revisions

Revision 30902
Added by Tuukka Lehtonen over 2 years ago

Changed ShowError to use its internal ErrorDialog for both errors with messages only and errors with exceptions. IStatus still uses the standard MessageDialog mechanism.

refs #5661

Revision 30903
Added by Tuukka Lehtonen over 2 years ago

Changed ShowError to use its internal ErrorDialog for both errors with messages only and errors with exceptions. IStatus still uses the standard MessageDialog mechanism.

refs #5661

History

#1 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Release notes set to Developers: org.simantics.utils.ui.dialogs.ShowError now uses the same dialog for errors and errors with exceptions that allows the user to copy the error message text from the UI.

Also available in: Atom PDF