01: package org.emforge.projectmanager.web.bean;
02:
03: import org.emforge.projectmanager.base.ProjectDO;
04:
05: import ru.emdev.EmForge.wiki.web.bean.Crumb;
06:
07: public class RoadMapController extends ProjectController {
08: public String getTitleImpl() {
09: return "Project RoadMap";
10: }
11:
12: @Override
13: public Crumb getTrailCrumbInfo() {
14: ProjectDO project = getProject();
15:
16: if (project == null) {
17: return null;
18: }
19: String displayName;
20: String url;
21: try {
22: displayName = "Roadmap";
23: url = PROJECT_PAGE_NAME + "/" + project.getName();
24: url += "/roadmap";
25: } catch (Exception ex) {
26: logger.debug("Cannot get trail crumb info: ", ex);
27: return null;
28: }
29: return new Crumb(displayName, url);
30: }
31:
32: }
|