com.bbn.swede.ui
Class OASTNodeLabelProvider

java.lang.Object
  extended byLabelProvider
      extended bycom.bbn.swede.ui.OASTNodeLabelProvider

public class OASTNodeLabelProvider
extends LabelProvider

Provides text and images for OASTNodes that appear in JFace viewers. Node text simply relies on the value returned by a node's overloaded toString() method, while icons from the OWLImages class are used to differentiate between things, predicates, attributes, literals, and unparseables.

Author:
jlerner
See Also:
OASTContentProvider, Serialized Form

Constructor Summary
OASTNodeLabelProvider()
           
 
Method Summary
 Image getImage(Object element)
           
 String getText(Object element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OASTNodeLabelProvider

public OASTNodeLabelProvider()
Method Detail

getImage

public Image getImage(Object element)

getText

public String getText(Object element)


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.