clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1137195 - in /incubator/clerezza/trunk/parent/platform.style.default/src/main/scala: Activator.scala CollectionHeader.scala
Date Sat, 18 Jun 2011 14:51:59 GMT
Author: reto
Date: Sat Jun 18 14:51:59 2011
New Revision: 1137195

URL: http://svn.apache.org/viewvc?rev=1137195&view=rev
Log:
CLEREZZA-563: Treating collections like HeadedPages

Added:
    incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/CollectionHeader.scala
Modified:
    incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/Activator.scala

Modified: incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/Activator.scala
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/Activator.scala?rev=1137195&r1=1137194&r2=1137195&view=diff
==============================================================================
--- incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/Activator.scala
(original)
+++ incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/Activator.scala
Sat Jun 18 14:51:59 2011
@@ -20,5 +20,6 @@ class Activator extends ActivationHelper
 	registerRenderlet(new GlobalMenuRenderlet)
 	registerRenderlet(new HeadedPageRenderlet)
 	registerRenderlet(new TitledContentRenderlet)
+	registerRenderlet(new CollectionHeader)
 	
 }

Added: incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/CollectionHeader.scala
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/CollectionHeader.scala?rev=1137195&view=auto
==============================================================================
--- incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/CollectionHeader.scala
(added)
+++ incubator/clerezza/trunk/parent/platform.style.default/src/main/scala/CollectionHeader.scala
Sat Jun 18 14:51:59 2011
@@ -0,0 +1,12 @@
+package org.apache.clerezza.platform.style.default
+
+import org.apache.clerezza.rdf.ontologies._
+
+/**
+ * A Renderlet for the menu
+ */
+class CollectionHeader extends HeadedPageRenderlet {
+
+	override val getRdfType = HIERARCHY.Collection
+
+}



Mime
View raw message