01: /*
02: * Sun Public License Notice
03: *
04: * The contents of this file are subject to the Sun Public License
05: * Version 1.0 (the "License"). You may not use this file except in
06: * compliance with the License. A copy of the License is available at
07: * http://www.sun.com/
08: *
09: * The Original Code is NetBeans. The Initial Developer of the Original
10: * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
11: * Microsystems, Inc. All Rights Reserved.
12: */
13:
14: package org.netbeans.editor.ext.java;
15:
16: import org.netbeans.editor.ext.ExtSettingsNames;
17:
18: /**
19: * Names of the java editor settings.
20: *
21: * @author Miloslav Metelka
22: * @version 1.00
23: */
24:
25: public class JavaSettingsNames extends ExtSettingsNames {
26:
27: /**
28: * Whether insert extra space before the parenthesis or not. Values:
29: * java.lang.Boolean instances Effect: function(a) becomes (when set to
30: * true) function (a)
31: */
32: public static final String JAVA_FORMAT_SPACE_BEFORE_PARENTHESIS = "java-format-space-before-parenthesis"; // NOI18N
33:
34: /**
35: * Whether insert space after the comma inside the parameter list. Values:
36: * java.lang.Boolean instances Effect: function(a,b) becomes (when set to
37: * true) function(a, b)
38: *
39: */
40: public static final String JAVA_FORMAT_SPACE_AFTER_COMMA = "java-format-space-after-comma"; // NOI18N
41:
42: /**
43: * Whether insert extra new-line before the compound bracket or not. Values:
44: * java.lang.Boolean instances Effect: if (test) { function(); } becomes
45: * (when set to true) if (test) { function(); }
46: */
47: public static final String JAVA_FORMAT_NEWLINE_BEFORE_BRACE = "java-format-newline-before-brace"; // NOI18N
48:
49: /**
50: * Add one more space to the begining of each line in the multi-line comment
51: * if it's not already there. Values: java.lang.Boolean Effect: For example
52: * in java:
53: * /* this is * multiline comment *\/
54: *
55: * becomes (when set to true)
56: * /* this is * multiline comment *\/
57: */
58: public static final String JAVA_FORMAT_LEADING_SPACE_IN_COMMENT = "java-format-leading-space-in-comment"; // NOI18N
59:
60: /**
61: * Whether the '*' should be added at the new line in comment.
62: */
63: public static final String JAVA_FORMAT_LEADING_STAR_IN_COMMENT = "java-format-leading-star-in-comment"; // NOI18N
64:
65: }
|