Project

General

Profile

Change Request #3842

Clean up use of SWT Display and Shells

Added by Simon Barner 12 months ago. Updated 10 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
10/09/2019
Due date:
% Done:

0%

Estimated time:

Description

Problems
  • Display.getCurrent() and @Display.getDefault()* are used arbitrarily. This is a potential source for the effect that dialogs are displayed not on the same screen as AF3.
  • Shell s are created on the fly, resulting into spurious windows being created (e.g., displayed in behind dialogues). Partially addressed in #3840.
Suggested changes:
  • Everywhere MessageUtilsExtended to raise error/warning/info/question dialogs in order to centralize their creation
  • Possibly introduce util methods to obtain a Display or a Shell, and to run code in a UI context (wrapper for Display.(a)syncExec())

History

#1 Updated by Simon Barner 10 months ago

  • Status changed from New to Resolved
  • Assignee changed from Simon Barner to Johannes Eder

Please reject: no more investments into SWT code.

#2 Updated by Johannes Eder 10 months ago

  • Status changed from Resolved to Rejected
  • Assignee deleted (Johannes Eder)

Also available in: Atom PDF