|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.tools.ontologyManagement.OntologyManagementTool
public class OntologyManagementTool
The Ontology Management Tool allows users to build their own ontologies proxy, save snapshots and edit ontologies. To run the tool type "ant ontology-proxy" in the source directory. To compile it, type "ant build-tools".
Nested Class Summary | |
---|---|
class |
OntologyManagementTool.AuthImpl
This class allows to authenticate an user if a 401 error is gotten. |
Field Summary | |
---|---|
protected javax.swing.JButton |
_clearButton
|
protected static java.lang.String |
_configPath
|
protected javax.swing.DefaultComboBoxModel |
_createComboModel
|
protected javax.swing.JPanel |
_createPanel
|
protected javax.swing.JTextArea |
_createStatusArea
|
protected java.util.Hashtable |
_defaultOntHashtable
|
protected java.lang.String |
_defOntName
|
protected javax.swing.JTextField |
_fileTextField
|
protected javax.swing.JButton |
_loadButton
|
protected OntologyRepository |
_myOntologyRepository
|
protected kaos.tools.ontologyManagement.OntologyManagementTool.OntologyDialog |
_ontDialog
|
protected static java.util.Hashtable |
_ontologyFilesHashtable
|
protected javax.swing.JList |
_ontProvList
|
protected javax.swing.DefaultListModel |
_ontProvListModel
|
protected javax.swing.JPanel |
_ontProvPanel
|
protected javax.swing.JTextField |
_portTextField
|
protected javax.swing.JButton |
_saveOntologySnapshotButton
|
protected java.net.ServerSocket |
_servSock
|
protected java.util.Vector |
_shortNameVector
|
protected javax.swing.JButton |
_startButton
|
protected java.lang.StringBuffer |
_statusCreateStr
|
protected java.lang.StringBuffer |
_statusProvStr
|
protected javax.swing.JButton |
_stopButton
|
protected javax.swing.JTabbedPane |
_tabPane
|
protected boolean |
_tabProviderActive
|
protected SwingWorker |
_worker
|
Constructor Summary | |
---|---|
OntologyManagementTool()
|
|
OntologyManagementTool(java.lang.String[] args)
|
Method Summary | |
---|---|
static void |
autoStartProxy(int port)
Start the proxy opening a socket server and wait for incomming requests |
protected void |
gatherOntologies(java.lang.String urlString)
Load the ontologies |
protected void |
getDefaultNamespaces()
Get the default namespaces from the DefaultOntologies class. |
protected void |
init()
Start the dialog. |
protected void |
init(java.lang.String[] args)
Start the dialog. |
protected void |
loadOntologySnapshotFromFile()
Load the files that have a "ont" extension |
protected void |
loadOntologySnapshotFromFile(java.lang.String filename)
|
static void |
main(java.lang.String[] args)
|
protected java.lang.String |
parseURL(java.lang.String str)
Parse the url and get a short string. |
protected void |
saveOntologySnapshot()
Save the hashtable to a file |
protected void |
setCursorToWait(boolean wait)
Either set the cursor to the "wait for it" cursor, or set it back to the normal cursor. |
void |
setLocation(javax.swing.JFrame f)
|
void |
startProxy(int port)
Start the proxy opening a socket server and wait for incomming requests |
void |
updateOntologyHashtable(java.lang.String key,
java.lang.StringBuffer buffer)
Return the file ontology hashtable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.Hashtable _ontologyFilesHashtable
protected java.util.Hashtable _defaultOntHashtable
protected java.net.ServerSocket _servSock
protected SwingWorker _worker
protected java.util.Vector _shortNameVector
protected OntologyRepository _myOntologyRepository
protected static java.lang.String _configPath
protected boolean _tabProviderActive
protected javax.swing.DefaultComboBoxModel _createComboModel
protected javax.swing.DefaultListModel _ontProvListModel
protected javax.swing.JButton _clearButton
protected javax.swing.JButton _loadButton
protected javax.swing.JButton _saveOntologySnapshotButton
protected javax.swing.JButton _startButton
protected javax.swing.JButton _stopButton
protected javax.swing.JList _ontProvList
protected javax.swing.JPanel _createPanel
protected javax.swing.JPanel _ontProvPanel
protected javax.swing.JTabbedPane _tabPane
protected kaos.tools.ontologyManagement.OntologyManagementTool.OntologyDialog _ontDialog
protected java.lang.String _defOntName
protected java.lang.StringBuffer _statusCreateStr
protected java.lang.StringBuffer _statusProvStr
protected javax.swing.JTextArea _createStatusArea
protected javax.swing.JTextField _fileTextField
protected javax.swing.JTextField _portTextField
Constructor Detail |
---|
public OntologyManagementTool()
public OntologyManagementTool(java.lang.String[] args)
Method Detail |
---|
public static void main(java.lang.String[] args)
protected void init()
protected void init(java.lang.String[] args)
protected void getDefaultNamespaces()
protected java.lang.String parseURL(java.lang.String str)
protected void gatherOntologies(java.lang.String urlString)
protected void saveOntologySnapshot()
public void updateOntologyHashtable(java.lang.String key, java.lang.StringBuffer buffer)
protected void loadOntologySnapshotFromFile()
protected void loadOntologySnapshotFromFile(java.lang.String filename)
public void setLocation(javax.swing.JFrame f)
public void startProxy(int port)
public static void autoStartProxy(int port)
protected void setCursorToWait(boolean wait)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |