Community
Participate
Working Groups
On SWT moveAbove and moveBelow on Shells has a different separate implementation that reorders the Shells based on the argument. Null will reorder them to the top/bottom while an argument specifies the control that will be above/below. Test case to test that behaviour on RAP: public void testMoveAboveNull() { Display display = new Display(); Shell shell = new Shell( display ); Shell shell2 = new Shell( display ); shell2.moveAbove( null ); assertEquals( shell2, display.getShells()[ 0 ] ); }
Created attachment 176473 [details] Patch proposal Overwritten the methods in Shell and added a addShell( Object, index) in Display class. Also, this bug should fix the two following bugs as well: https://bugs.eclipse.org/bugs/show_bug.cgi?id=229265 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=322243
Still valid with RAP 2.1.