Community
Participate
Working Groups
Since all methods of the SWTObservables class, except of the getRealm() method, are deprecated, this method should be moved to the Realm class itself. After moving this method the whole SWTObservables class should be deprecated.
As the Realm class has no access to the org.eclipse.swt.widgets.Display class, I decided to make a top level class out of the DisplayRealm class, which is currently an inner class of the SWT Observables.
Please see: https://git.eclipse.org/r/#/c/35565/
Would code which uses the old getRealm() and new code work together?
Thanks Simon, with the delegation to the new class in SWTObservables everything looks good to me. Merged with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=36859dd1c67e720f61fd0565dac632e3b27623e8
Increased bundle version with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7d19d1cd2898120b636345d8503434ed38cc0c73
Also updated the pom.xml with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=d9f8b1ec7eaf2bec4f16ac1670bc11f7f9f62e6f
(In reply to Lars Vogel from comment #6) > Also updated the pom.xml with > http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/ > ?id=d9f8b1ec7eaf2bec4f16ac1670bc11f7f9f62e6f The Releng Plug-in's POM Version Tool is your friend ;-).