You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2014/06/01 00:11:17 UTC
[2/3] git commit: CLEREZZA-829: Also support rendering of
OrderedContents
CLEREZZA-829: Also support rendering of OrderedContents
Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/29c7809e
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/29c7809e
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/29c7809e
Branch: refs/heads/master
Commit: 29c7809e7e269f70d94c341b9b5d37151406b640
Parents: 907423f
Author: reto <re...@apache.org>
Authored: Sat May 31 19:35:02 2014 +0200
Committer: reto <re...@apache.org>
Committed: Sat May 31 19:35:02 2014 +0200
----------------------------------------------------------------------
.../platform/editor/renderlets/TitledContentEtch.scala | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/clerezza/blob/29c7809e/platform.editor/src/main/scala/org/apache/clerezza/platform/editor/renderlets/TitledContentEtch.scala
----------------------------------------------------------------------
diff --git a/platform.editor/src/main/scala/org/apache/clerezza/platform/editor/renderlets/TitledContentEtch.scala b/platform.editor/src/main/scala/org/apache/clerezza/platform/editor/renderlets/TitledContentEtch.scala
index 2c90340..99a4408 100644
--- a/platform.editor/src/main/scala/org/apache/clerezza/platform/editor/renderlets/TitledContentEtch.scala
+++ b/platform.editor/src/main/scala/org/apache/clerezza/platform/editor/renderlets/TitledContentEtch.scala
@@ -201,4 +201,12 @@ class HtmlInfoDiscobitEtch extends TitledContentEtch {
override val getRdfType = DISCOBITS.XHTMLInfoDiscoBit
+}
+
+@Component
+@Service(Array(classOf[TypeRenderlet]))
+class OrderedContentDiscobitEtch extends TitledContentEtch {
+
+ override val getRdfType = DISCOBITS.OrderedContent
+
}
\ No newline at end of file