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: * Composer window specific options.
25: *
26: * @author fdietz
27: *
28: */
29:
30: //
31: // composer_options.xml:
32: //
33: //<options>
34: //<gui>
35: // <view id="0">
36: // <window maximized="false" height="700" width="600" y="0" x="0" />
37: // <toolbars infopanel="true" main="true" />
38: // <splitpanes header="200" attachment="100" main="200" />
39: // <addressbook enabled="false" />
40: // </view>
41: //</gui>
42: //<spellcheck executable="/usr/bin/aspell" />
43: //<external_editor enabled="false" />
44: //<forward style="attachment" />
45: //<subject ask_if_empty="true" />
46: //<html send_as_multipart="true" enable="false" />
47: //</options>
48:
49: public class ComposerItem extends DefaultItem {
50:
51: public final static String EXTERNAL_EDITOR = "external_editor";
52: public final static String FORWARD = "forward";
53: public final static String SUBJECT = "subject";
54: public final static String HTML = "html";
55:
56: public final static String ENABLED_BOOL = "enabled";
57: public final static String STYLE = "style";
58: public final static String ASK_IF_EMPTY_BOOL = "ask_if_empty";
59: public final static String SEND_AS_MULTIPART = "send_as_multipart";
60:
61: /**
62: * @param root
63: */
64: public ComposerItem(XmlElement root) {
65: super(root);
66: }
67:
68: }
|