r7074 - dumbhippo/trunk/server/src/com/dumbhippo/server/blocks
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7074 - dumbhippo/trunk/server/src/com/dumbhippo/server/blocks
- Date: Mon, 17 Dec 2007 20:06:01 -0600 (CST)
Author: marinaz
Date: 2007-12-17 20:06:01 -0600 (Mon, 17 Dec 2007)
New Revision: 7074
Modified:
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/AmazonActivityBlockView.java
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/BlogBlockView.java
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/FacebookBlockView.java
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GoogleReaderBlockView.java
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GroupChatBlockView.java
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/MusicPersonBlockView.java
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/NetflixBlockView.java
dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/PicasaPersonBlockView.java
Log:
More changes to comply with new abstract methods.
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/AmazonActivityBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/AmazonActivityBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/AmazonActivityBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -128,7 +128,7 @@
}
@Override
- public String getSummaryLink() {
+ public String getBlockSummaryLink() {
return getLink();
}
@@ -151,7 +151,7 @@
}
@Override
- public String getSummaryHeading() {
+ public String getBlockSummaryHeading() {
switch (activityStatus.getActivityType()) {
case REVIEWED :
return "Reviewed";
@@ -160,7 +160,7 @@
// no default, it hides bugs
}
- throw new RuntimeException("need to support activity type for " + activityStatus + " in getSummaryHeading()");
+ throw new RuntimeException("need to support activity type for " + activityStatus + " in getBlockSummaryHeading()");
}
public Date getSentDate() {
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/BlogBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/BlogBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/BlogBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -32,7 +32,7 @@
return "Blog post";
}
- public @Override String getSummaryHeading() {
+ public @Override String getBlockSummaryHeading() {
return "Blogged";
}
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/FacebookBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/FacebookBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/FacebookBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -183,12 +183,12 @@
}
// FIXME doesn't fit into the way summary blocks look / are worded
- public @Override String getSummaryHeading() {
+ public @Override String getBlockSummaryHeading() {
return "Facebook";
}
// FIXME doesn't fit into the way summary blocks look / are worded
- public @Override String getSummaryLink() {
+ public @Override String getBlockSummaryLink() {
return getLink();
}
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GoogleReaderBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GoogleReaderBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GoogleReaderBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -32,7 +32,7 @@
return "Google Reader share";
}
- public @Override String getSummaryHeading() {
+ public @Override String getBlockSummaryHeading() {
return "Shared";
}
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GroupChatBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GroupChatBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/GroupChatBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -83,11 +83,11 @@
return "Group Chat";
}
- public @Override String getSummaryHeading() {
+ public @Override String getBlockSummaryHeading() {
return getTitle();
}
- public @Override String getSummaryLink() {
+ public @Override String getBlockSummaryLink() {
return group.getHomeUrl();
}
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/MusicPersonBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/MusicPersonBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/MusicPersonBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -56,11 +56,11 @@
return "Music Radar";
}
- public @Override String getSummaryHeading() {
+ public @Override String getBlockSummaryHeading() {
return "Played";
}
- public @Override String getSummaryLink() {
+ public @Override String getBlockSummaryLink() {
TrackView tv = getPersonSource().getCurrentTrack();
return tv.getArtistPageLink();
}
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/NetflixBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/NetflixBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/NetflixBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -37,7 +37,7 @@
return "Netflix movie";
}
- public @Override String getSummaryHeading() {
+ public @Override String getBlockSummaryHeading() {
return "Rented";
}
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/PicasaPersonBlockView.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/PicasaPersonBlockView.java 2007-12-18 01:29:18 UTC (rev 7073)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/blocks/PicasaPersonBlockView.java 2007-12-18 02:06:01 UTC (rev 7074)
@@ -36,11 +36,11 @@
return "picasaPerson";
}
- public @Override String getSummaryHeading() {
+ public @Override String getBlockSummaryHeading() {
return "Posted albums";
}
- public @Override String getSummaryLink() {
+ public @Override String getBlockSummaryLink() {
return getMoreThumbnailsLink();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]