KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ant > internal > ui > editor > text > IAntEditorColorConstants


1 /*******************************************************************************
2  * Copyright (c) 2002, 2005 GEBIT Gesellschaft fuer EDV-Beratung
3  * und Informatik-Technologien mbH,
4  * Berlin, Duesseldorf, Frankfurt (Germany) and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * GEBIT Gesellschaft fuer EDV-Beratung und Informatik-Technologien mbH - initial API and implementation
12  * IBM Corporation - bug fixes
13  *******************************************************************************/

14
15 package org.eclipse.ant.internal.ui.editor.text;
16
17 import org.eclipse.swt.graphics.RGB;
18
19 /**
20  * The color constants used by the Ant Editor.
21  */

22 public interface IAntEditorColorConstants {
23     RGB XML_COMMENT = new RGB(128, 0, 0);
24     RGB PROC_INSTR = new RGB(128, 128, 128);
25     RGB STRING= new RGB( 0, 128, 0);
26     RGB DEFAULT= new RGB( 0, 0, 0);
27     RGB TAG= new RGB( 0, 0, 128);
28     RGB XML_DTD = new RGB(128, 0, 0);
29     
30     /**
31      * The symbolic names for colors used for the various text tokens in the Ant editor
32      */

33     public static final String JavaDoc XML_COMMENT_COLOR = "org.eclipse.ant.ui.commentsColor"; //$NON-NLS-1$
34
public static final String JavaDoc PROCESSING_INSTRUCTIONS_COLOR = "org.eclipse.ant.ui.processingInstructionsColor"; //$NON-NLS-1$
35
public static final String JavaDoc STRING_COLOR = "org.eclipse.ant.ui.constantStringsColor"; //$NON-NLS-1$
36
public static final String JavaDoc TEXT_COLOR = "org.eclipse.ant.ui.textColor"; //$NON-NLS-1$
37
public static final String JavaDoc TAG_COLOR = "org.eclipse.ant.ui.tagsColor"; //$NON-NLS-1$
38
public static final String JavaDoc XML_DTD_COLOR = "org.eclipse.ant.ui.dtdColor"; //$NON-NLS-1$
39
}
40
Popular Tags