001: /*******************************************************************************
002: * Copyright (c) 2000, 2006 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.console;
011:
012: /**
013: * Constants relating to the console plug-in.
014: *
015: * @since 3.0
016: */
017: public interface IConsoleConstants {
018:
019: /**
020: * Console plug-in identifier (value <code>"org.eclipse.ui.console"</code>).
021: */
022: public static final String PLUGIN_ID = ConsolePlugin
023: .getUniqueIdentifier();
024:
025: /**
026: * Console view identifier (value <code>"org.eclipse.ui.console.ConsoleView"</code>).
027: */
028: public static final String ID_CONSOLE_VIEW = "org.eclipse.ui.console.ConsoleView"; //$NON-NLS-1$
029:
030: /**
031: * Type identifier for MessageConsole
032: * @since 3.1
033: */
034: public static final String MESSAGE_CONSOLE_TYPE = "org.eclipse.ui.MessageConsole"; //$NON-NLS-1$
035:
036: /**
037: * The name of the font to use for the Console (value <code>"org.eclipse.ui.console.ConsoleFont"</code>).
038: *
039: * @deprecated When a console is created, its font is set to the default text font as specified
040: * by <code>JFaceResources.TEXT_FONT</code>. Clients must provide their own infrastructure to
041: * manage console specific fonts.
042: */
043: public static final String CONSOLE_FONT = "org.eclipse.ui.console.ConsoleFont"; //$NON-NLS-1$
044:
045: /**
046: * Menu group identifier for the console view context menu and toolbar, for actions pertaining to
047: * launching (value <code>"launchGroup"</code>).
048: */
049: public static final String LAUNCH_GROUP = "launchGroup"; //$NON-NLS-1$
050:
051: /**
052: * Menu group identifier for the console view context menu and toolbar, for actions pertaining to
053: * console output. (value<code>"outputGroup"</code>).
054: */
055: public static final String OUTPUT_GROUP = "outputGroup"; //$NON-NLS-1$
056:
057: /**
058: * Console view image identifier.
059: */
060: public static final String IMG_VIEW_CONSOLE = "IMG_VIEW_CONSOLE"; //$NON-NLS-1$
061:
062: /**
063: * Clear action image identifier.
064: */
065: public static final String IMG_LCL_CLEAR = "IMG_LCL_CLEAR"; //$NON-NLS-1$
066:
067: /**
068: * Status code indicating an unexpected internal error.
069: */
070: public static final int INTERNAL_ERROR = 120;
071:
072: /**
073: * Console pattern match listeners extension point identifier
074: * (value <code>"consolePatternMatchListeners"</code>).
075: *
076: * @since 3.1
077: */
078: public static final String EXTENSION_POINT_CONSOLE_PATTERN_MATCH_LISTENERS = "consolePatternMatchListeners"; //$NON-NLS-1$
079:
080: /**
081: * Console page participants extension point identifier
082: * (value <code>"consolePageParticipants"</code>).
083: *
084: * @since 3.1
085: */
086: public static final String EXTENSION_POINT_CONSOLE_PAGE_PARTICIPANTS = "consolePageParticipants"; //$NON-NLS-1$
087:
088: /**
089: * Console factories extension point identifier
090: * (value <code>"consoleFactories"</code>).
091: *
092: * @since 3.1
093: */
094: public static final String EXTENSION_POINT_CONSOLE_FACTORIES = "consoleFactories"; //$NON-NLS-1$
095:
096: /**
097: * Property constant indicating a console's font has changed.
098: *
099: * @since 3.1
100: */
101: public static final String P_FONT = ConsolePlugin
102: .getUniqueIdentifier()
103: + ".P_FONT"; //$NON-NLS-1$
104:
105: /**
106: * Property constant indicating that a font style has changed
107: *
108: * @since 3.1
109: */
110: public static final String P_FONT_STYLE = ConsolePlugin
111: .getUniqueIdentifier()
112: + ".P_FONT_STYLE"; //$NON-NLS-1$
113:
114: /**
115: * Property constant indicating the color of a stream has changed.
116: *
117: * @since 3.1
118: */
119: public static final String P_STREAM_COLOR = ConsolePlugin
120: .getUniqueIdentifier()
121: + ".P_STREAM_COLOR"; //$NON-NLS-1$
122:
123: /**
124: * Property constant indicating tab size has changed
125: *
126: * @since 3.1
127: */
128: public static final String P_TAB_SIZE = ConsolePlugin
129: .getUniqueIdentifier()
130: + ".P_TAB_SIZE"; //$NON-NLS-1$
131:
132: /**
133: * Property constant indicating the width of a fixed width console has changed.
134: *
135: * @since 3.1
136: */
137: public static final String P_CONSOLE_WIDTH = ConsolePlugin
138: .getUniqueIdentifier()
139: + ".P_CONSOLE_WIDTH"; //$NON-NLS-1$
140:
141: /**
142: * Property constant indicating that all streams connected to this console have been closed
143: * and that all queued output has been processed.
144: *
145: * @since 3.1
146: */
147: public static final String P_CONSOLE_OUTPUT_COMPLETE = ConsolePlugin
148: .getUniqueIdentifier()
149: + ".P_CONSOLE_STREAMS_CLOSED"; //$NON-NLS-1$
150:
151: /**
152: * Property constant indicating the background color of a console has changed.
153: *
154: * @since 3.3
155: */
156: public static final String P_BACKGROUND_COLOR = ConsolePlugin
157: .getUniqueIdentifier()
158: + ".P_BACKGROUND_COLOR"; //$NON-NLS-1$
159:
160: /**
161: * The default tab size for text consoles.
162: *
163: * @since 3.1
164: */
165: public static final int DEFAULT_TAB_SIZE = 8;
166:
167: }
|