|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjpov.viewer.tree.TreeItemSelection
Tis class implements a selection changed listener for the tree.
| Constructor Summary | |
TreeItemSelection(ILemmaViewer ew,
ISourceCaseViewer sv,
ICaseExplorer ce)
Constructs a selection changed listener |
|
| Method Summary | |
java.util.Enumeration |
getLabels()
Returns the set of labels |
java.util.List |
getSelectedGoals()
|
void |
resetSelectedGoals()
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
If the selected item is a method, a lemma or a goal, sets the origin of the text viewer to the first line of the selected method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeItemSelection(ILemmaViewer ew,
ISourceCaseViewer sv,
ICaseExplorer ce)
ew - The current viewer| Method Detail |
public java.util.List getSelectedGoals()
public void resetSelectedGoals()
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListenerevent - The selection eventpublic java.util.Enumeration getLabels()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||