Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[osee-dev] Utility methods involving PlatformUI.getWorkbench().getDisplay()

Ken Aguilar pointed out that PlatformUI.getWorkbench().getDisplay() should be used instead of Display.getCurrent() or Display.getDefault().  I added the utility methods getDisplay(), getActiveShell(), and getSystemColor(int id) to AWorkbench that do the right thing.  The updates are in the Git commit 3aaccb85bd4a55c762c186d966b1b6b7dbfa5952 "refactor: Utilize utility method AWorkbench.getDisplay instead of in-place code".

Regards,
Ryan Brooks



Back to the top