cmsworkplaceconfiguration.java
来自「找了很久才找到到源代码」· Java 代码 · 共 1,324 行 · 第 1/5 页
JAVA
1,324 行
/** The node name of the explorer generaloptions node. */
public static final String N_EXPLORERGENERALOPTIONS = "explorer-generaloptions";
/** The node name of the explorer preferences node. */
public static final String N_EXPLORERPREFERENCES = "explorer-preferences";
/** The name of the explorer type node. */
public static final String N_EXPLORERTYPE = "explorertype";
/** The name of the explorer types node. */
public static final String N_EXPLORERTYPES = "explorertypes";
/** The node name of the file copy node. */
public static final String N_FILECOPY = "filecopy";
/** The node name of the file deletion node. */
public static final String N_FILEDELETION = "filedeletion";
/** The subname of the rfsfilesettings/fileEncoding node. */
public static final String N_FILEENCODING = "fileEncoding";
/** The subname of the rfsfilesettings/filePath node. */
public static final String N_FILEPATH = "filePath";
/** The node name of the start folder node. */
public static final String N_FOLDER = "folder";
/** The node name of the folder copy node. */
public static final String N_FOLDERCOPY = "foldercopy";
/** The node name of the helptext node. */
public static final String N_HELPTEXT = "helptext";
/** The node name of the info-block node. */
public static final String N_INFOBLOCK = "info-block";
/** The subname of the rfsfilesettings/isLogfile node. */
public static final String N_ISLOGFILE = "isLogfile";
/** The node name of the key node. */
public static final String N_KEY = "key";
/** The name of the "labeled folders" node. */
public static final String N_LABELEDFOLDERS = "labeledfolders";
/** The node name of the locale node. */
public static final String N_LOCALE = "locale";
/** The name of the "localized folders" node. */
public static final String N_LOCALIZEDFOLDERS = "localizedfolders";
/** The node name of the lockedby column node. */
public static final String N_LOCKEDBY = "show-lockedby";
/** The name of the "max file upload size" node. */
public static final String N_MAXUPLOADSIZE = "maxfileuploadsize";
/** The name of the "menuitemrule" node. */
public static final String N_MENUITEMRULE = "menuitemrule";
/** The name of the "menurule" node. */
public static final String N_MENURULE = "menurule";
/** The name of the "menurules" node. */
public static final String N_MENURULES = "menurules";
/** The name of the context menu node. */
public static final String N_MULTICONTEXTMENU = "multicontextmenu";
/** The node name of the navtext column node. */
public static final String N_NAVTEXT = "show-navtext";
/** The name of the "create new folder with index page" node. */
public static final String N_NEWFOLDERCREATEINDEXPAGE = "newfolder-createindexpage";
/** The name of the "create new folder with edit properties" node. */
public static final String N_NEWFOLDEREDITPROPERTIES = "newfolder-editproperties";
/** The name of the new resource node. */
public static final String N_NEWRESOURCE = "newresource";
/** The node name of the permissions column node. */
public static final String N_PERMISSIONS = "show-permissions";
/** The name of the inherit permissions on folder node. */
public static final String N_PERMISSIONSINHERITONFOLDER = "permissions-inheritonfolder";
/** The node name of the project node. */
public static final String N_PROJECT = "project";
/** The node name of the publish button appearance node. */
public static final String N_PUBLISHBUTTONAPPEARANCE = "publishbuttonappearance";
/** The node name of the publish notification node. */
public static final String N_PUBLISHNOTIFICATION = "publishnotification";
/** The name of the "publish related resources" node. */
public static final String N_PUBLISHRELATEDRESOURCES = "publishrelatedresources";
/** The node name of the report type node. */
public static final String N_REPORTTYPE = "reporttype";
/** The node name of the restrict explorer view node. */
public static final String N_RESTRICTEXPLORERVIEW = "restrictexplorerview";
/** The node name of the rfsfileviewsettings node. */
public static final String N_RFSFILEVIEWESETTINGS = "rfsfileviewsettings";
/** The node name of the root node. */
public static final String N_ROOT = "root";
/** The node name of the roots node. */
public static final String N_ROOTS = "roots";
/** The node name of the searchindex-name node. */
public static final String N_SEARCHINDEXNAME = "searchindex-name";
/** The node name of the searchview-style node. */
public static final String N_SEARCHVIEWSTYLE = "searchview-style";
/** The name of the separator node. */
public static final String N_SEPARATOR = "separator";
/** The node name of the show lock node. */
public static final String N_SHOWEXPORTSETTINGS = "showexportsettings";
/** The node name of the "show file upload button" option. */
public static final String N_SHOWFILEUPLOADBUTTON = "show-fileuploadbutton";
/** The node name of the show lock node. */
public static final String N_SHOWLOCK = "showlock";
/** The node name of the show messages node. */
public static final String N_SHOWMESSAGES = "showmessages";
/** The name of the "create new folder with index page" node. */
public static final String N_SHOWUPLOADTYPEDIALOG = "show-uploadtypedialog";
/** The node name of the size column node. */
public static final String N_SIZE = "show-size";
/** The node name of the state column node. */
public static final String N_STATE = "show-state";
/** The name of the text node. */
public static final String N_TEXT = "text";
/** The node name of the title column node. */
public static final String N_TITLE = "show-title";
/** The node name of the tool-manager node. */
public static final String N_TOOLMANAGER = "tool-manager";
/** The node name of the type column node. */
public static final String N_TYPE = "show-type";
/** The node name of the uploadapplet node. */
public static final String N_UPLOADAPPLET = "uploadapplet";
/** The node name of the uri node. */
public static final String N_URI = "uri";
/** The node name of the user created node. */
public static final String N_USERCREATED = "show-usercreated";
/** The node name of the user-info node. */
public static final String N_USERINFO = "user-info";
/** The node name of the user-infos node. */
public static final String N_USERINFOS = "user-infos";
/** The node name of the user lastmodified node. */
public static final String N_USERLASTMODIFIED = "show-userlastmodified";
/** The subname of the rfsfilesettings/windowSize node. */
public static final String N_WINDOWSIZE = "windowSize";
/** The node name of the master workplace node. */
public static final String N_WORKPLACE = "workplace";
/** The name of the workplace custom foot node. */
public static final String N_WORKPLACECUSTOMFOOT = "workplace-customfoot";
/** The node name of the workplace general options node. */
public static final String N_WORKPLACEGENERALOPTIONS = "workplace-generaloptions";
/** The node name of the workplace preferences node. */
public static final String N_WORKPLACEPREFERENCES = "workplace-preferences";
/** The node name of the workplace-search node. */
public static final String N_WORKPLACESEARCH = "workplace-search";
/** The node name of the workplace startup settings node. */
public static final String N_WORKPLACESTARTUPSETTINGS = "workplace-startupsettings";
/** The node name of the view node. */
public static final String N_WORKPLACEVIEW = "workplaceview";
/** The name of the xmlcontentautocorrection node. */
public static final String N_XMLCONTENTAUTOCORRECTION = "xmlcontentautocorrection";
/** The configured workplace manager. */
private CmsWorkplaceManager m_workplaceManager;
/**
* Public constructor, will be called by configuration manager.<p>
*/
public CmsWorkplaceConfiguration() {
setXmlFileName(DEFAULT_XML_FILE_NAME);
if (CmsLog.INIT.isInfoEnabled()) {
CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_WORKPLACE_INIT_0));
}
}
/**
* Adds the explorer type rules to the given digester.<p>
*
* @param digester the digester to add the rules to
*/
public static void addExplorerTypeXmlRules(Digester digester) {
// remove workflow nodes from the dtd, there are just there for compatibility reasons
int todo;
// add explorer type settings
digester.addObjectCreate("*/" + N_EXPLORERTYPE, CmsExplorerTypeSettings.class);
digester.addSetNext("*/" + N_EXPLORERTYPE, "addExplorerTypeSetting");
digester.addCallMethod("*/" + N_EXPLORERTYPE, "setTypeAttributes", 4);
digester.addCallParam("*/" + N_EXPLORERTYPE, 0, A_NAME);
digester.addCallParam("*/" + N_EXPLORERTYPE, 1, A_KEY);
digester.addCallParam("*/" + N_EXPLORERTYPE, 2, A_ICON);
digester.addCallParam("*/" + N_EXPLORERTYPE, 3, A_REFERENCE);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setNewResourceHandlerClassName", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_HANDLER);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setNewResourceUri", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_URI);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setNewResourceOrder", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_ORDER);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setNewResourcePage", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_PAGE);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setAutoSetNavigation", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_AUTOSETNAVIGATION);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setAutoSetTitle", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_AUTOSETTITLE);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setInfo", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_INFO);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setDescriptionImage", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_ICON);
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, "setTitleKey", 1);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_NEWRESOURCE, 0, A_KEY);
digester.addObjectCreate("*/" + N_EXPLORERTYPE + "/" + N_ACCESSCONTROL, CmsExplorerTypeAccess.class);
digester.addSetNext("*/" + N_EXPLORERTYPE + "/" + N_ACCESSCONTROL, "setAccess");
digester.addCallMethod("*/" + N_EXPLORERTYPE + "/" + N_ACCESSCONTROL + "/" + N_ACCESSENTRY, "addAccessEntry", 2);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_ACCESSCONTROL + "/" + N_ACCESSENTRY, 0, A_PRINCIPAL);
digester.addCallParam("*/" + N_EXPLORERTYPE + "/" + N_ACCESSCONTROL + "/" + N_ACCESSENTRY, 1, A_PERMISSIONS);
digester.addCallMethod(
"*/" + N_EXPLORERTYPE + "/" + N_EDITOPTIONS + "/" + N_DEFAULTPROPERTIES,
"setPropertyDefaults",
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?