KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > text > comment > ICommentAttributes


1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.jdt.internal.ui.text.comment;
13
14 /**
15  * General comment range attributes.
16  *
17  * @since 3.0
18  */

19 public interface ICommentAttributes {
20
21     /** Range has blank line attribute */
22     public static final int COMMENT_BLANKLINE= 1 << 1;
23
24     /** Range has line break attribute */
25     public static final int COMMENT_BREAK= 1 << 2;
26
27     /** Range has close tag attribute */
28     public static final int COMMENT_CLOSE= 1 << 3;
29
30     /** Range has source code attribute */
31     public static final int COMMENT_CODE= 1 << 4;
32
33     /** Range has html tag attribute */
34     public static final int COMMENT_HTML= 1 << 5;
35
36     /** Range has the immutable region attribute */
37     public static final int COMMENT_IMMUTABLE= 1 << 6;
38
39     /** Range has new line attribute */
40     public static final int COMMENT_NEWLINE= 1 << 7;
41
42     /** Range has open tag attribute */
43     public static final int COMMENT_OPEN= 1 << 8;
44
45     /** Range has paragraph attribute */
46     public static final int COMMENT_PARAGRAPH= 1 << 9;
47
48     /** Range has parameter tag attribute */
49     public static final int COMMENT_PARAMETER= 1 << 10;
50
51     /** Range has root tag attribute */
52     public static final int COMMENT_ROOT= 1 << 11;
53
54     /** Range has paragraph separator attribute */
55     public static final int COMMENT_SEPARATOR= 1 << 12;
56
57     /** Range is the first token on the line in the original source */
58     public static final int COMMENT_FIRST_TOKEN= 1 << 13;
59 }
60
Popular Tags