blob: bedef5318dfc158e9a771586663365f5e0eaf9e9 [file] [log] [blame]
itrimble38bf0b92006-10-30 18:59:16 +00001/*******************************************************************************
2 * Copyright (c) 2006 Sybase, Inc. and others.
3 *
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Sybase, Inc. - initial API and implementation
11 *******************************************************************************/
12package org.eclipse.jst.pagedesigner.editors.pagedesigner;
13
cbatemana3570902007-10-23 17:53:10 +000014/**
15 * The designer constants
16 *
17 * TODO: dead?
18 *
19 */
20interface IPageDesignerConstants {
itrimble38bf0b92006-10-30 18:59:16 +000021 /**
22 * JSP UI Component Tag Node
23 */
gkesslercfc53082008-11-18 22:25:04 +000024 public static final String DEFAULT_TAG_NAME = "tagname"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000025
cbatemana3570902007-10-23 17:53:10 +000026 /**
27 * keyword
28 */
gkesslercfc53082008-11-18 22:25:04 +000029 public static final String ATTR_TYPE_CDATA = "CDATA"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000030
cbatemana3570902007-10-23 17:53:10 +000031 /**
32 * basename attribute
33 */
gkesslercfc53082008-11-18 22:25:04 +000034 public static final String ATTR_LOADBUNDLE_1 = "basename"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000035
cbatemana3570902007-10-23 17:53:10 +000036 /**
37 * var attribute
38 */
gkesslercfc53082008-11-18 22:25:04 +000039 public static final String ATTR_LOADBUNDLE_2 = "var"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000040
cbatemana3570902007-10-23 17:53:10 +000041 /**
42 * columns attribute
43 */
gkesslercfc53082008-11-18 22:25:04 +000044 public static final String ATTR_PANELGRID_1 = "columns"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000045
cbatemana3570902007-10-23 17:53:10 +000046 /**
47 * summary attribute
48 */
gkesslercfc53082008-11-18 22:25:04 +000049 public static final String ATTR_PANELGRID_2 = "summary"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000050
cbatemana3570902007-10-23 17:53:10 +000051 /**
52 * title attribute
53 */
gkesslercfc53082008-11-18 22:25:04 +000054 public static final String ATTR_PANELGRID_3 = "title"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000055
cbatemana3570902007-10-23 17:53:10 +000056 /**
57 * action attribute
58 */
gkesslercfc53082008-11-18 22:25:04 +000059 public static final String ATTR_BUTTON_1 = "action"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000060
cbatemana3570902007-10-23 17:53:10 +000061 /**
62 * value attribute
63 */
gkesslercfc53082008-11-18 22:25:04 +000064 public static final String ATTR_BUTTON_2 = "value"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000065
cbatemana3570902007-10-23 17:53:10 +000066 /**
67 * url attribute
68 */
gkesslercfc53082008-11-18 22:25:04 +000069 public static final String ATTR_GRAPHICIMAGE_1 = "url"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000070
cbatemana3570902007-10-23 17:53:10 +000071 /**
72 * binding attribute
73 */
gkesslercfc53082008-11-18 22:25:04 +000074 public static final String ATTR_GRAPHICIMAGE_2 = "binding"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000075
cbatemana3570902007-10-23 17:53:10 +000076 /**
77 * binding attribute
78 */
gkesslercfc53082008-11-18 22:25:04 +000079 public static final String ATTR_OUTPUTTEXT_1 = "binding"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000080
cbatemana3570902007-10-23 17:53:10 +000081 /**
82 * value attribute
83 */
gkesslercfc53082008-11-18 22:25:04 +000084 public static final String ATTR_OUTPUTTEXT_2 = "value"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000085
cbatemana3570902007-10-23 17:53:10 +000086 /**
87 * styleClass attribute
88 */
gkesslercfc53082008-11-18 22:25:04 +000089 public static final String ATTR_OUTPUTTEXT_3 = "styleClass"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000090
cbatemana3570902007-10-23 17:53:10 +000091 /**
92 * dataWindowBean attribute
93 */
gkesslercfc53082008-11-18 22:25:04 +000094 public static final String ATTR_DATAWINDOW_1 = "dataWindowBean"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +000095
cbatemana3570902007-10-23 17:53:10 +000096 /**
97 * scriptName attribute
98 */
gkesslercfc53082008-11-18 22:25:04 +000099 public static final String ATTR_DATAWINDOW_2 = "scriptName"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000100
cbatemana3570902007-10-23 17:53:10 +0000101 /**
102 * page attribute
103 */
gkesslercfc53082008-11-18 22:25:04 +0000104 public static final String ATTR_INCLUDE = "page"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000105
cbatemana3570902007-10-23 17:53:10 +0000106 /**
107 * prefix atttribute
108 */
gkesslercfc53082008-11-18 22:25:04 +0000109 public static final String ATTR_TAGLIB_1 = "prefix"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000110
cbatemana3570902007-10-23 17:53:10 +0000111 /**
112 * uri attribute
113 */
gkesslercfc53082008-11-18 22:25:04 +0000114 public static final String ATTR_TAGLIB_2 = "uri"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000115
cbatemana3570902007-10-23 17:53:10 +0000116 /**
117 * bundle attribute
118 */
gkesslercfc53082008-11-18 22:25:04 +0000119 public static final String RESOURCE_BUNDLE_MARK = "bundle"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000120
cbatemana3570902007-10-23 17:53:10 +0000121 /**
122 * value attribute
123 */
gkesslercfc53082008-11-18 22:25:04 +0000124 public static final String ATTR_RESOURCE_BUNDLE = "value"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000125
cbatemana3570902007-10-23 17:53:10 +0000126 /**
127 * value attribute
128 */
gkesslercfc53082008-11-18 22:25:04 +0000129 public static final String ATTR_FACET = "value"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000130
cbatemana3570902007-10-23 17:53:10 +0000131 /**
132 * view tag
133 */
gkesslercfc53082008-11-18 22:25:04 +0000134 public static final String TAG_VIEW_TYPE = "view"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000135
cbatemana3570902007-10-23 17:53:10 +0000136 /**
137 * for tag
138 */
gkesslercfc53082008-11-18 22:25:04 +0000139 public static final String TAG_FORM_TYPE = "form"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000140
cbatemana3570902007-10-23 17:53:10 +0000141 /**
142 * text tag
143 */
gkesslercfc53082008-11-18 22:25:04 +0000144 public static final String TAG_TEXT_TYPE = "text"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000145
cbatemana3570902007-10-23 17:53:10 +0000146 /**
147 * loadBundle tag
148 */
gkesslercfc53082008-11-18 22:25:04 +0000149 public static final String TAG_LOADBUNDLE_TYPE = "loadBundle"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000150
cbatemana3570902007-10-23 17:53:10 +0000151 /**
152 * panelGrid tag
153 */
gkesslercfc53082008-11-18 22:25:04 +0000154 public static final String TAG_PANELGRID_TYPE = "panelGrid"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000155
cbatemana3570902007-10-23 17:53:10 +0000156 /**
157 *
158 */
gkesslercfc53082008-11-18 22:25:04 +0000159 public static final String TAG_IMAGE_TYPE = "image"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000160
cbatemana3570902007-10-23 17:53:10 +0000161 /**
162 * outputText tag
163 */
gkesslercfc53082008-11-18 22:25:04 +0000164 public static final String TAG_OUTPUTTEXT_TYPE = "outputText"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000165
cbatemana3570902007-10-23 17:53:10 +0000166 /**
167 *
168 */
gkesslercfc53082008-11-18 22:25:04 +0000169 public static final String TAG_BUTTON_TYPE = "button"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000170
cbatemana3570902007-10-23 17:53:10 +0000171 /**
172 *
173 */
gkesslercfc53082008-11-18 22:25:04 +0000174 public static final String TAG_DATAWINDOW_TYPE = "datawindow"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000175
cbatemana3570902007-10-23 17:53:10 +0000176 /**
177 *
178 */
gkesslercfc53082008-11-18 22:25:04 +0000179 public static final String TAG_TAGLIB_TYPE = "taglib"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000180
cbatemana3570902007-10-23 17:53:10 +0000181 /**
182 *
183 */
gkesslercfc53082008-11-18 22:25:04 +0000184 public static final String TAG_INCLUDE_TYPE = "include"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000185
cbatemana3570902007-10-23 17:53:10 +0000186 /**
187 *
188 */
gkesslercfc53082008-11-18 22:25:04 +0000189 public static final String TAG_OTHERS_TYPE = ""; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000190
cbatemana3570902007-10-23 17:53:10 +0000191 /**
192 *
193 */
gkesslercfc53082008-11-18 22:25:04 +0000194 public static final String TAG_NAME_VIEW = "view"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000195
cbatemana3570902007-10-23 17:53:10 +0000196 /**
197 *
198 */
gkesslercfc53082008-11-18 22:25:04 +0000199 public static final String TAG_NAME_FORM = "form"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000200
cbatemana3570902007-10-23 17:53:10 +0000201 /**
202 *
203 */
gkesslercfc53082008-11-18 22:25:04 +0000204 public static final String TAG_NAME_PANELGRID = "panelGrid"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000205
cbatemana3570902007-10-23 17:53:10 +0000206 /**
207 *
208 */
gkesslercfc53082008-11-18 22:25:04 +0000209 public static final String TAG_NAME_PANELGROUP = "panelGroup"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000210
cbatemana3570902007-10-23 17:53:10 +0000211 /**
212 *
213 */
gkesslercfc53082008-11-18 22:25:04 +0000214 public static final String TAG_NAME_FACET = "facet"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000215
cbatemana3570902007-10-23 17:53:10 +0000216 /**
217 *
218 */
gkesslercfc53082008-11-18 22:25:04 +0000219 public static final String TAG_NAME_DATAWINDOW = "dataWindow"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000220
cbatemana3570902007-10-23 17:53:10 +0000221 /**
222 *
223 */
gkesslercfc53082008-11-18 22:25:04 +0000224 public static final String TAG_NAME_OUTPUTTEXT = "outputText"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000225
cbatemana3570902007-10-23 17:53:10 +0000226 /**
227 *
228 */
gkesslercfc53082008-11-18 22:25:04 +0000229 public static final String TAG_NAME_INCLUDE = "include"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000230
cbatemana3570902007-10-23 17:53:10 +0000231 /**
232 *
233 */
gkesslercfc53082008-11-18 22:25:04 +0000234 public static final String TAG_NAME_LOADBUNDLE = "loadBundle"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000235
cbatemana3570902007-10-23 17:53:10 +0000236 /**
237 *
238 */
gkesslercfc53082008-11-18 22:25:04 +0000239 public static final String TAG_NAME_TAGLIB = "taglib"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000240
cbatemana3570902007-10-23 17:53:10 +0000241 /**
242 * graphicImage tag
243 */
gkesslercfc53082008-11-18 22:25:04 +0000244 public static final String TAG_NAME_GRAPHICIMAGE = "graphicImage"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000245
cbatemana3570902007-10-23 17:53:10 +0000246 /**
247 * commandButton tag
248 */
gkesslercfc53082008-11-18 22:25:04 +0000249 public static final String TAG_NAME_COMMANDBUTTON = "commandButton"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000250
cbatemana3570902007-10-23 17:53:10 +0000251 /**
252 *
253 */
gkesslercfc53082008-11-18 22:25:04 +0000254 public static final String REQUEST_TYPE_SELECT = "selection"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000255
cbatemana3570902007-10-23 17:53:10 +0000256 /**
257 *
258 */
itrimble38bf0b92006-10-30 18:59:16 +0000259 public static final int EOF = -1;
260
cbatemana3570902007-10-23 17:53:10 +0000261 /**
262 *
263 */
264 public static final char CHAR_TAB = '\t';
itrimble38bf0b92006-10-30 18:59:16 +0000265
cbatemana3570902007-10-23 17:53:10 +0000266 /**
267 *
268 */
269 public static final char CHAR_N_RETURN = '\n';
itrimble38bf0b92006-10-30 18:59:16 +0000270
cbatemana3570902007-10-23 17:53:10 +0000271 /**
272 *
273 */
gkesslercfc53082008-11-18 22:25:04 +0000274 public static final String STRING_N_RETURN = "\n"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000275
cbatemana3570902007-10-23 17:53:10 +0000276 /**
277 *
278 */
gkesslercfc53082008-11-18 22:25:04 +0000279 public static final String STRING_BLANK = " "; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000280
cbatemana3570902007-10-23 17:53:10 +0000281 /**
282 *
283 */
284 public static final char CHAR_BLANK = ' ';
itrimble38bf0b92006-10-30 18:59:16 +0000285
cbatemana3570902007-10-23 17:53:10 +0000286 /**
287 *
288 */
gkesslercfc53082008-11-18 22:25:04 +0000289 public static final String FONT_NAME_HELVETICA = "Helvetica"; //$NON-NLS-1$
itrimble38bf0b92006-10-30 18:59:16 +0000290}