001: /*
002: * JFolder, Copyright 2001-2006 Gary Steinmetz
003: *
004: * Distributable under LGPL license.
005: * See terms of license at gnu.org.
006: */
007:
008: package org.jfolder.console.base;
009:
010: //base classes
011:
012: //project specific classes
013: import org.jfolder.common.web.template.ConsoleTemplateParameters;
014:
015: //other classes
016:
017: public class ConsolePageParameters {
018:
019: private ConsolePageParameters() {
020: }
021:
022: public final static String CONSOLE_SESSION = "CONSOLE_SESSION";
023: public final static String APPLICATION = "APPLICATION";
024:
025: //context root
026: public final static String CONTEXT_ROOT = ConsoleTemplateParameters.CONTEXT_ROOT;
027: public final static String IMAGES_ROOT = ConsoleTemplateParameters.IMAGES_ROOT;
028:
029: //servlet pages
030: public final static String SERVLET_SCRIPT_STUDIO_FRAME = CONTEXT_ROOT
031: + "/ScriptStudioFrame";
032: public final static String SERVLET_SCRIPT_STUDIO_GRAPH = CONTEXT_ROOT
033: + "/ScriptStudioGraph";
034: public final static String SERVLET_SCRIPT_STUDIO_TAG = CONTEXT_ROOT
035: + "/ScriptStudioTag";
036: public final static String SERVLET_SCRIPT_STUDIO_TREE = CONTEXT_ROOT
037: + "/ScriptStudioTree";
038: public final static String SERVLET_SCRIPT_STUDIO_PLAIN = CONTEXT_ROOT
039: + "/ScriptStudioPlain";
040: //servlet pages
041: public final static String SERVLET_WEB_STUDIO_FRAME = CONTEXT_ROOT
042: + "/WebStudioFrame";
043: public final static String SERVLET_WEB_STUDIO_GRAPH = CONTEXT_ROOT
044: + "/WebStudioGraph";
045: public final static String SERVLET_WEB_STUDIO_TAG = CONTEXT_ROOT
046: + "/WebStudioTag";
047: public final static String SERVLET_WEB_STUDIO_TREE = CONTEXT_ROOT
048: + "/WebStudioTree";
049: public final static String SERVLET_WEB_STUDIO_VIEW = CONTEXT_ROOT
050: + "/WebStudioView";
051: public final static String SERVLET_WEB_STUDIO_PLAIN = CONTEXT_ROOT
052: + "/WebStudioPlain";
053: //
054: public final static String SERVLET_CONSOLE = ConsoleTemplateParameters.SERVLET_CONSOLE;
055: public final static String SERVLET_HORIZONTAL_LINE = CONTEXT_ROOT
056: + "/HorizontalLine";
057: public final static String SERVLET_VERTICAL_LINE = CONTEXT_ROOT
058: + "/VerticalLine";
059: //
060: public final static String SERVLET_DOCUMENT_SYSTEM = CONTEXT_ROOT
061: + "/DocumentSystem";
062: public final static String SERVLET_MACRO_STUDIO = CONTEXT_ROOT
063: + "/MacroStudio";
064: public final static String SERVLET_MACRO_EXECUTE = CONTEXT_ROOT
065: + "/MacroExecute";
066: //
067: public final static String SERVLET_AUTO_APPLICATION_GENERATOR = CONTEXT_ROOT
068: + "/AutoApplicationGenerator";
069: //
070: public final static String SERVLET_CONFIG_STUDIO = CONTEXT_ROOT
071: + "/ConfigStudio";
072: public final static String SERVLET_SCRIPT_STUDIO = CONTEXT_ROOT
073: + "/ScriptStudio";
074: public final static String SERVLET_WEB_PAGE_STUDIO = CONTEXT_ROOT
075: + "/WebPageStudio";
076: public final static String SERVLET_QUERY = CONTEXT_ROOT + "/Query";
077: public final static String SERVLET_MANUAL_TRIGGER = CONTEXT_ROOT
078: + "/ManualTrigger";
079: public final static String SERVLET_WORKFLOW_SNAPSHOT = CONTEXT_ROOT
080: + "/WorkflowSnapshot";
081: public final static String SERVLET_IMPORT_EXPORT = CONTEXT_ROOT
082: + "/ImportExport";
083: public final static String SERVLET_WEB_PAGE_ADVANCED_STUDIO = CONTEXT_ROOT
084: + "/WebPageAdvancedStudio";
085: public final static String SERVLET_DATABASE_ACCESS = CONTEXT_ROOT
086: + "/DatabaseAccess";
087: public final static String SERVLET_DEVELOP_WEB_PAGE = CONTEXT_ROOT
088: + "/DevelopWebPage";
089: public final static String SERVLET_DEVELOP_WORKFLOW_TEMPLATE = CONTEXT_ROOT
090: + "/DevelopWorkflowTemplate";
091: public final static String SERVLET_EDIT_TEXT_FILE_PAGE = CONTEXT_ROOT
092: + "/EditTextFilePage";
093: //
094: public final static String SERVLET_DICTIONARY_CATEGORY = CONTEXT_ROOT
095: + "/DictionaryCategory";
096: public final static String SERVLET_DICTIONARY_DISPLAY = CONTEXT_ROOT
097: + "/DictionaryDisplay";
098: public final static String SERVLET_DICTIONARY_FRAME = CONTEXT_ROOT
099: + "/DictionaryFrame";
100: public final static String SERVLET_DICTIONARY_INDEX = CONTEXT_ROOT
101: + "/DictionaryIndex";
102: //
103: public final static String SERVLET_AUDIT_QUERY = CONTEXT_ROOT
104: + "/AuditQuery";
105: public final static String SERVLET_AUDIT_VIEW = CONTEXT_ROOT
106: + "/AuditView";
107: public final static String SERVLET_AUDIT_CREATE = CONTEXT_ROOT
108: + "/AuditCreate";
109: //
110: //gifs
111: //
112: public final static String GIF_VERTICAL = IMAGES_ROOT
113: + "/vertical.gif";
114: public final static String GIF_HORIZONTAL = IMAGES_ROOT
115: + "/horizontal.gif";
116: //
117: public final static String GIF_LEFT_UP = IMAGES_ROOT
118: + "/leftUp.gif";
119: public final static String GIF_LEFT_DOWN = IMAGES_ROOT
120: + "/leftDown.gif";
121: public final static String GIF_RIGHT_UP = IMAGES_ROOT
122: + "/rightUp.gif";
123: public final static String GIF_RIGHT_DOWN = IMAGES_ROOT
124: + "/rightDown.gif";
125: //
126: public final static String GIF_LEFT_ARROW = IMAGES_ROOT
127: + "/leftArrow.gif";
128: public final static String GIF_RIGHT_ARROW = IMAGES_ROOT
129: + "/rightArrow.gif";
130: public final static String GIF_UP_ARROW = IMAGES_ROOT
131: + "/upArrow.gif";
132: public final static String GIF_DOWN_ARROW = IMAGES_ROOT
133: + "/downArrow.gif";
134: //
135: public final static String GIF_BLANK = IMAGES_ROOT + "/blank.gif";
136: //
137: public final static String GIF_BORDER = IMAGES_ROOT + "/border.gif";
138: //
139: public final static String GIF_FOLDER = IMAGES_ROOT + "/folder.gif";
140: public final static String GIF_OPEN_FOLDER = IMAGES_ROOT
141: + "/open-folder.gif";
142: public final static String GIF_CLOSED_FOLDER = IMAGES_ROOT
143: + "/closed-folder.gif";
144: //
145: public final static String GIF_TEXT = IMAGES_ROOT + "/text.gif";
146: public final static String GIF_EDIT_BUTTON = IMAGES_ROOT
147: + "/edit-button.gif";
148: public final static String GIF_WEB_PAGE = IMAGES_ROOT
149: + "/web-page.gif";
150: public final static String GIF_WEB_TEMPLATE = IMAGES_ROOT
151: + "/web-template.gif";
152: public final static String GIF_WEB_MACRO = IMAGES_ROOT
153: + "/web-macro.gif";
154: public final static String GIF_WEB_BINARY = IMAGES_ROOT
155: + "/web-binary.gif";
156: //
157: public final static String GIF_DELETE = IMAGES_ROOT + "/delete.gif";
158:
159: //public final static String ACTION_FORM = "ACTION_FORM";
160:
161: //console entities
162: public final static String CONSOLE_DESCRIPTION_ENTITY = "CONSOLE_DESCRIPTION_ENTITY_";
163: public final static String CONSOLE_WEB_PAGE_ENTITY = "CONSOLE_WEB_PAGE_ENTITY_";
164: public final static String CONSOLE_WEB_FILE_ENTITY = "CONSOLE_WEB_FILE_ENTITY_";
165: //
166: public final static String CONSOLE_NEW_PROPERTY_NAME = "CONSOLE_NEW_PROPERTY_NAME_";
167: public final static String CONSOLE_NEW_PROPERTY_VALUE = "CONSOLE_NEW_PROPERTY_VALUE_";
168: public final static String CONSOLE_NEW_PROPERTY_REG_EX = "CONSOLE_NEW_PROPERTY_REG_EX_";
169: public final static String CONSOLE_NEW_PROPERTY_DESC = "CONSOLE_NEW_PROPERTY_DESC_";
170: public final static String CONSOLE_NEW_PROPERTY_ERR_MESS = "CONSOLE_NEW_PROPERTY_ERR_MESS_";
171: //
172: public final static String CONSOLE_EXISTING_PROPERTY_NAME = "CONSOLE_EXISTING_PROPERTY_NAME_";
173: public final static String CONSOLE_EXISTING_PROPERTY_VALUE = "CONSOLE_EXISTING_PROPERTY_VALUE_";
174: public final static String CONSOLE_EXISTING_PROPERTY_REG_EX = "CONSOLE_EXISTING_PROPERTY_REG_EX_";
175: public final static String CONSOLE_EXISTING_PROPERTY_DESC = "CONSOLE_EXISTING_PROPERTY_DESC_";
176: public final static String CONSOLE_EXISTING_PROPERTY_ERR_MESS = "CONSOLE_EXISTING_PROPERTY_ERR_MESS_";
177:
178: public final static String UPDATE_COLUMN_COUNT = "UPDATE_COLUMN_COUNT";
179: public final static String UPDATE_CONDITION_COUNT = "UPDATE_CONDITION_COUNT";
180: public final static String RESULT_QUERY_ACTION = "RESULT_QUERY_ACTION";
181: public final static String CONDITION_CONJUNCTION = "AND";
182:
183: //public final static String PARAMETER_LOGIN = "LOGIN";
184: //public final static String PARAMETER_USER_NAME = "USER_NAME";
185: //public final static String PARAMETER_PASSWORD = "PASSWORD";
186:
187: public final static String SECTION_TAG = "SECTION_TAG";
188: public final static String SECTION_GRAPH = "SECTION_GRAPH";
189: public final static String SECTION_TREE = "SECTION_TREE";
190: public final static String SECTION_VIEW = "SECTION_VIEW";
191: public final static String SECTION_HORIZANTAL = "SECTION_HORIZANTAL";
192: public final static String SECTION_VERTICAL = "SECTION_VERTICAL";
193:
194: //public final static int COLUMN_WIDTH = 200;
195: //public final static int MENU_WIDTH = 100;
196: //end old parameters
197:
198: public final static String APPLICATION_CONTEXT_PATH = "APPLICATION_CONTEXT_PATH";
199: public final static String DEPLOY_APPLICATION_ACTION = "DEPLOY_APPLICATION_ACTION";
200: public final static String UNDEPLOY_APPLICATION_ACTION = "UNDEPLOY_APPLICATION_ACTION";
201: public final static String CREATE_APPLICATION_ACTION = "CREATE_APPLICATION_ACTION";
202: public final static String APPLICATION_TO_DEPLOY = "APPLICATION_TO_DEPLOY";
203: public final static String APPLICATION_TO_CREATE = "APPLICATION_TO_CREATE";
204: //
205: public final static String APPLICATION_TO_IMPORT = "APPLICATION_TO_IMPORT";
206: public final static String IMPORT_APPLICATION_NAME = "IMPORT_APPLICATION_NAME";
207:
208: //public final static String BRANCH_SEPARATOR =
209: // ConsoleTemplateParameters.BRANCH_SEPARATOR;
210:
211: public final static String DO_SWAP = "DO_SWAP";
212: public final static String DONT_SWAP = "DONT_SWAP";
213: //
214: public final static int ADD_CODE = 1;
215: public final static int REMOVE_CODE = 2;
216: public final static int SWAP_UP_CODE = 3;
217: public final static int SWAP_DOWN_CODE = 4;
218: public final static int REPLACE_CODE = 5;
219: //
220: public final static String CT_MENU_PREFIX = ConsoleTemplateParameters.CT_MENU_PREFIX;
221: public final static String STUDIO_TEXT_PREFIX = "STUDIO_TEXT_PREFIX";
222: public final static String STUDIO_UPDATE_TEXT_PREFIX = "STUDIO_UPDATE_TEXT_PREFIX";
223: public final static String TRIGGER_TEXT = "TRIGGER_TEXT";
224: public final static String TRIGGER_APPLICATION = "TRIGGER_APPLICATION";
225: public final static String NEW_DOCUMENT_GROUP = "NEW_DOCUMENT_GROUP";
226: public final static String NEW_DOCUMENT_INSTANCE_PREFIX = "NEW_DOCUMENT_INSTANCE_PREFIX_";
227:
228: }
|