public interface TopicStringifier
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 topic)
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.
|
boolean initialize(Wandora wandora, Context context)
java.lang.String toString(Topic t)
java.lang.String getDescription()
javax.swing.Icon getIcon()
void stringIntoTopic(java.lang.String oldString, java.lang.String newString, Topic topic) throws TopicMapException
TopicMapException
boolean supportsStringIntoTopic()
Copyright 2004-2015 Wandora Team