Author: amarkhel
Date: 2009-02-25 07:49:22 -0500 (Wed, 25 Feb 2009)
New Revision: 12737
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationEnum.java
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationHelper.java
Log:
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationEnum.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationEnum.java 2009-02-25
11:06:27 UTC (rev 12736)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationEnum.java 2009-02-25
12:49:22 UTC (rev 12737)
@@ -23,5 +23,5 @@
public enum NavigationEnum {
IMAGE_PREVIEW,
FILE_UPLOAD,
- USER_PREFS, SEARCH, READ_MESSAGES, WHAT_NEW,
+ USER_PREFS, SEARCH, WHAT_NEW, ALBUM_PREVIEW, SHELF_PREVIEW, ALL_SHELFS, TAGS,
ALL_ALBUMS, ALL_IMAGES,
}
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationHelper.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationHelper.java 2009-02-25
11:06:27 UTC (rev 12736)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/navigation/NavigationHelper.java 2009-02-25
12:49:22 UTC (rev 12737)
@@ -46,10 +46,6 @@
return NavigationEnum.SEARCH;
}
- public NavigationEnum getNavigationEnumReadMessages(){
- return NavigationEnum.READ_MESSAGES;
- }
-
public NavigationEnum getNavigationEnumImagePreview(){
return NavigationEnum.IMAGE_PREVIEW;
}
@@ -57,4 +53,28 @@
public NavigationEnum getNavigationEnumFileUpload(){
return NavigationEnum.FILE_UPLOAD;
}
+
+ public NavigationEnum getNavigationEnumAlbumPreview(){
+ return NavigationEnum.ALBUM_PREVIEW;
+ }
+
+ public NavigationEnum getNavigationEnumShelfPreview(){
+ return NavigationEnum.SHELF_PREVIEW;
+ }
+
+ public NavigationEnum getNavigationEnumAllImages(){
+ return NavigationEnum.ALL_IMAGES;
+ }
+
+ public NavigationEnum getNavigationEnumAllAlbums(){
+ return NavigationEnum.ALL_ALBUMS;
+ }
+
+ public NavigationEnum getNavigationEnumAllShelfs(){
+ return NavigationEnum.ALL_SHELFS;
+ }
+
+ public NavigationEnum getNavigationEnumTags(){
+ return NavigationEnum.TAGS;
+ }
}
Show replies by date