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

		};
	}
}

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.METRIC,

		ReportPage.TRANSACTION,

		ReportPage.EVENT,

		ReportPage.PROBLEM,

		ReportPage.HEARTBEAT,

		ReportPage.CROSS,

		ReportPage.CACHE,

		ReportPage.SQL,

		ReportPage.DATABASE,

		ReportPage.MATRIX,
		
		ReportPage.HEALTH,

		ReportPage.TOP,
		
		ReportPage.STATE,

		ReportPage.LOGVIEW

		};
	}

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

		SystemPage.ALARM,

		SystemPage.PROJECT,
		
		ReportPage.QUERY,

		SystemPage.LOGIN

		};
	}
}

modify cat page order