Community
Participate
Working Groups
Currently, GalleryItems must be created in the order that they will be displayed, and there is no way to rearrange them. Other SWT Items support a constructor that takes an index, so that instances can be created out of order. GalleryItem should have a similar constructor. Note that the JFace APIs assume that such a constructor exists, so this is necessary for a functional GalleryTreeViewer.
Fixed on CVS. I've also added a new snippet which creates item in reverse order. Thanks for reporting this.
Closing the bug