public class CopyTopicsToLayer extends AbstractWandoraTool implements WandoraTool
| Modifier and Type | Field and Description |
|---|---|
static int |
COPY_DEEP |
static int |
COPY_TOPIC |
static int |
COPY_TOPIC_AS_A_SI_STUB |
static int |
COPY_TOPIC_AS_A_SINGLE_SI_STUB |
static int |
COPY_TOPIC_AS_A_STUB |
static int |
COPY_TOPIC_AS_A_STUB_WITH_OCCURRENCES |
static int |
COPY_TOPIC_AS_A_STUB_WITH_VARIANTS |
static int |
COPY_TOPIC_WITH_ASSOCIATIONS |
private static boolean |
copyAssociationTypes |
private static boolean |
copyClasses |
private static int |
copyCount |
private static boolean |
copyInstances |
private static boolean |
copyOccurrenceTypes |
private static boolean |
copyPlayers |
private static boolean |
copyRoles |
private int |
mode |
private static WandoraToolLogger |
myLogger |
| Constructor and Description |
|---|
CopyTopicsToLayer()
Creates a new instance of CopyTopicsToLayer
|
CopyTopicsToLayer(int mymode) |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyTopicsIn(Topic t,
TopicMap target,
TopicMap source,
java.util.HashMap<Locator,java.lang.Integer> copied,
int depth) |
void |
execute(Wandora wandora,
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.
|
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.
|
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, 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, getToolMenuItem, getType, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptionsforceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setStatepublic static final int COPY_TOPIC_AS_A_SINGLE_SI_STUB
public static final int COPY_TOPIC_AS_A_SI_STUB
public static final int COPY_TOPIC_AS_A_STUB
public static final int COPY_TOPIC_AS_A_STUB_WITH_VARIANTS
public static final int COPY_TOPIC_AS_A_STUB_WITH_OCCURRENCES
public static final int COPY_TOPIC
public static final int COPY_TOPIC_WITH_ASSOCIATIONS
public static final int COPY_DEEP
private static int copyCount
private static WandoraToolLogger myLogger
private int mode
private static boolean copyClasses
private static boolean copyInstances
private static boolean copyOccurrenceTypes
private static boolean copyAssociationTypes
private static boolean copyRoles
private static boolean copyPlayers
public CopyTopicsToLayer()
public CopyTopicsToLayer(int mymode)
public void execute(Wandora wandora, Context context)
WandoraToolexecute in interface WandoraToolpublic static void copyTopicsIn(Topic t, TopicMap target, TopicMap source, java.util.HashMap<Locator,java.lang.Integer> copied, int depth) throws TopicMapException
TopicMapExceptionpublic javax.swing.Icon getIcon()
AbstractWandoraToolgetIcon should return Icon object of
the tool.getIcon in interface WandoraToolgetIcon in class AbstractWandoraToolpublic java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractWandoraToolpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolCopyright 2004-2015 Wandora Team