com.bbn.swede.ui
Class OASTContentProvider

java.lang.Object
  extended bycom.bbn.swede.ui.OASTContentProvider

public class OASTContentProvider
extends Object

Captures the tag and attribute structure of a document's OAST as a JFace content provider. Nodes of type UNPARSEABLE are also included, but other non-structural node types (comments and XML prolog elements) are omitted.

Author:
jlerner
See Also:
OASTNodeLabelProvider

Constructor Summary
OASTContentProvider()
           
 
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
 

Constructor Detail

OASTContentProvider

public OASTContentProvider()
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.