com.bbn.swede.library.dumpont
Class DumpOnt

java.lang.Object
  extended byEditorPart
      extended bycom.bbn.swede.editor.OWLVisualEditor
          extended bycom.bbn.swede.library.dumpont.DumpOnt
All Implemented Interfaces:
IOASTChangeListener

public class DumpOnt
extends OWLVisualEditor

Wraps DumpOnt as a visualization page for the multi-page OWL editor. It populates a JFace TreeViewer with a class and property hierarchy generated by the dumpont core.

Author:
Dmoore, jlerner, rblace
See Also:
Serialized Form

Field Summary
protected  IEditorInput _editorInput
          The input for the OWL editor.
protected  TreeViewer _treeViewer
          The tree control that displays the DumpOnt results.
 
Constructor Summary
DumpOnt()
           
 
Method Summary
 void createPartControl(Composite parent)
           
 void doubleClick(DoubleClickEvent event)
           
 void init(IEditorSite site, IEditorInput input)
           
 void oastChanged(OASTEvent event)
          This method is called automatically after the OAST is changed.
 void populate()
           
 void propertyChange(PropertyChangeEvent event)
           
 void selectionChanged(IWorkbenchPart part, ISelection selection)
           
 void setFocus()
           
 
Methods inherited from class com.bbn.swede.editor.OWLVisualEditor
addSelectionChangedListener, doSave, doSaveAs, getOAST, getSelection, isActivePage, isDirty, isSaveAsAllowed, removeSelectionChangedListener, setSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_treeViewer

protected TreeViewer _treeViewer
The tree control that displays the DumpOnt results.


_editorInput

protected IEditorInput _editorInput
The input for the OWL editor.

Constructor Detail

DumpOnt

public DumpOnt()
Method Detail

init

public void init(IEditorSite site,
                 IEditorInput input)
          throws PartInitException
Overrides:
init in class OWLVisualEditor
Throws:
PartInitException

createPartControl

public void createPartControl(Composite parent)

propertyChange

public void propertyChange(PropertyChangeEvent event)

doubleClick

public void doubleClick(DoubleClickEvent event)

selectionChanged

public void selectionChanged(IWorkbenchPart part,
                             ISelection selection)

populate

public void populate()

oastChanged

public void oastChanged(OASTEvent event)
Description copied from interface: IOASTChangeListener
This method is called automatically after the OAST is changed. When this is called, the nodes in event.getRemoved() are no longer in the tree, and the nodes in event.getInserted() have been placed in the tree at their proper positions.

Parameters:
event - Describes the change that was just made to the OAST.

setFocus

public void setFocus()
Overrides:
setFocus in class OWLVisualEditor


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