org.LexGrid.LexBIG.gui.displayResults
Class ConceptTreeView
java.lang.Object
org.LexGrid.LexBIG.gui.displayResults.ConceptTreeView
public class ConceptTreeView extends java.lang.Object
ConceptTreeView provides a UI to display concepts, in particular,
ResolvedConceptReference and the associations between them, in a tree view.
A specified concept can be colored for emphasis.
Author:
Jason Leisch
Constructor Summary
ConceptTreeView (org.eclipse.swt.widgets.Shell shell,
org.eclipse.swt.widgets.Composite parent)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ConceptTreeView
public ConceptTreeView (org.eclipse.swt.widgets.Shell shell,
org.eclipse.swt.widgets.Composite parent)
addSelectionListener
public void addSelectionListener (org.eclipse.swt.events.SelectionListener listener)
removeSelectionListener
public void removeSelectionListener (org.eclipse.swt.events.SelectionListener listener)
getTree
public org.eclipse.swt.widgets.Tree getTree ()
setCodesShown
public void setCodesShown (boolean codesShown)
Set whether to show the concept codes with the node names.
Parameters: codesShown
-
updateTreeForConceptSelection
public void updateTreeForConceptSelection (ResolvedConceptReference rcr)
clear
public void clear ()
addTreeItem
public void addTreeItem (org.eclipse.swt.widgets.Tree parent,
java.lang.Object key,
java.lang.String text)
addTreeItem
public void addTreeItem (org.eclipse.swt.widgets.TreeItem parent,
java.lang.Object key,
java.lang.String text)
getKeyedTreeItem
public org.eclipse.swt.widgets.TreeItem getKeyedTreeItem (java.lang.Object key)
addAssociations
public void addAssociations (org.eclipse.swt.widgets.TreeItem parent,
AssociationList associations)
expand
public void expand (org.eclipse.swt.widgets.TreeItem treeItem)
addConcepts
public void addConcepts (ResolvedConceptReference [] concepts)
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD