Elexis API documentation
Version 2.1.6 as of December 11 2011

de.ralfebert.rcputils.selection
Class SelectionUtils

java.lang.Object
  extended by de.ralfebert.rcputils.selection.SelectionUtils

public class SelectionUtils
extends java.lang.Object

Helper methods for working with JFace selections.


Constructor Summary
SelectionUtils()
           
 
Method Summary
static
<A> java.lang.Iterable<A>
getIterable(ISelection selection, java.lang.Class<A> selectedObjectClass)
          Returns a list of all objects of selectedObjectClass contained in the given selection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionUtils

public SelectionUtils()
Method Detail

getIterable

public static final <A> java.lang.Iterable<A> getIterable(ISelection selection,
                                                          java.lang.Class<A> selectedObjectClass)
Returns a list of all objects of selectedObjectClass contained in the given selection.


Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis