All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.deepamehta.topicmaps.DefaultTopicmapRenderer Maven / Gradle / Ivy

package de.deepamehta.topicmaps;

import de.deepamehta.core.model.ChildTopicsModel;
import de.deepamehta.core.service.ModelFactory;



class DefaultTopicmapRenderer implements TopicmapRenderer {

    @Override
    public String getUri() {
        return "dm4.webclient.default_topicmap_renderer";
    }

    @Override
    public ChildTopicsModel initialTopicmapState(ModelFactory mf) {
        return mf.newChildTopicsModel()
            .put("dm4.topicmaps.translation", mf.newChildTopicsModel()
                .put("dm4.topicmaps.translation_x", 0)
                .put("dm4.topicmaps.translation_y", 0)
            );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy