public class LSystemGraphGenerator extends AbstractGenerator implements WandoraTool
| Modifier and Type | Class and Description |
|---|---|
private class |
LSystemGraphGenerator.Alphabet |
private class |
LSystemGraphGenerator.LSystem |
private class |
LSystemGraphGenerator.LSystemParser
LSystemParser takes an
Alphabet Word and parses
it. |
private class |
LSystemGraphGenerator.Rule |
private class |
LSystemGraphGenerator.Word |
| Modifier and Type | Field and Description |
|---|---|
private int |
associationCounter |
java.lang.String |
currentColor |
static java.lang.String |
DEFAULT_ASSOCIATION_TYPE_SI |
static java.lang.String |
DEFAULT_ROLE1_SI |
static java.lang.String |
DEFAULT_ROLE2_SI |
static java.lang.String |
DEFAULT_SI_PREFIX |
private LSystemGraphGeneratorDialog |
sourceDialog |
private int |
topicCounter |
java.lang.String |
userSiPrefix |
| Constructor and Description |
|---|
LSystemGraphGenerator()
Creates a new instance of LSystemGraphGenerator
|
| Modifier and Type | Method and Description |
|---|---|
Association |
createAssociation(TopicMap tm,
Topic t1,
Topic t2) |
Topic |
createNamedTopic(TopicMap tm,
java.lang.String name) |
Topic |
createTopic(TopicMap tm) |
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.
|
getIcon, getOrCreateTopic, getOrCreateTopic, getOrCreateTopic, getType, makeSuperclassSubclassaddUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, 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 java.lang.String DEFAULT_SI_PREFIX
public static java.lang.String DEFAULT_ASSOCIATION_TYPE_SI
public static java.lang.String DEFAULT_ROLE1_SI
public static java.lang.String DEFAULT_ROLE2_SI
public java.lang.String userSiPrefix
public java.lang.String currentColor
private int topicCounter
private int associationCounter
private LSystemGraphGeneratorDialog sourceDialog
public LSystemGraphGenerator()
public java.lang.String getName()
AbstractWandoraToolgetName in interface WandoraToolgetName in class AbstractGeneratorpublic java.lang.String getDescription()
AbstractWandoraToolgetDescription in interface WandoraToolgetDescription in class AbstractWandoraToolpublic void execute(Wandora admin, Context context) throws TopicMapException
WandoraToolexecute in interface WandoraToolTopicMapExceptionpublic Topic createNamedTopic(TopicMap tm, java.lang.String name) throws java.lang.Exception
java.lang.Exceptionpublic Topic createTopic(TopicMap tm) throws java.lang.Exception
java.lang.Exceptionpublic Association createAssociation(TopicMap tm, Topic t1, Topic t2) throws java.lang.Exception
java.lang.ExceptionCopyright 2004-2015 Wandora Team