|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.ceryle.ui.graph.CollectionVisualizer
public class CollectionVisualizer
A utility that visualizes one or more XMLDB Collections via a GraphView.
| Nested Class Summary | |
|---|---|
protected class |
CollectionVisualizer.NodeInfo
|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static boolean |
scopeNames
When true, new Component Topics have their labels scoped by the Collection Topic. |
static boolean |
skipTemplates
When true, document IDs beginning with an underscore are ignored. |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
CollectionVisualizer(View view,
Iterator collections,
boolean visualize)
Constructor for a CollectionVisualizer, with the parent ProjectView or GraphView, an optional Iterator over the Collection IDs (as Strings), and a boolean that when true indicates the resulting TopicMap should be visualized to a new GraphView. |
|
CollectionVisualizer(View view,
String cid,
boolean visualize)
Constructor for a CollectionVisualizer, with the parent ProjectView or GraphView, the Collection ID to be visualized, and a boolean that when true indicates the resulting TopicMap should be visualized to a new GraphView. |
|
| Method Summary | |
|---|---|
protected Association |
collectionOf(Topic col,
Topic parent)
Create a collection-collection relation between a Collection and its parent. |
protected Association |
documentOf(Topic node,
Topic col)
Create a node-collection relation between a node and its parent Collection. |
protected TopicMap |
getTopicMap()
Returns the TopicMap generated by this process, null if unavailable or not finished. |
protected boolean |
isDone()
Returns the state of the processing, true when done. |
void |
run()
Starts the Thread by calling start(). |
static Iterator |
selectCollections()
Returns an Iterator over the list of Collection IDs, from a dialog box selection. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static boolean skipTemplates
public static boolean scopeNames
| Constructor Detail |
|---|
public CollectionVisualizer(View view,
String cid,
boolean visualize)
selectCollections() (the two lists are merged if both are used).
view - the parent ProjectView or GraphView.cid - the optional list of Collection IDsvisualize - when true, the resulting TopicMap will be visualized in a new GraphView.
public CollectionVisualizer(View view,
Iterator collections,
boolean visualize)
selectCollections() (the two lists are merged if both are used).
view - the parent ProjectView or GraphView.collections - the optional list of Collection IDsvisualize - when true, the resulting TopicMap will be visualized in a new GraphView.| Method Detail |
|---|
public void run()
run in interface Runnablerun in class Threadpublic static Iterator selectCollections()
protected boolean isDone()
protected TopicMap getTopicMap()
protected Association collectionOf(Topic col,
Topic parent)
throws TopicMapException
TopicMapException
protected Association documentOf(Topic node,
Topic col)
throws TopicMapException
TopicMapException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||