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.ConsoleTemplateFunctionsContext;
014: import org.jfolder.common.web.template.ConsoleTemplateSession;
015:
016: //other classes
017:
018: public class NamesForSubCpc {
019:
020: //
021: private final static String PANELESS_GRAPH = "paneless-rcth-graph";
022: private final static String PANELESS_RCTH_EDIT = "paneless-rcth-edit";
023: private final static String PANELESS_RCTH_TREE = "paneless-rcth-tree";
024: private final static String PANELESS_RCTH_TEXT = "paneless-rcth-text";
025: //
026: private final static String PANE_RCTH_EDIT = "pane-rcth-edit";
027: private final static String PANE_RCTH_TREE = "pane-rcth-tree";
028: private final static String PANE_RCTH_TEXT = "pane-rcth-text";
029: //
030: private final static String LEFT_RIGHT = "left-right";
031: private final static String UP_DOWN = "up-down";
032: //
033: private final static String SUB_PANE = "sub-pane";
034: //
035: private final static String WEB_PAGE_PANELESS_VIEW = "web-page-paneless-view";
036: private final static String WEB_PAGE_PANE_VIEW = "web-page-pane-view";
037: //
038: private final static String SUB_LIMIT_TEXT_PREFIX = "sub-limit-text-";
039: //
040: private final static String MESSAGE_HOLDER = "message-holder";
041: //
042: private final static String CREATION_OF_CONCEPT_TAG = ConsoleTemplateSession.CREATION_OF_CONCEPT_TAG;
043: //
044: private final static String SECURITY_AUDIT_SET_TABLE = "security-audit-set-table";
045:
046: private NamesForSubCpc() {
047: }
048:
049: //
050: public final static String getSecurityAuditSetTableCpcName() {
051: return SECURITY_AUDIT_SET_TABLE;
052: }
053:
054: //
055: public final static String getCreationOfConceptTagCpcName() {
056: return CREATION_OF_CONCEPT_TAG;
057: }
058:
059: //
060: public final static String getBasePanelessGraphCpcName() {
061: return PANELESS_GRAPH;
062: }
063:
064: public final static String getBasePanelessRcthEditCpcName() {
065: return PANELESS_RCTH_EDIT;
066: }
067:
068: public final static String getBasePanelessRcthTreeCpcName() {
069: return PANELESS_RCTH_TREE;
070: }
071:
072: public final static String getBasePanelessRcthTextCpcName() {
073: return PANELESS_RCTH_TEXT;
074: }
075:
076: //
077: public final static String getBasePaneRcthEditCpcName() {
078: return PANE_RCTH_EDIT;
079: }
080:
081: public final static String getBasePaneRcthTreeCpcName() {
082: return PANE_RCTH_TREE;
083: }
084:
085: public final static String getBasePaneRcthTextCpcName() {
086: return PANE_RCTH_TEXT;
087: }
088:
089: //
090: public final static String getBaseSubLeftRightCpcName(
091: String inLeftName, String inRightName) {
092: //
093: return LEFT_RIGHT
094: + ConsoleTemplateFunctionsContext.HANDLE_SEPARATOR
095: + inLeftName
096: + ConsoleTemplateFunctionsContext.HANDLE_SEPARATOR
097: + inRightName;
098: }
099:
100: public final static String getBaseSubUpDownCpcName(String inUpName,
101: String inDownName) {
102: //
103: return UP_DOWN
104: + ConsoleTemplateFunctionsContext.HANDLE_SEPARATOR
105: + inUpName
106: + ConsoleTemplateFunctionsContext.HANDLE_SEPARATOR
107: + inDownName;
108: }
109:
110: //
111: public final static String getBaseSubPaneBarCpcName() {
112: return SUB_PANE;
113: }
114:
115: //
116: public final static String getDevelopWebPagePanelessViewCpcName() {
117: return WEB_PAGE_PANELESS_VIEW;
118: }
119:
120: public final static String getDevelopWebPagePaneViewCpcName() {
121: return WEB_PAGE_PANE_VIEW;
122: }
123:
124: //
125: public final static String getSubLimitTextCpcName(String inName) {
126: return SUB_LIMIT_TEXT_PREFIX
127: + ConsoleTemplateFunctionsContext.HANDLE_SEPARATOR
128: + inName;
129: }
130:
131: //
132: public final static String getSubMessageHolderCpcName() {
133: return MESSAGE_HOLDER;
134: }
135: }
|