001: /*
002: * ProviderProperties.java
003: *
004: * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
005: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
006: */
007:
008: package com.sun.portal.providers.util;
009:
010: /**
011: * This class defines constants that used by the desktop providers
012: */
013: public interface ProviderProperties {
014:
015: //------------------------------------------------------------
016: // Property names that read from the dp
017: //------------------------------------------------------------
018:
019: /**
020: * Default channel width
021: */
022: public final static String DEFAULT_CHANNEL_WIDTH = "defaultChannelWidth";
023:
024: /**
025: * Channels with no border
026: */
027: public final static String BORDERLESS_CHANNELS = "borderlessChannels";
028:
029: /**
030: * Default borderless channel
031: */
032: public final static String DEFAULT_BORDERLESS_CHANNEL = "defaultBorderlessChannel";
033:
034: /**
035: * Has Frame
036: */
037: public final static String CHANNELS_HAS_FRAME = "channelsHasFrame";
038:
039: /**
040: * Default has Frame
041: */
042: public final static String DEFAULT_CHANNEL_HAS_FRAME = "defaultChannelHasFrame";
043:
044: /**
045: * Font Face1
046: */
047: public final static String FONT_FACE1 = "fontFace1";
048:
049: /**
050: * Product Name
051: */
052: public final static String PRODUCT_NAME = "productName";
053:
054: /**
055: * Front Container Name
056: */
057: public final static String FRONT_CONTAINER_NAME = "frontContainerName";
058:
059: /**
060: * Parent Container name
061: */
062: public final static String PARENT_CONTAINER_NAME = "parentContainerName";
063:
064: /**
065: * Selected Tab Name
066: */
067: public final static String SELECTED_TAB_NAME = "selectedTabName";
068:
069: /**
070: * Edit Container Name
071: */
072: public final static String EDIT_CONTAINER_NAME = "editContainerName";
073:
074: /**
075: * Provider Name
076: */
077: public final static String PROVIDER_NAME = "providerName";
078:
079: /**
080: * Provider Title
081: */
082: public final static String PROVIDER_TITLE = "providerTitle";
083:
084: /**
085: * Layout
086: */
087: public final static String LAYOUT = "layout";
088:
089: /**
090: * Channels Background Color
091: */
092: public final static String CHANNELS_BACKGROUND_COLOR = "channelsBackgroundColor";
093:
094: /**
095: * Channels Column
096: */
097: public final static String CHANNELS_COLUMN = "channelsColumn";
098:
099: /**
100: * Default channel Column
101: */
102: public final static String DEFAULT_CHANNEL_COLUMN = "defaultChannelColumn";
103:
104: /**
105: * Channels Row
106: */
107: public final static String CHANNELS_ROW = "channelsRow";
108:
109: /**
110: * Default channel Row
111: */
112: public final static String DEFAULT_CHANNEL_ROW = "defaultChannelRow";
113:
114: /**
115: * Channels Width
116: */
117: public final static String CHANNELS_WIDTH = "channelsWidth";
118:
119: /**
120: * Popup Window Width (For thin channels)
121: */
122: public final static String THIN_POPUP_WIDTH = "thin_popup_width";
123:
124: /**
125: * Popup Window Height (For thin channels)
126: */
127: public final static String THIN_POPUP_HEIGHT = "thin_popup_height";
128:
129: /**
130: * Popup Window Width (For thick channels)
131: */
132: public final static String THICK_POPUP_WIDTH = "thick_popup_width";
133:
134: /**
135: * Popup Window Height (For thick channels)
136: */
137: public final static String THICK_POPUP_HEIGHT = "thick_popup_height";
138:
139: /**
140: * Popup Window Width (For full width channels)
141: */
142: public final static String FULLWIDTH_POPUP_WIDTH = "fullwidth_popup_width";
143:
144: /**
145: * Popup Window Height (For full width channels)
146: */
147: public final static String FULLWIDTH_POPUP_HEIGHT = "fullwidth_popup_height";
148:
149: /**
150: * Timeout
151: */
152: public final static String TIMEOUT = "timeout";
153:
154: /**
155: * Default channel is Minimized
156: */
157: public final static String DEFAULT_CHANNEL_IS_MINIMIZED = "defaultChannelIsMinimized";
158:
159: /**
160: * Channels is Minimized
161: */
162: public final static String CHANNELS_IS_MINIMIZED = "channelsIsMinimized";
163:
164: /**
165: * Default Channel is Minimizable
166: */
167: public final static String DEFAULT_CHANNEL_IS_MINIMIZABLE = "defaultChannelIsMinimizable";
168:
169: /**
170: * Channels is Minimizable
171: */
172: public final static String CHANNELS_IS_MINIMIZABLE = "channelsIsMinimizable";
173:
174: /**
175: * Channel maximized
176: */
177: public final static String MAXIMIZED_CHANNEL = "maximizedChannel";
178:
179: /**
180: * Default Channel is Maximizable
181: */
182: public final static String DEFAULT_CHANNEL_IS_MAXIMIZABLE = "defaultChannelIsMaximizable";
183:
184: /**
185: * Channels is Maximizable
186: */
187: public final static String CHANNELS_IS_MAXIMIZABLE = "channelsIsMaximizable";
188:
189: /**
190: * Default channel is Detached
191: */
192: public final static String DEFAULT_CHANNEL_IS_DETACHED = "defaultChannelIsDetached";
193:
194: /**
195: * Channels is Detached
196: */
197: public final static String CHANNELS_IS_DETACHED = "channelsIsDetached";
198:
199: /**
200: * Channels is Detachable
201: */
202: public final static String CHANNELS_IS_DETACHABLE = "channelsIsDetachable";
203:
204: /**
205: * Default channel is Detachable
206: */
207: public final static String DEFAULT_CHANNEL_IS_DETACHABLE = "defaultChannelIsDetachable";
208:
209: /**
210: * Channels is Removable
211: */
212: public final static String CHANNELS_IS_REMOVABLE = "channelsIsRemovable";
213:
214: /**
215: * Default channel is Removable
216: */
217: public final static String DEFAULT_CHANNEL_IS_REMOVABLE = "defaultChannelIsRemovable";
218:
219: /**
220: * Channels is Movable
221: */
222: public final static String CHANNELS_IS_MOVABLE = "channelsIsMovable";
223:
224: /**
225: * Default channel is movable
226: */
227: public final static String DEFAULT_CHANNEL_IS_MOVABLE = "defaultChannelIsMovable";
228:
229: /**
230: * Help URLs
231: */
232: public final static String HELP_URLS = "helpURLs";
233:
234: /**
235: * Help URL
236: */
237: public final static String HELP_URL = "helpURL";
238:
239: /**
240: * Parallel Channels Initialization
241: */
242: public final static String PARALLEL_CHANNELS_INIT = "parallelChannelsInit";
243:
244: /**
245: * Parent tab container property
246: */
247: public final static String PARENT_TAB_CONTAINER = "parentTabContainer";
248:
249: /**
250: * Refresh Parent Container only
251: */
252: public final static String REFRESH_PARENT_CONTAINER_ONLY = "refreshParentContainerOnly";
253:
254: //------------------------------------------------------------
255: // Tag names that used in the template files
256: //------------------------------------------------------------
257: //
258:
259: /**
260: * hasFrame
261: */
262: public final static String HAS_FRAME = "hasFrame";
263:
264: /**
265: * Menu Bar
266: */
267: public final static String MENUBAR = "menubar";
268:
269: /**
270: * Content Layout Menu Bar
271: */
272: public final static String CONTENT_LAYOUT = "contentLayout";
273:
274: /**
275: * Content Layout Menu Bar
276: */
277: public final static String CONTENT_BAR_IN_CONTENT = "contentBarInContent";
278:
279: /**
280: * Content Layout Menu Bar
281: */
282: public final static String CONTENT_BAR_IN_LAYOUT = "contentBarInLayout";
283:
284: /**
285: * Toolbar Rollover
286: */
287: public final static String TOOLBAR_ROLLOVER = "toolbarRollover";
288:
289: /**
290: * Banner
291: */
292: public final static String BANNER = "banner";
293:
294: /**
295: * Desktop URL
296: */
297: public final static String DESKTOP_URL = "desktop_url";
298:
299: /**
300: * Blue -> Red Bullet Color Change Script
301: */
302: public final static String BULLET_COLOR = "bulletColor";
303:
304: /**
305: * Error Message
306: */
307: public final static String ERR_MESSAGE = "errMessage";
308:
309: /**
310: * Inline Error
311: */
312: public final static String INLINE_ERROR = "inlineError";
313:
314: /**
315: * Title
316: */
317: public final static String TITLE = "title";
318:
319: /**
320: * Size
321: */
322: public final static String SIZE = "size";
323:
324: /**
325: * Bgcolor
326: */
327: public final static String BGCOLOR = "bgColor";
328:
329: /**
330: * Border size
331: */
332: public final static String BORDER_SIZE = "borderSize";
333:
334: /**
335: * Content
336: */
337: public final static String CONTENT = "content";
338:
339: /**
340: * Provider Command
341: */
342: public final static String PROVIDER_CMDS = "provider_cmds";
343:
344: /**
345: * Help Link
346: */
347: public final static String HELP_LINK = "help_link";
348:
349: /**
350: * Theme Link
351: */
352: public final static String THEME_CHANNEL = "theme_channel";
353:
354: /**
355: * Launch Popup
356: */
357: public final static String LAUNCH_POPUP = "launchPopup";
358:
359: /**
360: * Help tag
361: */
362: public final static String HELP_TAG = "help_tag";
363:
364: /**
365: * Help icon
366: */
367: public final static String HELP_ICON = "help_icon";
368:
369: /**
370: * Stack Trace
371: */
372: public static final String STACK_TRACE = "stackTrace";
373:
374: /**
375: * BG Color
376: */
377: public static final String BG_COLOR = "bgColor";
378:
379: /**
380: * Title Bar Color
381: */
382: public static final String TITLE_BAR_COLOR = "titleBarColor";
383:
384: /**
385: * Border Color
386: */
387: public static final String BORDER_COLOR = "borderColor";
388:
389: /**
390: * Font Color
391: */
392: public static final String FONT_COLOR = "fontColor";
393:
394: /**
395: * Border Width
396: */
397: public static final String BORDER_WIDTH = "borderWidth";
398:
399: /**
400: * Font Face
401: */
402: public static final String FONT_FACE = "fontFace";
403:
404: /**
405: * Font Face
406: */
407: public static final String FONT_SIZE = "fontSize";
408:
409: /**
410: * Active Bullet Image in the Header
411: */
412: public static final String ACTIVE_BULLET_IMAGE = "activeBulletImage";
413:
414: /**
415: * Inactive Bullet Image in the Header
416: */
417: public static final String INACTIVE_BULLET_IMAGE = "inactiveBulletImage";
418:
419: /**
420: * Brand Image in the Header
421: */
422: public static final String BRAND_IMAGE = "brandImage";
423: public static final String S_BRAND_IMAGE = "s_brandImage";
424:
425: /**
426: * Brand Image Background Color in the Header
427: */
428: public static final String BRAND_IMAGE_BG_COLOR = "brandImageBgColor";
429:
430: /**
431: * Product Image in the Header
432: */
433: public static final String BRAND_IMAGE2 = "brandImage2";
434: public static final String S_BRAND_IMAGE2 = "s_brandImage2";
435:
436: /**
437: * Product Image Backgroun Color in the Header
438: */
439: public static final String BRAND_IMAGE2_BG_COLOR = "brandImage2BgColor";
440:
441: /**
442: * Brand Image Width in the Header
443: */
444: public static final String BRAND_IMAGE_WIDTH = "brandImageWidth";
445:
446: /**
447: * Brand Background Color
448: */
449: public static final String BRAND_BG_COLOR = "brandBgColor";
450:
451: /**
452: * Header Background Color
453: */
454: public static final String HEADER_BG_COLOR = "headerBgColor";
455:
456: /**
457: * Header Text Font Color
458: */
459: public static final String HEADER_FONT_COLOR = "headerFontColor";
460:
461: /**
462: * Header Text Font Class Name (class is defined in style.css)
463: */
464: public static final String HEADER_TEXT = "headerText";
465:
466: /**
467: * Tab Notch Image
468: */
469: public static final String TAB_NOTCH_IMAGE = "tabNotchImage";
470:
471: /**
472: * Tab Background Color
473: */
474: public static final String TAB_COLOR = "tabColor";
475:
476: /**
477: * Tab Font Color
478: */
479: public static final String TAB_FONT_COLOR = "tabFontColor";
480:
481: /**
482: * Content/Layout Bar Font Color
483: */
484: public static final String CONTENT_LAYOUT_LINK_COLOR = "contentLayoutLinkColor";
485:
486: /**
487: * Content Layout Bar Text Font Class Name (class is defined in style.css)
488: */
489: public static final String CONTENT_LAYOUT_TEXT = "contentLayoutText";
490:
491: /**
492: * Content Layout Bar Link Separartor Color
493: */
494: public static final String LINK_SEPARATOR_COLOR = "linkSeparatorColor";
495:
496: /**
497: * Table Background Color
498: */
499: public static final String TABLE_BG_COLOR = "tableBgColor";
500:
501: /**
502: * Title Bar Font Color
503: */
504: public static final String TITLE_FONT_COLOR = "titleFontColor";
505:
506: /**
507: * Title Text Font Class Name (class is defined in style.css)
508: */
509: public static final String TITLE_TEXT = "titleText";
510:
511: /**
512: * Channel Highlight Background Color
513: */
514: public static final String CHANNEL_HIGHLIGHT_COLOR = "channelHighlightColor";
515:
516: /**
517: * Channel Link Color
518: */
519: public static final String CHANNEL_LINK_COLOR = "channelLinkColor";
520:
521: /**
522: * Remove Image in the Title
523: */
524: public static final String REMOVE_IMAGE = "removeImage";
525: public static final String S_REMOVE_IMAGE = "s_removeImage";
526:
527: /**
528: * Attach Image in the Title
529: */
530: public static final String ATTACH_IMAGE = "attachImage";
531: public static final String S_ATTACH_IMAGE = "s_attachImage";
532:
533: /**
534: * Detach Image in the Title
535: */
536: public static final String DETACH_IMAGE = "detachImage";
537: public static final String S_DETACH_IMAGE = "s_detachImage";
538:
539: /**
540: * Minimize Image in the Title
541: */
542: public static final String MINIMIZE_IMAGE = "minimizeImage";
543: public static final String S_MINIMIZE_IMAGE = "s_minimizeImage";
544:
545: /**
546: * Maximize Image in the Title
547: */
548: public static final String MAXIMIZE_IMAGE = "maximizeImage";
549: public static final String S_MAXIMIZE_IMAGE = "s_maximizeImage";
550:
551: /**
552: * Normalize Image in the Title
553: */
554: public static final String NORMALIZE_IMAGE = "normalizeImage";
555: public static final String S_NORMALIZE_IMAGE = "s_normalizeImage";
556:
557: /**
558: * Help Image in the Title
559: */
560: public static final String HELP_IMAGE = "helpImage";
561: public static final String S_HELP_IMAGE = "s_helpImage";
562:
563: /**
564: * Edit Image in the Title
565: */
566: public static final String EDIT_IMAGE = "editImage";
567: public static final String S_EDIT_IMAGE = "s_editImage";
568:
569: /**
570: * Last Top Level Channel Name
571: */
572: public static final String LAST_CHANNEL_NAME = "lastChannelName";
573:
574: /**
575: * Locale String
576: */
577: public static final String LOCALE_STRING = "localeString";
578:
579: /**
580: * Static Content Path
581: */
582: public static final String STATIC_CONTENT = "staticContent";
583:
584: /**
585: * Logout Url
586: */
587: public static final String LOGOUT_URL = "logoutUrl";
588:
589: /**
590: * No Session Url
591: */
592: public static final String NO_SESSION_URL = "noSessionUrl";
593:
594: //------------------------------------------------------------
595: // Template names
596: //------------------------------------------------------------
597:
598: /**
599: * Menu Bar template
600: */
601: public final static String MENUBAR_TEMPLATE = "menubar.template";
602:
603: /**
604: * Content Layout Menu Bar template
605: */
606: public final static String CONTENT_LAYOUT_TEMPLATE = "contentLayout.template";
607:
608: /**
609: * Blue -> Red Bullet Color Change Script
610: */
611: public final static String BULLET_COLOR_JS = "bulletColor.js";
612:
613: /**
614: * Toolbar Rollovers Script
615: */
616: public final static String TOOLBAR_ROLLOVER_JS = "toolbarRollovers.js";
617:
618: /**
619: * Banner template
620: */
621: public final static String BANNER_TEMPLATE = "banner.template";
622:
623: /**
624: * Edit Template - Used by each of the built-in providers to
625: * display their edit contents
626: */
627: public final static String EDIT_TEMPLATE = "edit.template";
628:
629: /**
630: * In line Error Template
631: */
632: public final static String INLINE_ERROR_TEMPLATE = "inlineError.template";
633:
634: /**
635: * Arrange Provider JS
636: */
637: public final static String ARRANGE_PROVIDER_JS = "arrangeProvider.js";
638:
639: /**
640: * Perform Substitution JS
641: */
642: public final static String PERFORM_SUBSTITUTION_JS = "performSubstitution.js";
643:
644: /**
645: * Perform Column Substitution JS
646: */
647: public final static String PERFORM_COLUMN_SUBSTITUTION_JS = "performColumnSubstitution.js";
648:
649: /**
650: * Select All JS
651: */
652: public final static String SELECT_ALL_JS = "selectAll.js";
653:
654: /**
655: * Switch Columns JS
656: */
657: public final static String SWITCH_COLUMNS_JS = "switchColumns.js";
658:
659: /**
660: * openURLInParent JS
661: */
662: public final static String OPENURL_INPARENT_JS = "openURLInParent.js";
663:
664: /**
665: * Error Template
666: */
667: public static final String ERROR_TEMPLATE = "error.template";
668:
669: /**
670: * Overload Template
671: */
672: public static final String OVERLOAD_TEMPLATE = "overload.template";
673:
674: /**
675: * Error Template to be used when desktop context is not available
676: */
677: public static final String ERROR_TEMPLATE_NOCONTEXT = "error_nocontext.template";
678: /**
679: * Banner Template to be used when desktop context is not available
680: */
681: public static final String BANNER_TEMPLATE_NOCONTEXT = "banner_nocontext.template";
682:
683: /*
684: * Empty Provider Content
685: */
686: public final static String EMPTY_PROVIDER_CONTENT = "emptyProviderContent";
687:
688: //Portlet list -- global
689: public static final String GLOBAL_PORTLET_LIST = "global_portlet_list";
690:
691: //Portlet list -- tab
692: public static final String TAB_PORTLET_LIST = "portlets_on_tab";
693:
694: //Portlets registered to listen to certain events
695: public static final String CONSUME_EVENT_LIST = "consume_event_list";
696:
697: //Portlets registered to fire events
698: public static final String GENERATE_EVENT_LIST = "generate_event_list";
699:
700: //Portlets-Event mapping
701: public static final String EVENT_PORTLET_MAP = "event_portlet_map";
702:
703: /*
704: * Variables used by the template containers
705: */
706:
707: /**
708: * Content Layout Menu Bar template
709: */
710: public final static String CONTENT_BAR_IN_CONTENT_TEMPLATE = "contentBarInContent.template";
711:
712: /**
713: * Content Layout Menu Bar template
714: */
715: public final static String CONTENT_BAR_IN_LAYOUT_TEMPLATE = "contentBarInLayout.template";
716:
717: /**
718: * Provider Wrapper template
719: */
720: public final static String PROVIDER_WRAPPER_TEMPLATE = "providerWrapper.template";
721:
722: /**
723: * Minimized template
724: */
725: public final static String MINIMIZED_TEMPLATE = "minimized.template";
726:
727: /**
728: * Maximized template
729: */
730: public final static String MAXIMIZED_TEMPLATE = "maximizedTemplate.template";
731:
732: /**
733: * Bare Provider Wrapper template
734: */
735: public final static String BARE_PROVIDER_WRAPPER_TEMPLATE = "bareProviderWrapper.template";
736:
737: /**
738: * Launch Popup JS
739: */
740: public final static String LAUNCH_POPUP_JS = "launchPopup.js";
741:
742: /**
743: * User Template template
744: */
745: public final static String USER_TEMPLATE = "userTemplate.template";
746:
747: /**
748: * Edit Provider Template - Used by the Edit Provider which
749: * wraps the edit contents of each of the providers plus adds the
750: * standard tags
751: */
752: public final static String EDIT_PROVIDER_TEMPLATE = "editTemplate.template";
753: /**
754: * Options Template
755: */
756: public final static String OPTIONS_TEMPLATE = "optionsTemplate.template";
757:
758: /**
759: * Layout 1 Template
760: */
761: public final static String LAYOUT1_TEMPLATE = "layout1Template.template";
762:
763: /**
764: * Layout 2 Template
765: */
766: public final static String LAYOUT2_TEMPLATE = "layout2Template.template";
767:
768: /**
769: * Layout 3 Template
770: */
771: public final static String LAYOUT3_TEMPLATE = "layout3Template.template";
772:
773: /**
774: * Layout 4 Template
775: */
776: public final static String LAYOUT4_TEMPLATE = "layout4Template.template";
777:
778: /**
779: * Layout Full Top Template
780: */
781: public final static String LAYOUT_FULL_TOP_TEMPLATE = "layoutFullTop.template";
782:
783: /**
784: * Layout Full Bottom Template
785: */
786: public final static String LAYOUT_FULL_BOTTOM_TEMPLATE = "layoutFullBottom.template";
787:
788: /**
789: * Content Template
790: */
791: public final static String CONTENT_TEMPLATE = "contentTemplate.template";
792:
793: /**
794: * Remove Provider JS
795: */
796: public final static String REMOVE_PROVIDER_JS = "removeProvider.js";
797:
798: /**
799: * Popup Menubar template
800: */
801: public final static String POPUP_MENUBAR_TEMPLATE = "popupMenubar.template";
802:
803: /**
804: * Popup Template
805: */
806: public final static String POPUP_TEMPLATE = "popupTemplate.template";
807:
808: }
|