r7095 - dumbhippo/trunk/server/src/com/dumbhippo/server/dm
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7095 - dumbhippo/trunk/server/src/com/dumbhippo/server/dm
- Date: Wed, 19 Dec 2007 12:51:15 -0600 (CST)
Author: otaylor
Date: 2007-12-19 12:51:15 -0600 (Wed, 19 Dec 2007)
New Revision: 7095
Modified:
dumbhippo/trunk/server/src/com/dumbhippo/server/dm/ThumbnailsBlockDMO.java
Log:
Add a couple more properties
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/dm/ThumbnailsBlockDMO.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/dm/ThumbnailsBlockDMO.java 2007-12-19 18:46:17 UTC (rev 7094)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/dm/ThumbnailsBlockDMO.java 2007-12-19 18:51:15 UTC (rev 7095)
@@ -4,6 +4,8 @@
import com.dumbhippo.dm.annotations.DMO;
import com.dumbhippo.dm.annotations.DMProperty;
+import com.dumbhippo.dm.annotations.PropertyType;
+import com.dumbhippo.server.blocks.ThumbnailsBlockView;
@DMO(classId="http://mugshot.org/p/o/thumbnailsBlock")
public abstract class ThumbnailsBlockDMO extends BlockDMO {
@@ -13,4 +15,14 @@
@DMProperty(defaultInclude=true, defaultChildren="+")
public abstract List<ThumbnailDMO> getThumbnails();
+
+ @DMProperty(defaultInclude=true)
+ public String getMoreThumbnailsTitle() {
+ return ((ThumbnailsBlockView)blockView).getMoreThumbnailsTitle();
+ }
+
+ @DMProperty(defaultInclude=true, type=PropertyType.URL)
+ public String getMoreThumbnailsLink() {
+ return ((ThumbnailsBlockView)blockView).getMoreThumbnailsLink();
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]