public class OBOExport extends AbstractExportTool
| Constructor and Description |
|---|
OBOExport()
Creates a new instance of RDFExport
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Wandora admin,
Options options,
java.lang.String prefix)
If the tool is configurable, shows an user interface to configure the tool.
|
void |
execute(Wandora admin,
Context context)
Runs the tool.
|
protected void |
exportAltIds(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String id) |
protected void |
exportComment(java.io.PrintStream out,
TopicMap tm,
Topic term) |
protected void |
exportCreatorAndCreationDate(java.io.PrintStream out,
TopicMap tm,
Topic term) |
protected void |
exportDefinition(java.io.PrintStream out,
TopicMap tm,
Topic term) |
void |
exportHeader(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm) |
protected void |
exportHeaderTagValue(java.io.PrintStream out,
java.lang.String tag,
java.lang.String value) |
void |
exportInstances(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm) |
void |
exportOBO(java.io.File file,
java.lang.String[] namespaces,
TopicMap tm) |
protected void |
exportProperties(java.io.PrintStream out,
TopicMap tm,
Topic term) |
protected void |
exportRelations(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String atype,
java.lang.String oboTerm) |
protected void |
exportRelations(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String atype,
java.lang.String arole,
java.lang.String oboTerm) |
protected void |
exportRelationships(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String atype,
java.lang.String arole,
java.lang.String modifier) |
protected void |
exportSynonyms(java.io.PrintStream out,
TopicMap tm,
Topic term) |
void |
exportTerms(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm) |
void |
exportTypedefs(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm) |
protected void |
exportXrefs(java.io.PrintStream out,
TopicMap tm,
Topic term) |
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
WandoraToolType |
getType()
Tool type is used to categorize tools.
|
void |
initialize(Wandora admin,
Options options,
java.lang.String prefix)
Initializes a tool with options saved in the options.
|
boolean |
isConfigurable()
Whether this tool is configurable.
|
boolean |
requiresRefresh()
If any visible topic has been changed during tool execution GUI is
automatically refreshed.
|
void |
writeOptions(Wandora admin,
Options options,
java.lang.String prefix)
If the tool is configurable, saves all current tool options.
|
makeTopicMapWith, makeTopicMapWithaddUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, hlog, interruptAllThreads, interruptThreads, interruptThreads, isRunning, isRunning, lockLog, log, log, log, log, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, getContext, getToolMenuItem, hlog, isRunning, log, log, log, log, setContext, setToolLoggerforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStatepublic java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic boolean requiresRefresh()
AbstractWandoraToolIf any visible topic has been changed during tool execution GUI is automatically refreshed. If tool doesn't change topics but GUI still requires refresh, tool should override this method and return true.
For example tools that alter the GUI but change no topics should return true.
requiresRefresh in interface WandoraToolrequiresRefresh in class AbstractWandoraToolpublic WandoraToolType getType()
AbstractWandoraToolTool type is used to categorize tools. Tool type has no real effect today, it is merely an informative property of a tool.
getType in interface WandoraToolgetType in class AbstractExportToolpublic javax.swing.Icon getIcon()
AbstractWandoraToolgetIcon should return Icon object of
the tool.getIcon in interface WandoraToolgetIcon in class AbstractExportToolpublic void initialize(Wandora admin, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolinitialize in interface WandoraToolinitialize in class AbstractWandoraToolTopicMapExceptionpublic boolean isConfigurable()
AbstractWandoraToolisConfigurable in interface WandoraToolisConfigurable in class AbstractWandoraToolpublic void configure(Wandora admin, Options options, java.lang.String prefix) throws TopicMapException
AbstractWandoraToolconfigure in interface WandoraToolconfigure in class AbstractWandoraToolTopicMapExceptionpublic void writeOptions(Wandora admin, Options options, java.lang.String prefix)
AbstractWandoraToolwriteOptions in interface WandoraToolwriteOptions in class AbstractWandoraToolpublic void execute(Wandora admin, Context context) throws TopicMapException
WandoraToolTopicMapExceptionpublic void exportOBO(java.io.File file,
java.lang.String[] namespaces,
TopicMap tm)
public void exportHeader(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm)
public void exportTerms(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm)
public void exportInstances(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm)
public void exportTypedefs(java.io.PrintStream out,
java.lang.String[] namespaces,
TopicMap tm)
protected void exportRelationships(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String atype,
java.lang.String arole,
java.lang.String modifier)
protected void exportRelations(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String atype,
java.lang.String oboTerm)
protected void exportRelations(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String atype,
java.lang.String arole,
java.lang.String oboTerm)
protected void exportHeaderTagValue(java.io.PrintStream out,
java.lang.String tag,
java.lang.String value)
protected void exportCreatorAndCreationDate(java.io.PrintStream out,
TopicMap tm,
Topic term)
protected void exportAltIds(java.io.PrintStream out,
TopicMap tm,
Topic term,
java.lang.String id)
Copyright 2004-2015 Wandora Team