public final class SelectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <V> V |
getSelectedElement(org.eclipse.jface.viewers.ISelection selection,
Class<V> type)
Get the selected element of type V.
|
static <V> List<V> |
getSelectedElements(org.eclipse.jface.viewers.ISelection selection,
Class<V> type)
Get a list of selected elements of type V.
|
public static <V> V getSelectedElement(org.eclipse.jface.viewers.ISelection selection, Class<V> type)
Copyright © 2019. All rights reserved.