public class TopicStringifierToVariant extends java.lang.Object implements TopicStringifier
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set |
scope |
| Constructor and Description |
|---|
TopicStringifierToVariant() |
TopicStringifierToVariant(java.util.Set s) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Description is a text that describes the TopicStringifier.
|
javax.swing.Icon |
getIcon()
Method returns an icon shown in Wandora UI as a mark of the
TopicStringifier.
|
boolean |
initialize(Wandora wandora,
Context context)
Initialization method is called before a TopicStringifier is actually used.
|
void |
stringIntoTopic(java.lang.String oldString,
java.lang.String newString,
Topic t)
Sometimes topic viewer may support string editing feature.
|
boolean |
supportsStringIntoTopic()
If topic viewer supports string editing feature and Wandora can push the
string back into the topic, this method should return true.
|
java.lang.String |
toString(Topic t)
toString method is the actual endpoint used to create a string out of a
topic.
|
public TopicStringifierToVariant()
public TopicStringifierToVariant(java.util.Set s)
public boolean initialize(Wandora wandora, Context context)
TopicStringifierinitialize in interface TopicStringifierpublic java.lang.String getDescription()
TopicStringifiergetDescription in interface TopicStringifierpublic javax.swing.Icon getIcon()
TopicStringifiergetIcon in interface TopicStringifierpublic java.lang.String toString(Topic t)
TopicStringifiertoString in interface TopicStringifierpublic boolean supportsStringIntoTopic()
TopicStringifiersupportsStringIntoTopic in interface TopicStringifierpublic void stringIntoTopic(java.lang.String oldString,
java.lang.String newString,
Topic t)
throws TopicMapException
TopicStringifierstringIntoTopic in interface TopicStringifierTopicMapExceptionCopyright 2004-2015 Wandora Team