public class PasteTopics extends AbstractWandoraTool implements WandoraTool
| Modifier and Type | Field and Description |
|---|---|
boolean |
ACCEPT_UNKNOWN_TOPICS |
boolean |
ASK_TOPIC_CREATION |
java.util.Iterator |
contextTopics |
Topic |
currentTopic |
boolean |
forceStop |
static int |
INCLUDE_CLASSES |
static int |
INCLUDE_INSTANCES |
static int |
INCLUDE_NAMES |
static int |
INCLUDE_NOTHING |
static int |
INCLUDE_PLAYERS |
static int |
INCLUDE_SIS |
static int |
INCLUDE_SLS |
static int |
INCLUDE_TEXTDATAS |
int |
includeOrders |
static int |
PASTE_BASENAMES |
static int |
PASTE_SIS |
int |
pasteOrders |
boolean |
PLAYER_SHOULD_NOT_BE_EQUAL_TO_INSTANCE |
TopicMap |
topicMap |
boolean |
USER_HAS_BEEN_ASKED |
| Constructor and Description |
|---|
PasteTopics() |
PasteTopics(Context context) |
PasteTopics(Context context,
int includeOrders) |
PasteTopics(Context context,
int includeOrders,
int pasteOrders) |
PasteTopics(int includeOrders) |
PasteTopics(int includeOrders,
int pasteOrders) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Wandora admin,
Context context)
Runs the tool.
|
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
Topic |
getTopic(Wandora admin,
TopicMap topicMap,
java.lang.String identifier,
boolean isBasename) |
void |
initialize(Wandora wandora) |
boolean |
isKnownTopic(Topic topic,
Context context) |
void |
setDisplayName(Topic t,
java.lang.String lang,
java.lang.String name) |
void |
setPasteOrders(int pasteOrders) |
void |
setTextdata(Topic t,
Topic type,
java.lang.String version,
java.lang.String data) |
void |
topicEpilogue(Topic topic) |
void |
topicPrologue(Topic topic) |
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, 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, writeOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, execute, execute, getContext, getIcon, getToolMenuItem, getType, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptionsforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStatepublic static final int PASTE_SIS
public static final int PASTE_BASENAMES
public static final int INCLUDE_NAMES
public static final int INCLUDE_CLASSES
public static final int INCLUDE_INSTANCES
public static final int INCLUDE_SLS
public static final int INCLUDE_SIS
public static final int INCLUDE_PLAYERS
public static final int INCLUDE_TEXTDATAS
public static final int INCLUDE_NOTHING
public int includeOrders
public int pasteOrders
public boolean forceStop
public boolean PLAYER_SHOULD_NOT_BE_EQUAL_TO_INSTANCE
public boolean ASK_TOPIC_CREATION
public boolean ACCEPT_UNKNOWN_TOPICS
public boolean USER_HAS_BEEN_ASKED
public java.util.Iterator contextTopics
public Topic currentTopic
public TopicMap topicMap
public PasteTopics()
public PasteTopics(int includeOrders)
public PasteTopics(int includeOrders,
int pasteOrders)
public PasteTopics(Context context)
public PasteTopics(Context context, int includeOrders)
public PasteTopics(Context context, int includeOrders, int pasteOrders)
public void initialize(Wandora wandora)
public void execute(Wandora admin, Context context)
WandoraToolexecute in interface WandoraToolpublic void topicPrologue(Topic topic)
public void topicEpilogue(Topic topic)
public java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic void setPasteOrders(int pasteOrders)
public Topic getTopic(Wandora admin, TopicMap topicMap, java.lang.String identifier, boolean isBasename) throws TopicMapException
TopicMapExceptionpublic boolean isKnownTopic(Topic topic, Context context) throws TopicMapException
TopicMapExceptionpublic void setDisplayName(Topic t, java.lang.String lang, java.lang.String name) throws TopicMapException
TopicMapExceptionpublic void setTextdata(Topic t, Topic type, java.lang.String version, java.lang.String data) throws TopicMapException
TopicMapExceptionCopyright 2004-2015 Wandora Team