public interface ApplicationContextIF
Modifier and Type | Method and Description |
---|---|
void |
focusNode(TMAbstractNode aNode)
Set the node as the focus of the map
|
TypesConfigFrame |
getAssocFrame()
Display the configuration frame for associations (edges)
|
int |
getDefaultLocality()
Get the default locality for the application.
|
TopicIF |
getDefaultScopingTopic(TopicMapIF aTopicmap)
Get the default scoping topic
|
ParsedMenuFile |
getEnabledItemIds()
Return the menu of enabled items
|
int |
getMaxLocality()
Returns the maximum number of nodes (locality) to display linked
to the central node.
|
TopicIF |
getStartTopic(TopicMapIF aTopicmap)
Return the start topic defined on the map
|
TopicIF |
getTopicForLocator(LocatorIF locator,
TopicMapIF aTopicmap)
Returns the topic with the given subject identifier, if any.
|
TypesConfigFrame |
getTopicFrame()
Display the configuration frame for topics
|
void |
goToTopic(TopicIF aTopic)
Set the focus of the map to the specified topic
|
boolean |
isApplet()
Is this an applet?
|
void |
loadTopic(TopicIF aTopic)
Get a topic from the associated store
|
void |
openPropertiesURL(String aUrl)
Opens the supplied url string in a browser window.
|
void |
setScopingTopic(TopicIF aScope)
Set the scoping topic for the map
|
void |
setStartTopic(TopicIF aTopic)
Assign the starting topic of the map to display.
|
void |
setTmConfig(VizTopicMapConfigurationManager config)
Store the TopicMapConfiguration
|
void |
setView(TopicMapView view)
Set the view
|
void |
setVizPanel(VizPanel panel)
Store the panel containing the map
|
int getMaxLocality()
TypesConfigFrame getAssocFrame()
TypesConfigFrame getTopicFrame()
int getDefaultLocality()
boolean isApplet()
void goToTopic(TopicIF aTopic)
aTopic
- Topic to set as the central focusvoid openPropertiesURL(String aUrl)
aUrl
- String representing the target urlvoid setStartTopic(TopicIF aTopic)
aTopic
- Start TopicTopicIF getTopicForLocator(LocatorIF locator, TopicMapIF aTopicmap)
locator
- the subject identifieraTopicmap
- the topic map to look up invoid loadTopic(TopicIF aTopic)
aTopic
- to read from the storevoid focusNode(TMAbstractNode aNode)
aNode
- node to focus onvoid setScopingTopic(TopicIF aScope)
aScope
- topic to set scopeTopicIF getDefaultScopingTopic(TopicMapIF aTopicmap)
aTopicmap
- map that contains the topicTopicIF getStartTopic(TopicMapIF aTopicmap)
aTopicmap
- map containing topicParsedMenuFile getEnabledItemIds()
void setVizPanel(VizPanel panel)
panel
- to savevoid setTmConfig(VizTopicMapConfigurationManager config)
config
- to savevoid setView(TopicMapView view)
view
- to set