public class ImportTopicsOfType extends AbstractWandoraTool implements WandoraTool
Modifier and Type | Field and Description |
---|---|
private boolean |
shallow |
private java.lang.String |
typeName |
private java.lang.String |
typeSI |
Constructor and Description |
---|
ImportTopicsOfType(java.lang.String type,
java.lang.String typeSI,
boolean shallow)
Creates a new instance of ImportTopicsOfType
|
Modifier and Type | Method and Description |
---|---|
private Topic |
copyShallow(TopicMap workspace,
Topic t) |
void |
execute(Wandora admin,
Context context) |
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
void |
work(Wandora parent,
java.io.File file) |
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getDescription, getHistory, getIcon, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, getType, hlog, initialize, interruptAllThreads, interruptThreads, interruptThreads, isConfigurable, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMap, writeOptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, execute, execute, getContext, getDescription, getIcon, getToolMenuItem, getType, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptions
forceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setState
private java.lang.String typeName
private java.lang.String typeSI
private boolean shallow
public ImportTopicsOfType(java.lang.String type, java.lang.String typeSI, boolean shallow)
public java.lang.String getName()
AbstractWandoraTool
getName
in interface WandoraTool
getName
in class AbstractWandoraTool
public void execute(Wandora admin, Context context) throws TopicMapException
execute
in interface WandoraTool
TopicMapException
private Topic copyShallow(TopicMap workspace, Topic t) throws TopicMapException
TopicMapException
public void work(Wandora parent, java.io.File file) throws TopicMapException
TopicMapException
Copyright 2004-2015 Wandora Team