01: // The contents of this file are subject to the Mozilla Public License Version
02: // 1.1
03: //(the "License"); you may not use this file except in compliance with the
04: //License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
05: //
06: //Software distributed under the License is distributed on an "AS IS" basis,
07: //WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
08: //for the specific language governing rights and
09: //limitations under the License.
10: //
11: //The Original Code is "The Columba Project"
12: //
13: //The Initial Developers of the Original Code are Frederik Dietz and Timo
14: // Stich.
15: //Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
16: //
17: //All Rights Reserved.
18: package org.columba.mail.config;
19:
20: import org.columba.core.config.DefaultItem;
21: import org.columba.core.xml.XmlElement;
22:
23: /**
24: * User interface specific options, including configuration settings for
25: * the tree view, the message list and the message preview component.
26: *
27: * @author fdietz
28: */
29:
30: //
31: // options.xml
32: //
33: //<options>
34: // <gui>
35: // <messageviewer inline_attachments="false">
36: // <smilies enabled="true" />
37: // <quote color="0" enabled="true" />
38: // </messageviewer>
39: // <tree>
40: // <sorting sorted="true" ascending="true" comparator="alphabetic" />
41: // </tree>
42: // </gui>
43: // <html prefer="true" />
44: // <markasread delay="2" enabled="true" />
45: // <headerviewer style="0" headerfields="Subject Date Reply-To From To Cc Bcc" />
46: //</options>
47: public class OptionsItem extends DefaultItem {
48:
49: public final static String MESSAGEVIEWER = "gui/messageviewer";
50:
51: public final static String MESSAGEVIEWER_SMILIES = "gui/messageviewer/smilies";
52:
53: public final static String MESSAGEVIEWER_QUOTE = "gui/messageviewer/quote";
54:
55: public final static String TREE = "gui/tree";
56:
57: public final static String TREE_SORTING = "gui/tree/sorting";
58:
59: public final static String ENABLED_BOOL = "enabled";
60:
61: public final static String DISABLE_BOOL = "disable";
62:
63: public final static String SORTED_BOOL = "sorted";
64:
65: public final static String ASCENDING_BOOL = "ascending";
66:
67: public final static String COMPARATOR = "comparator";
68:
69: public final static String HTML = "html";
70:
71: public final static String PREFER_BOOL = "prefer";
72:
73: public final static String MARKASREAD = "markasread";
74:
75: public final static String DELAY_INT = "delay";
76:
77: public final static String HEADERVIEWER = "headerviewer";
78:
79: public final static String STYLE_INT = "style";
80:
81: public final static String HEADERFIELDS = "headerfields";
82:
83: public final static String INLINE_ATTACHMENTS_BOOL = "inline_attachments";
84:
85: public final static String SELECTED_BROWSER = "selected_browser";
86:
87: /**
88: * @param root
89: */
90: public OptionsItem(XmlElement root) {
91: super(root);
92: }
93:
94: }
|