com.bbn.swede.library.dumpont
Class DumpOntContentProvider

java.lang.Object
  extended bycom.bbn.swede.library.dumpont.DumpOntContentProvider

public class DumpOntContentProvider
extends Object

Content provider for the TreeViewer that powers the DumpOnt visualization page.

Author:
jlerner

Field Summary
protected  Ontology _ont
          The ontology to display.
 
Constructor Summary
DumpOntContentProvider()
           
 
Method Summary
 void dispose()
           
 Object[] getChildren(Object parentElement)
           
 Object[] getElements(Object inputElement)
           
 Object getParent(Object element)
           
 boolean hasChildren(Object element)
           
 void inputChanged(Viewer viewer, Object oldInput, Object newInput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ont

protected Ontology _ont
The ontology to display.

Constructor Detail

DumpOntContentProvider

public DumpOntContentProvider()
Method Detail

getChildren

public Object[] getChildren(Object parentElement)

getParent

public Object getParent(Object element)

hasChildren

public boolean hasChildren(Object element)

getElements

public Object[] getElements(Object inputElement)

dispose

public void dispose()

inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)


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