001: /*******************************************************************************
002: * Copyright (c) 2007 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package org.eclipse.ui.forms;
011:
012: /**
013: * A place to hold all the color constants used in the forms package.
014: *
015: * @since 3.3
016: */
017:
018: public interface IFormColors {
019: /**
020: * A prefix for all the keys.
021: */
022: String PREFIX = "org.eclipse.ui.forms."; //$NON-NLS-1$
023: /**
024: * Key for the form title foreground color.
025: */
026: String TITLE = PREFIX + "TITLE"; //$NON-NLS-1$
027:
028: /**
029: * A prefix for the header color constants.
030: */
031: String H_PREFIX = PREFIX + "H_"; //$NON-NLS-1$
032: /*
033: * A prefix for the section title bar color constants.
034: */
035: String TB_PREFIX = PREFIX + "TB_"; //$NON-NLS-1$
036: /**
037: * Key for the form header background gradient ending color.
038: */
039: String H_GRADIENT_END = H_PREFIX + "GRADIENT_END"; //$NON-NLS-1$
040:
041: /**
042: * Key for the form header background gradient starting color.
043: *
044: */
045: String H_GRADIENT_START = H_PREFIX + "GRADIENT_START"; //$NON-NLS-1$
046: /**
047: * Key for the form header bottom keyline 1 color.
048: *
049: */
050: String H_BOTTOM_KEYLINE1 = H_PREFIX + "BOTTOM_KEYLINE1"; //$NON-NLS-1$
051: /**
052: * Key for the form header bottom keyline 2 color.
053: *
054: */
055: String H_BOTTOM_KEYLINE2 = H_PREFIX + "BOTTOM_KEYLINE2"; //$NON-NLS-1$
056: /**
057: * Key for the form header light hover color.
058: *
059: */
060: String H_HOVER_LIGHT = H_PREFIX + "H_HOVER_LIGHT"; //$NON-NLS-1$
061: /**
062: * Key for the form header full hover color.
063: *
064: */
065: String H_HOVER_FULL = H_PREFIX + "H_HOVER_FULL"; //$NON-NLS-1$
066:
067: /**
068: * Key for the tree/table border color.
069: */
070: String BORDER = PREFIX + "BORDER"; //$NON-NLS-1$
071:
072: /**
073: * Key for the section separator color.
074: */
075: String SEPARATOR = PREFIX + "SEPARATOR"; //$NON-NLS-1$
076:
077: /**
078: * Key for the section title bar background.
079: */
080: String TB_BG = TB_PREFIX + "BG"; //$NON-NLS-1$
081:
082: /**
083: * Key for the section title bar foreground.
084: */
085: String TB_FG = TB_PREFIX + "FG"; //$NON-NLS-1$
086:
087: /**
088: * Key for the section title bar gradient.
089: * @deprecated Since 3.3, this color is not used any more. The
090: * tool bar gradient is created starting from {@link #TB_BG} to
091: * the section background color.
092: */
093: String TB_GBG = TB_BG;
094:
095: /**
096: * Key for the section title bar border.
097: */
098: String TB_BORDER = TB_PREFIX + "BORDER"; //$NON-NLS-1$
099:
100: /**
101: * Key for the section toggle color. Since 3.1, this color is used for all
102: * section styles.
103: */
104: String TB_TOGGLE = TB_PREFIX + "TOGGLE"; //$NON-NLS-1$
105:
106: /**
107: * Key for the section toggle hover color.
108: *
109: */
110: String TB_TOGGLE_HOVER = TB_PREFIX + "TOGGLE_HOVER"; //$NON-NLS-1$
111: }
|