Skip to content

Commit

Permalink
Topicmaps API: add getViewProperties() (#660).
Browse files Browse the repository at this point in the history
`TopicViewmodel` has a new method to access the view properties at server-side:
{{{
CompositeValueModel getViewProperties()
}}}

See #660.
  • Loading branch information
jri committed Jun 7, 2014
1 parent c215206 commit 5a073c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dm4-help/src/main/resources/web/script/plugin.js
Expand Up @@ -15,7 +15,7 @@ dm4c.add_plugin("de.deepamehta.help", function() {
'<div class="field-label">Version</div>' +
'<div>${project.version}</div>' +
'<div class="field-label">Release Date</div>' +
'<div>May 25, 2014</div>' +
'<div>Jun 7, 2014</div>' +
'<div class="field-label">Copyright</div>' +
'<div>2000-2014 Jörg Richter et al.</div>' +
'<div class="field-label">License</div>' +
Expand Down
Expand Up @@ -26,6 +26,10 @@ public TopicViewmodel(TopicModel topic, CompositeValueModel viewProps) {

// --- Public Methods ---

public CompositeValueModel getViewProperties() {
return viewProps;
}

@Override
public JSONObject toJSON() {
try {
Expand Down

0 comments on commit 5a073c1

Please sign in to comment.