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, makeSuperclassSubclass
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, 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, getIcon, getToolMenuItem, getType, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptions
forceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setState
public 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()
AbstractWandoraTool
getName
in interface WandoraTool
getName
in class AbstractGenerator
public java.lang.String getDescription()
AbstractWandoraTool
getDescription
in interface WandoraTool
getDescription
in class AbstractWandoraTool
public void execute(Wandora admin, Context context) throws TopicMapException
WandoraTool
execute
in interface WandoraTool
TopicMapException
public Topic createNamedTopic(TopicMap tm, java.lang.String name) throws java.lang.Exception
java.lang.Exception
public Topic createTopic(TopicMap tm) throws java.lang.Exception
java.lang.Exception
public Association createAssociation(TopicMap tm, Topic t1, Topic t2) throws java.lang.Exception
java.lang.Exception
Copyright 2004-2015 Wandora Team