1 package net.sourceforge.blogentis.plugins.base;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 import java.util.List;
26
27 import net.sourceforge.blogentis.plugins.IBlogExtension;
28 import net.sourceforge.blogentis.turbine.BlogRunData;
29
30 /***
31 * Extensions to the navigation list should implement this interface. The
32 * navigation model is simple: a navigation list has an name.
33 *
34 * @author abas
35 */
36 public interface INavigationExtension
37 extends IBlogExtension {
38 /***
39 * This method will be called to fill the list of links. If this extension
40 * does not know about the specified navName, it will simply leave the list
41 * unmodified.
42 *
43 * @param data
44 * the BlogRunData of the current request
45 * @param navName
46 * the navigation lists' name.
47 * @param links
48 * the navigation list to be modified.
49 */
50 public void addNavigations(BlogRunData data, String navName, List links);
51
52 public static final String ADMIN_LIST_NAME = "AdminList";
53 public static final String BLOG_SETTINGS_NAME = "BlogSettingsList";
54 public static final String APPEARANCE_LIST_NAME = "AppearanceList";
55 public static final String SIDEBOX_LIST_NAME = "SideboxList";
56 public static final String USER_ACTIONS_NAME = "UserActions";
57 public static final String ADMIN_SITE_NAME = "AdminSiteList";
58 public static final String AUTHORING_ACTIONS_NAME = "AuthoringActions";
59 }