Added some methods to SelectionAdapater