public class TopicmapsPlugin extends de.deepamehta.core.osgi.PluginActivator implements TopicmapsService
DEFAULT_TOPICMAP_NAME, DEFAULT_TOPICMAP_RENDERER| Constructor and Description |
|---|
TopicmapsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociationToTopicmap(long topicmapId,
long assocId)
Adds an association to a topicmap.
|
void |
addTopicToTopicmap(long topicmapId,
long topicId,
int x,
int y,
boolean visibility)
Convenience method to add a topic with the standard view properties.
|
void |
addTopicToTopicmap(long topicmapId,
long topicId,
de.deepamehta.core.model.topicmaps.ViewProperties viewProps)
Adds a topic to a topicmap.
|
de.deepamehta.core.Topic |
createTopicmap(String name,
String topicmapRendererUri,
boolean isPrivate) |
TopicmapViewmodel |
getTopicmap(long topicmapId,
boolean includeChilds) |
InputStream |
getTopicmapAndTopicInWebclient() |
InputStream |
getTopicmapInWebclient() |
boolean |
isAssociationInTopicmap(long topicmapId,
long assocId) |
boolean |
isTopicInTopicmap(long topicmapId,
long topicId) |
void |
registerTopicmapRenderer(TopicmapRenderer renderer) |
void |
registerViewmodelCustomizer(ViewmodelCustomizer customizer) |
void |
removeAssociationFromTopicmap(long topicmapId,
long assocId) |
void |
setClusterPosition(long topicmapId,
ClusterCoords coords) |
void |
setTopicmapTranslation(long topicmapId,
int transX,
int transY) |
void |
setTopicPosition(long topicmapId,
long topicId,
int x,
int y)
Convenience method to update the "dm4.topicmaps.x" and "dm4.topicmaps.y" standard view properties.
|
void |
setTopicVisibility(long topicmapId,
long topicId,
boolean visibility)
Convenience method to update the "dm4.topicmaps.visibility" standard view property.
|
void |
setViewProperties(long topicmapId,
long topicId,
de.deepamehta.core.model.topicmaps.ViewProperties viewProps) |
void |
unregisterViewmodelCustomizer(ViewmodelCustomizer customizer) |
public de.deepamehta.core.Topic createTopicmap(String name, String topicmapRendererUri, boolean isPrivate)
createTopicmap in interface TopicmapsServicepublic TopicmapViewmodel getTopicmap(long topicmapId, boolean includeChilds)
getTopicmap in interface TopicmapsServiceincludeChilds - if true the topics contained in the topicmap will include their child topics.public boolean isTopicInTopicmap(long topicmapId,
long topicId)
isTopicInTopicmap in interface TopicmapsServicepublic boolean isAssociationInTopicmap(long topicmapId,
long assocId)
isAssociationInTopicmap in interface TopicmapsServicepublic void addTopicToTopicmap(long topicmapId,
long topicId,
de.deepamehta.core.model.topicmaps.ViewProperties viewProps)
TopicmapsServiceaddTopicToTopicmap in interface TopicmapsServicepublic void addTopicToTopicmap(long topicmapId,
long topicId,
int x,
int y,
boolean visibility)
TopicmapsServiceaddTopicToTopicmap in interface TopicmapsServicepublic void addAssociationToTopicmap(long topicmapId,
long assocId)
TopicmapsServiceaddAssociationToTopicmap in interface TopicmapsServicepublic void setViewProperties(long topicmapId,
long topicId,
de.deepamehta.core.model.topicmaps.ViewProperties viewProps)
setViewProperties in interface TopicmapsServicepublic void setTopicPosition(long topicmapId,
long topicId,
int x,
int y)
TopicmapsServicesetTopicPosition in interface TopicmapsServicepublic void setTopicVisibility(long topicmapId,
long topicId,
boolean visibility)
TopicmapsServicesetTopicVisibility in interface TopicmapsServicepublic void removeAssociationFromTopicmap(long topicmapId,
long assocId)
removeAssociationFromTopicmap in interface TopicmapsServicepublic void setClusterPosition(long topicmapId,
ClusterCoords coords)
setClusterPosition in interface TopicmapsServicepublic void setTopicmapTranslation(long topicmapId,
int transX,
int transY)
setTopicmapTranslation in interface TopicmapsServicepublic void registerTopicmapRenderer(TopicmapRenderer renderer)
registerTopicmapRenderer in interface TopicmapsServicepublic void registerViewmodelCustomizer(ViewmodelCustomizer customizer)
registerViewmodelCustomizer in interface TopicmapsServicepublic void unregisterViewmodelCustomizer(ViewmodelCustomizer customizer)
unregisterViewmodelCustomizer in interface TopicmapsServicepublic InputStream getTopicmapInWebclient()
public InputStream getTopicmapAndTopicInWebclient()
Copyright © 2017. All rights reserved.