|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.util.selection.SelectionTrackerImpl
public class SelectionTrackerImpl
Default selection tracker
Constructor Summary | |
---|---|
SelectionTrackerImpl(org.eclipse.ui.ISelectionService selectionService)
Creates a tracker based on a selection service |
Method Summary | ||
---|---|---|
protected void |
addSelection(org.eclipse.jface.viewers.ISelection selection)
Add the given selection |
|
|
getSelection(Class<T> selectionType)
Get the selection last with the given type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionTrackerImpl(org.eclipse.ui.ISelectionService selectionService)
selectionService
- the selection service to trackMethod Detail |
---|
protected void addSelection(org.eclipse.jface.viewers.ISelection selection)
selection
- the new selectionpublic <T extends org.eclipse.jface.viewers.ISelection> T getSelection(Class<T> selectionType)
SelectionTracker
getSelection
in interface SelectionTracker
T
- the selection typeselectionType
- the selection class
null
if none is
availableSelectionTracker.getSelection(Class)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |