kaos.kpat.tabs
Class OntologyViewTab

java.lang.Object
  extended by kaos.kpat.tabs.OntologyViewTab
All Implemented Interfaces:
RefreshListener, TabPanel

public class OntologyViewTab
extends java.lang.Object
implements TabPanel, RefreshListener

The OntologyViewTab helps to build the components of the Namespace Tab in KPAT.


Nested Class Summary
 class OntologyViewTab.ListComparator
           
 class OntologyViewTab.NamespaceTableCellRenderer
          Table Cell Renderer for displaying a small font and tip text for each namespace.
 class OntologyViewTab.TableListSelectionHandler
          Handles the selection on the table.
 
Field Summary
protected  javax.swing.JList _classList
           
protected  javax.swing.DefaultListModel _classListModel
           
protected  javax.swing.JList _impList
           
protected  javax.swing.DefaultListModel _impListModel
           
protected  javax.swing.JList _instList
           
protected  javax.swing.DefaultListModel _instListModel
           
protected  java.util.Hashtable _longNamesHashtable
           
protected  kaos.kpat.tabs.OntologyViewTab.NamespaceTableModel _model
           
protected  javax.swing.JPanel _namespaceTab
           
protected  java.util.Vector _namespListVector
           
protected  javax.swing.JTable _namespTable
           
protected  javax.swing.ProgressMonitor _progressMonitor
           
protected  javax.swing.JList _propList
           
protected  javax.swing.DefaultListModel _propListModel
           
protected  javax.swing.JPanel _resultsNamespaceInfoPanel
           
protected  javax.swing.JSplitPane _splitPane
           
protected  javax.swing.Timer _timer
           
protected  TunnelClient _tunnelClient
           
protected  java.lang.String FILE_BREAK
           
static java.lang.String NAME
           
protected  TableSorter sorter
           
 
Constructor Summary
OntologyViewTab()
           
 
Method Summary
protected  void createGui()
           
 void doLoadNamespace()
           
 java.awt.Component getDisplayComponent()
           
 java.lang.String getName()
           
protected  void getNamespaceInformation(java.lang.String node)
          Get the namespaces information (class, properties or imported namespaces) from the directory service and show it to the user when a namespace is selected on the namespace tree.
 javax.swing.JPanel getNamespaceTab()
          Returns the Namespace Tab Panel
 javax.swing.JPanel getResultsPanel()
          Returns the Panel that shows the results when an ontology is selected from the table
 void initialize(KPATApplet applet, TunnelClient tunnelClient)
           
 void refreshOccurred()
           
 void updateNamespaces()
          Update the Namespaces Tab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

FILE_BREAK

protected java.lang.String FILE_BREAK

_longNamesHashtable

protected java.util.Hashtable _longNamesHashtable

_classList

protected javax.swing.JList _classList

_classListModel

protected javax.swing.DefaultListModel _classListModel

_propList

protected javax.swing.JList _propList

_propListModel

protected javax.swing.DefaultListModel _propListModel

_impList

protected javax.swing.JList _impList

_impListModel

protected javax.swing.DefaultListModel _impListModel

_instList

protected javax.swing.JList _instList

_instListModel

protected javax.swing.DefaultListModel _instListModel

_namespaceTab

protected javax.swing.JPanel _namespaceTab

_resultsNamespaceInfoPanel

protected javax.swing.JPanel _resultsNamespaceInfoPanel

_namespTable

protected javax.swing.JTable _namespTable

_model

protected kaos.kpat.tabs.OntologyViewTab.NamespaceTableModel _model

_progressMonitor

protected javax.swing.ProgressMonitor _progressMonitor

_timer

protected javax.swing.Timer _timer

_tunnelClient

protected TunnelClient _tunnelClient

_namespListVector

protected java.util.Vector _namespListVector

_splitPane

protected javax.swing.JSplitPane _splitPane

sorter

protected TableSorter sorter
Constructor Detail

OntologyViewTab

public OntologyViewTab()
Method Detail

initialize

public void initialize(KPATApplet applet,
                       TunnelClient tunnelClient)
Specified by:
initialize in interface TabPanel

getName

public java.lang.String getName()
Specified by:
getName in interface TabPanel

getDisplayComponent

public java.awt.Component getDisplayComponent()
Specified by:
getDisplayComponent in interface TabPanel

createGui

protected void createGui()

doLoadNamespace

public void doLoadNamespace()

updateNamespaces

public void updateNamespaces()
Update the Namespaces Tab


getNamespaceInformation

protected void getNamespaceInformation(java.lang.String node)
Get the namespaces information (class, properties or imported namespaces) from the directory service and show it to the user when a namespace is selected on the namespace tree.


getResultsPanel

public javax.swing.JPanel getResultsPanel()
Returns the Panel that shows the results when an ontology is selected from the table


getNamespaceTab

public javax.swing.JPanel getNamespaceTab()
Returns the Namespace Tab Panel


refreshOccurred

public void refreshOccurred()
Specified by:
refreshOccurred in interface RefreshListener