package com.dianping.cat.report.view;

import org.unidal.web.mvc.Page;

import com.dianping.cat.report.ReportPage;
import com.dianping.cat.system.SystemPage;

public class NavigationBar {
	public Page[] getVisiblePages() {
		return new Page[] {

		ReportPage.HOME,

		ReportPage.TOP,
		
		ReportPage.METRIC,

		ReportPage.TRANSACTION,

		ReportPage.EVENT,

		ReportPage.PROBLEM,

		ReportPage.HEARTBEAT,

		ReportPage.MATRIX,

		ReportPage.CROSS,

		ReportPage.CACHE,

		ReportPage.SQL,

		ReportPage.DATABASE,

		ReportPage.HEALTH,

		ReportPage.STATE,

		ReportPage.LOGVIEW

		};
	}

	public Page[] getSystemPages() {
		return new Page[] {

		SystemPage.ALARM,

		SystemPage.PROJECT,
		
		ReportPage.QUERY,

		SystemPage.LOGIN

		};
	}
}

@@ -276,31 +276,8 @@
 %0D%0A%0D%0A
-%09%09ReportPage.TOP,%0D%0A%09%09%0D%0A
 %09%09Re
@@ -404,32 +404,8 @@
 %0D%0A%0D%0A
-%09%09ReportPage.MATRIX,%0D%0A%0D%0A
 %09%09Re
@@ -510,17 +510,66 @@
 age.
-HEALTH,%0D%0A
+MATRIX,%0D%0A%09%09%0D%0A%09%09ReportPage.HEALTH,%0D%0A%0D%0A%09%09ReportPage.TOP,%0D%0A%09%09
 %0D%0A%09%09

modify cat page order