📄 global.java
字号:
/*
* Created on 2004-10-17 TODO To change the template for this generated file go to Window - Preferences - Java - Code
* Style - Code Templates
*/
package com.hongsoft.agile;
import java.io.File;
/**
* @author hongsoft.com TODO To change the template for this generated type comment go to Window - Preferences - Java -
* Code Style - Code Templates
*/
public class Global {
private static String path = "";
public static String getConfPath() {
if ("".equals(path))
path = "D:/hongsoft/Agile" + File.separator + "conf" + File.separator;
return path;
}
// 第一级的组织的ID,在本系统为广州电信
public static final long TOP_ORG_UNIT = 1;
public final static boolean debug() {
return true;
}
public final static String getBaseUrl() {
return "./";
}
public final static String getConfigPath() {
return getConfPath();
}
public final static String getMenuXmlLocation() {
return getConfPath() + "tree.xml";
}
public final static String getMenuXslLocation() {
return getConfPath() + "xmlTree.xsl";
}
public final static int getPageSize() {
return 10;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -