⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i_cmswpconstants.java

📁 内容管理
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/*
* File   : $Source: /usr/local/cvs/opencms/src/com/opencms/workplace/I_CmsWpConstants.java,v $
* Date   : $Date: 2003/04/01 15:20:18 $
* Version: $Revision: 1.124 $
*
* This library is part of OpenCms -
* the Open Source Content Mananagement System
*
* Copyright (C) 2001  The OpenCms Group
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.
*
* For further information about OpenCms, please see the
* OpenCms Website: http://www.opencms.org
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/


package com.opencms.workplace;

/**
 * Interface defining all constants used in OpenCms
 * workplace classes and elements.
 *
 * @author Alexander Lucas
 * @author Michael Emmerich
 * @version $Revision: 1.124 $ $Date: 2003/04/01 15:20:18 $
 */

public interface I_CmsWpConstants {


    /** Parameter for the default language */
    public static final String C_DEFAULT_LANGUAGE = "en";
    
    /** 
     * Parameter to check if the new (since 5.0 beta 2) folder structure is to be used.
     * @since 5.0 beta 2
     */
    public static final boolean C_VFS_NEW_STRUCTURE = true;
    
    /** Parameter for content body folder */
    public static final String C_VFS_PATH_BODIES = C_VFS_NEW_STRUCTURE?"/system/bodies/":"/content/bodys/";
     
    /** Path to system folder */ 
    public static final String C_VFS_PATH_SYSTEM = "/system/"; 
     
    /** Path to modules folder */
    public static final String C_VFS_PATH_MODULES = C_VFS_PATH_SYSTEM+"modules/";
    
    /** Parameter for default module */
    public static final String C_VFS_PATH_DEFAULTMODULE = C_VFS_NEW_STRUCTURE?C_VFS_PATH_MODULES+"default/":"/content/";
    
    /** Path to module demo folder (deprecated since version 5.0 beta 2) */
    public static final String C_VFS_PATH_MODULEDEMOS = C_VFS_NEW_STRUCTURE?C_VFS_PATH_MODULES+"moduledemos/":"/moduledemos/";

    /** Path to the galleries */
    public static final String C_VFS_PATH_GALLERIES = C_VFS_NEW_STRUCTURE?C_VFS_PATH_SYSTEM+"galleries/":"/";

    /** Path to pics gallery folder */
    public static final String C_VFS_GALLERY_PICS = C_VFS_NEW_STRUCTURE?C_VFS_PATH_GALLERIES+"pics/":"/pics/";

    /** Path to download gallery folder */
    public static final String C_VFS_GALLERY_DOWNLOAD = C_VFS_PATH_GALLERIES+"download/";
 
    /** Path to html gallery folder */
    public static final String C_VFS_GALLERY_HTML = C_VFS_PATH_GALLERIES+"htmlgalleries/";

    /** Path to externallink gallery folder */
    public static final String C_VFS_GALLERY_EXTERNALLINKS = C_VFS_PATH_GALLERIES+"externallinks/";

    /** Path to the workplace */
    public static final String C_VFS_PATH_WORKPLACE = C_VFS_PATH_SYSTEM + "workplace/";

    /** Path to system image folder */
    public static final String C_VFS_PATH_SYSTEMPICS = C_VFS_NEW_STRUCTURE?C_VFS_PATH_WORKPLACE+"resources/":"/pics/system/";

    /** Path to exported system image folder */
    public static final String C_SYSTEM_PICS_EXPORT_PATH = C_VFS_NEW_STRUCTURE?"/resources/":"/pics/system/";

    /** Path to locales */
    public static final String C_VFS_PATH_LOCALES = C_VFS_NEW_STRUCTURE?C_VFS_PATH_WORKPLACE+"locales/":C_VFS_PATH_WORKPLACE+"config/language/";

    /** Path to scripts */
    public static final String C_VFS_PATH_SCRIPTS = C_VFS_NEW_STRUCTURE?C_VFS_PATH_WORKPLACE+"scripts/":C_VFS_PATH_WORKPLACE+"templates/js/";

    /** Path to online help pages */
    public static final String C_VFS_PATH_HELP = C_VFS_PATH_WORKPLACE+"help/";

    /** Directory name of content templates folder */
    public static final String C_VFS_DIR_TEMPLATES = "templates/";

    /** Directory name of content internal folder */
    public static final String C_VFS_DIR_INTERNAL = "internal/";

    /** Directory name of content default_bodies folder */
    public static final String C_VFS_DIR_DEFAULTBODIES = "default_bodies/";

    /** Path to content templates folder */
    public static final String C_VFS_PATH_DEFAULT_TEMPLATES = C_VFS_PATH_DEFAULTMODULE + C_VFS_DIR_TEMPLATES;

    /** Path to content internal folder */
    public static final String C_VFS_PATH_DEFAULT_INTERNAL = C_VFS_NEW_STRUCTURE?C_VFS_PATH_WORKPLACE+"templates/":C_VFS_PATH_DEFAULTMODULE + C_VFS_DIR_INTERNAL;

    /** Path to content default_bodies folder */
    public static final String C_VFS_PATH_DEFAULT_BODIES = C_VFS_PATH_DEFAULTMODULE + C_VFS_DIR_DEFAULTBODIES;

    /** Directory name of module locales path */
    public static final String C_VFS_DIR_LOCALES = C_VFS_NEW_STRUCTURE?"locales/":"language/";

    /** Parameter for layout  */
    public static final String C_PARA_LAYOUT = "default_body";
    
    // Parameters that are used in html requests

    /** Parameter for foldername  */
    public static final String C_PARA_FOLDER = "folder";


    /** Parameter for foldertree  */
    public static final String C_PARA_FOLDERTREE = "foldertree";


    /** Parameter for filelist  */
    public static final String C_PARA_FILELIST = "filelist";


    /** Parameter for url */
    public static final String C_PARA_URL = "URL";


    /** Parameter for previous filelist  */
    public static final String C_PARA_PREVIOUSLIST = "previous";


    /** Parameter for viewfile  */
    public static final String C_PARA_VIEWFILE = "viewfile";


    /** Parameter for starttaskid  */
    public static final String C_PARA_STARTTASKID = "startTaskId";


    /** Parameter for startprojectid  */
    public static final String C_PARA_STARTPROJECTID = "startProjectId";


    /** Parameter for view name */
    public static final String C_PARA_VIEW = "view";


    /** Parameter for page number */
    public static final String C_PARA_PAGE = "page";


    /** Parameter for filter */
    public static final String C_PARA_FILTER = "filter";


    /** Parameter for maximum pages */
    public static final String C_PARA_MAXPAGE = "maxpage";


    /** Parameter for locking pages */
    public static final String C_PARA_LOCK = "lock";


    /** Parameter for unlocking pages */
    public static final String C_PARA_UNLOCK = "unlock";


    /** Parameter for a filename */
    public static final String C_PARA_FILE = "file";


    /** Parameter for a link */
    public static final String C_PARA_LINK = "link";


    /** Parameter for a filecontent */
    public static final String C_PARA_FILECONTENT = "filecontent";


    /** Parameter for a deleting a file */
    public static final String C_PARA_DELETE = "delete";


    /** Parameter for a name*/
    public static final String C_PARA_NAME = "name";


    /** Parameter for a new file*/
    public static final String C_PARA_NEWFILE = "newfile";


    /** Parameter for a new folder*/
    public static final String C_PARA_NEWFOLDER = "newfolder";


    /** Parameter for a flag */
    public static final String C_PARA_FLAGS = "flags";


    /** Parameter for a title */
    public static final String C_PARA_TITLE = "title";


    /** Parameter for a template */
    public static final String C_PARA_TEMPLATE = "template";


    /** Parameter for a navigation title */
    public static final String C_PARA_NAVTEXT = "navtitle";


    /** Parameter for a navigation position */
    public static final String C_PARA_NAVPOS = "navpos";


    /** Parameter for a new owner*/
    public static final String C_PARA_NEWOWNER = "newowner";


    /** Parameter for a new group*/
    public static final String C_PARA_NEWGROUP = "newgroup";


    /** Parameter for a new accessflags*/
    public static final String C_PARA_NEWACCESS = "newaccess";


    /** Parameter for a new type*/
    public static final String C_PARA_NEWTYPE = "newtype";


    /** Parameter for a formname*/
    public static final String C_PARA_FORMNAME = "formname";


    /** Parameter for a variable*/
    public static final String C_PARA_VARIABLE = "variable";


    /** Parameter for a project*/
    public static final String C_PARA_PROJECT = "project";


    /** Parameter for a panel*/
    public static final String C_PARA_PANEL = "panel";


    /** Parameter for the previous panel*/
    public static final String C_PARA_OLDPANEL = "oldpanel";


    /** Parameter for the old password */
    public static final String C_PARA_OLDPWD = "oldpwd";


    /** Parameter for the new password */
    public static final String C_PARA_NEWPWD = "newpwd";


    /** Parameter for the password repead */
    public static final String C_PARA_NEWPWDREPEAT = "newpwdrepeat";


    /** Parameter for submitting data */
    public static final String C_PARA_SUBMIT = "SUBMIT";


    /** Parameter for the ok value */
    public static final String C_PARA_OK = "OK";
    
    /** Parameter name of "cancel" value */
    public static final String C_PARA_CANCEL = "CANCEL";  

    /** Parameter for the default value */
    public static final String C_PARA_DEFAULT = "DEFAULT";


    /** Parameter for the explorersettings value */
    public static final String C_PARA_EXPLORERSETTINGS = "EXPLORERSETTINGS";


    /** Parameter for the tasksettings value */
    public static final String C_PARA_TASKSETTINGS = "TASKSETTINGS";


    /** Parameter for the startsettings value */
    public static final String C_PARA_STARTSETTINGS = "STARTSETTINGS";


    /** Parameter for the usersettings value */
    public static final String C_PARA_USERSETTINGS = "USERSETTINGS";


    /** Parameter for text/html editor content */
    public static final String C_PARA_CONTENT = "content";


    /** Parameter for action commands */
    public static final String C_PARA_ACTION = "action";


    /** Parameter for java script filenames */
    public static final String C_PARA_JSFILE = "jsfile";


    /** Parameter for properties */
    public static final String C_PARA_PROPERTYDEF = "property";


    /** Parameter for initial load */
    public static final String C_PARA_INITIAL = "initial";


     /** Parameter for keywords */
    public static final String C_PARA_KEYWORDS = "keywords";


     /** Parameter for description */
    public static final String C_PARA_DESCRIPTION = "description";

    // Filenames of workplace files

    /** The filename to the icontemplate */
    public static final String C_ICON_TEMPLATEFILE = "icontemplate";


    /** The filename to the backbuttontemplate */
    public static final String C_ADMIN_BACK_BUTTON = "adminbackbuttontemplate";


    /** The filename to the projectlisttemplate */
    public static final String C_PROJECTLIST_TEMPLATEFILE = "projecttemplate";


    /** The filename to the modulelisttemplate */
    public static final String C_MODULELIST_TEMPLATEFILE = "moduletemplate";

    public static final String C_SESSION_MODULE_PROPFILES = "modulepropfiles";

    public static final String C_SESSION_MODULE_MISSFILES = "modulemissfiles";

    public static final String C_SESSION_MODULE_CHECKSUM = "modulechecksum";

    public static final String C_SESSION_MODULE_INUSE = "moduleinuse";

    public static final String C_SESSION_MODULE_EXCLUSION = "moduleexclusion";

    public static final String C_SESSION_MODULE_PROJECTFILES = "moduleprojectfiles";

    public static final String C_SESSION_MODULE_DELETE_STEP = "moduledeletestep";

    public static final String C_SESSION_MODULE_ADMIN_DATA = "module_admin_data";

    public static final String C_SESSION_MODULE_ADMIN_PROP_NAMES = "module_admin_props_names";

    public static final String C_SESSION_MODULE_ADMIN_PROP_DESCR = "module_admin_props_desr";

    public static final String C_SESSION_MODULE_ADMIN_PROP_TYP = "module_admin_props_typ";

    public static final String C_SESSION_MODULE_ADMIN_PROP_VAL = "module_admin_props_value";

    public static final String C_MODULE_PACKETNAME = "packetname";

    //** The filename to the filetypelist template */
    public static final String C_FILETYPELIST_TEMPLATEFILE = "filetypelisttemplate";


    /** The filename to the taskdocu template */
    public static final String C_TASKDOCU_TEMPLATEFILE = "tasklistdoctemplate";


    /** The filename to the projectlisttemplate */
    public static final String C_TASKLIST_TEMPLATEFILE = "tasklisttemplate";


    /** The filename to the projectlisttemplate */
    public static final String C_CONTEXTMENUE_TEMPLATEFILE = "contexttemplate";


    /** The filename to the prefs scroller template file */
    public static final String C_PREFSSCROLLER_TEMPLATEFILE = "prefsscrollerTemplate";


    /** The explorer tree. */
    public static final String C_WP_EXPLORER_TREE = "explorer_tree.html";


    /** The explorer file list. */
    public static final String C_WP_EXPLORER_FILELIST = "explorer_files.html";


    /** The folder tree. */
    public static final String C_WP_FOLDER_TREE = "folder_tree.html";

    /** The channel tree. */
    public static final String C_WP_CHANNEL_TREE = "channel_tree.html";

    /** The workplace */
    public static final String C_WP_RELOAD = "workplace_reload.html";


    /** The preferences update */
    public static final String C_PREFERENCES_UPDATE = "preferences_update.html";


    /** The preferences user panel */
    public static final String C_WP_EXPLORER_PREFERENCES = "preferences.html?panel=user";


    // Filenames of special templates

    /** Name of the template containing button definitions */
    public static final String C_BUTTONTEMPLATE = "ButtonTemplate";


    /** Name of the template containing label definitions */
    public static final String C_LABELTEMPLATE = "labelTemplate";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -