public class PlatonicSolidGenerator extends AbstractGenerator implements WandoraTool
Modifier and Type | Field and Description |
---|---|
static boolean |
connectWithWandoraClass |
(package private) int[][] |
dodecahedronEdges |
(package private) int[][] |
icosahedronEdges |
static java.lang.String |
PLATONIC_SOLID_GRAPH_SI |
Constructor and Description |
---|
PlatonicSolidGenerator()
Creates a new instance of PlatonicSolidGenerator
|
Modifier and Type | Method and Description |
---|---|
private void |
connect(TopicMap topicmap,
Topic vertexTopic,
Topic platonicSolidInstance) |
void |
execute(Wandora wandora,
Context context)
Runs the tool.
|
void |
generateCube(TopicMap topicmap) |
void |
generateDodecahedron(TopicMap topicmap) |
void |
generateIcosahedron(TopicMap topicmap) |
void |
generateOctahedron(TopicMap topicmap) |
void |
generateTetrahedron(TopicMap topicmap) |
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 boolean connectWithWandoraClass
public static java.lang.String PLATONIC_SOLID_GRAPH_SI
int[][] dodecahedronEdges
int[][] icosahedronEdges
public PlatonicSolidGenerator()
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 wandora, Context context) throws TopicMapException
WandoraTool
execute
in interface WandoraTool
TopicMapException
public void generateTetrahedron(TopicMap topicmap) throws TopicMapException
TopicMapException
public void generateCube(TopicMap topicmap) throws TopicMapException
TopicMapException
public void generateOctahedron(TopicMap topicmap) throws TopicMapException
TopicMapException
public void generateDodecahedron(TopicMap topicmap) throws TopicMapException
TopicMapException
public void generateIcosahedron(TopicMap topicmap) throws TopicMapException
TopicMapException
Copyright 2004-2015 Wandora Team