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, 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 boolean connectWithWandoraClass
public static java.lang.String PLATONIC_SOLID_GRAPH_SI
int[][] dodecahedronEdges
int[][] icosahedronEdges
public PlatonicSolidGenerator()
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 wandora, Context context) throws TopicMapException
WandoraToolexecute in interface WandoraToolTopicMapExceptionpublic void generateTetrahedron(TopicMap topicmap) throws TopicMapException
TopicMapExceptionpublic void generateCube(TopicMap topicmap) throws TopicMapException
TopicMapExceptionpublic void generateOctahedron(TopicMap topicmap) throws TopicMapException
TopicMapExceptionpublic void generateDodecahedron(TopicMap topicmap) throws TopicMapException
TopicMapExceptionpublic void generateIcosahedron(TopicMap topicmap) throws TopicMapException
TopicMapExceptionCopyright 2004-2015 Wandora Team